TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
spell_gen_count_pct_from_max_hp Class Reference

Classes

class  spell_gen_count_pct_from_max_hp_SpellScript
 

Public Member Functions

 spell_gen_count_pct_from_max_hp (char const *name, int32 damagePct=0)
 
SpellScriptGetSpellScript () const override
 
- Public Member Functions inherited from SpellScriptLoader
virtual AuraScriptGetAuraScript () const
 
- Public Member Functions inherited from ScriptObject
const std::string & GetName () const
 

Private Attributes

int32 _damagePct
 

Additional Inherited Members

- Protected Member Functions inherited from SpellScriptLoader
 SpellScriptLoader (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name)
 
virtual ~ScriptObject ()
 

Constructor & Destructor Documentation

spell_gen_count_pct_from_max_hp::spell_gen_count_pct_from_max_hp ( char const name,
int32  damagePct = 0 
)
inline
1019 : SpellScriptLoader(name), _damagePct(damagePct) { }
int32 _damagePct
Definition: spell_generic.cpp:1051
SpellScriptLoader(const char *name)
Definition: ScriptMgr.cpp:1523

Member Function Documentation

SpellScript* spell_gen_count_pct_from_max_hp::GetSpellScript ( ) const
inlineoverridevirtual

Reimplemented from SpellScriptLoader.

1046  {
1047  return new spell_gen_count_pct_from_max_hp_SpellScript(_damagePct);
1048  }
int32 _damagePct
Definition: spell_generic.cpp:1051

Member Data Documentation

int32 spell_gen_count_pct_from_max_hp::_damagePct
private

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