Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
spell_gen_count_pct_from_max_hp Class Reference
Inheritance diagram for spell_gen_count_pct_from_max_hp:
Collaboration diagram for spell_gen_count_pct_from_max_hp:

Classes

class  spell_gen_count_pct_from_max_hp_SpellScript

Public Member Functions

SpellScriptGetSpellScript () const OVERRIDE
 spell_gen_count_pct_from_max_hp (char const *name, int32 damagePct=0)
Public Member Functions inherited from SpellScriptLoader
virtual AuraScriptGetAuraScript () const
bool IsDatabaseBound () const FINAL
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 ()

Detailed Description

Definition at line 1095 of file spell_generic.cpp.

Constructor & Destructor Documentation

◆ spell_gen_count_pct_from_max_hp()

spell_gen_count_pct_from_max_hp::spell_gen_count_pct_from_max_hp ( char const * name,
int32 damagePct = 0 )
inline

Definition at line 1098 of file spell_generic.cpp.

References _damagePct, and SpellScriptLoader::SpellScriptLoader().

Member Function Documentation

◆ GetSpellScript()

SpellScript * spell_gen_count_pct_from_max_hp::GetSpellScript ( ) const
inlinevirtual

Reimplemented from SpellScriptLoader.

Definition at line 1124 of file spell_generic.cpp.

References _damagePct, and OVERRIDE.

Member Data Documentation

◆ _damagePct

int32 spell_gen_count_pct_from_max_hp::_damagePct
private

Definition at line 1130 of file spell_generic.cpp.

Referenced by GetSpellScript(), and spell_gen_count_pct_from_max_hp().


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