ScummVM API documentation
Saga2::SpellStuff Class Reference

Public Member Functions

void setProto (SkillProto *p)
 
SkillProtogetProto ()
 
void setupFromResource (ResourceSpellItem *rsi)
 
void addEffect (ProtoEffect *pe)
 
void addEffect (ResourceSpellEffect *rse)
 
void killEffects ()
 
bool canTarget (SpellTargetingTypes t)
 
bool shouldTarget (SpellApplicationTypes t)
 
bool untargetable ()
 
bool untargeted ()
 
void implement (GameObject *enactor, SpellTarget *target)
 
void implement (GameObject *enactor, GameObject *target)
 
void implement (GameObject *enactor, ActiveItem *target)
 
void implement (GameObject *enactor, Location target)
 
SpellID getDisplayID ()
 
SpellManaID getManaType ()
 
void setManaType (SpellManaID smid)
 
int8 getManaAmt ()
 
int32 getRange ()
 
void buildTargetList (GameObject *, SpellTarget &)
 
void addTarget (SpellTarget *trg)
 
void removeTargetList ()
 
void apply (ProtoEffect *pe, GameObject *target)
 
void apply (ProtoEffect *pe, ActiveItem *target)
 
void playSound (GameObject *go)
 
void show (GameObject *, SpellTarget &)
 
bool safe ()
 
bool isOffensive ()
 

The documentation for this class was generated from the following file: