2023-12-08 15:20:12 -06:00

22 lines
679 B
C#

using LavishScriptAPI;
using MRBot.IsxEq2.Helpers;
namespace MRBot.IsxEq2.AbilityEffect
{
public class AbilityEffect : LavishScriptObject
{
public AbilityEffect(LavishScriptObject copy) : base(copy) { }
private int? _percentSuccess;
public int PercentSuccess => _percentSuccess ?? (_percentSuccess = this.GetIntFromLSO("PercentSuccess")).Value;
private int? _indentation;
public int Indentation => _indentation ?? (_indentation = this.GetIntFromLSO("Indentation")).Value;
private string _description;
public string Description => _description ?? (_description = this.GetStringFromLSO("Description"));
}
}