Property CasterLevel
CasterLevel
Gets the caster level of this object.
public int CasterLevel { get; }
Property Value
Remarks
A creature will return the caster level of their currently cast spell or ability, or the item's caster level if an item was used.
A placeable will return an automatic caster level: floor(10, (spell innate level * 2) - 1)
An Area of Effect object will return the caster level that was used to create the Area of Effect.
Otherwise, returns 0