Spell
A scourge magic spell and its magic school.
string getName()
Get the name of the spell.
string getDisplayName()
Get the name of the spell.
int getLevel()
Get the spell's level (min level of caster).
int getMp()
Get the MP used up when casting this spell.
int getExp()
Get the experience gained when casting this spell.
int getAction()
Get the damage (or other action value) this spell causes.
int getFailureRate()
Get the failure rate (percentage) when casting this spell.
int getDistance()
Get the range of this spell.
int getTargetType()
string getNotes()
Describe this spell.
int getSpeed()
Get the speed of this spell.
int getEffect()
Get the effect type displayed when the spell is cast.
bool isFriendly()
Is this spell considered to have good effects (towards party when caster is player, other monster when cast by monsters.)
bool hasStateModPrereq()
When considering to cast this spell, is there a prerequisite (monsters).
int getStateModPrereq()
What is the prereq to a monster casting a friendly spell? (e.g.: low hp)
bool isCreatureTargetAllowed()
Can the spell target another creature?
bool isItemTargetAllowed()
Can the spell target an item?
bool isLocationTargetAllowed()
Can the spell target a location?
bool isPartyTargetAllowed()
Can the spell target the party?
bool isDoorTargetAllowed()
Can the spell target a door?
string getSchoolName()
Get the spell's magic school's name.
string getSchoolDisplayName()
Get the spell's magic school's name.
string getSchoolShortName()
Get the spell's magic school's short name.
string getDeity()
Get the spell's magic school's patron deity's name.
int getSkill()
Get the skill checked when using this spell.
int getResistSkill()
Get the skill checked when resisting this spell.