|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Public Member Functions | |
| void | BeforeDispel (DispelInfo *dispelData) |
| We were purged. Force removed stacks to zero and trigger the appropriated remove handler. | |
| void | OnRemove (AuraEffect const *aurEff, AuraEffectHandleModes) |
| void | Register () OVERRIDE |
| spell_halion_marks_AuraScript (uint32 summonSpell, uint32 removeSpell) | |
| bool | Validate (SpellInfo const *) OVERRIDE |
| Public Member Functions inherited from AuraScript | |
| void | _FinishScriptCall () |
| bool | _IsDefaultActionPrevented () |
| bool | _Load (Aura *aura) |
| void | _PrepareScriptCall (AuraScriptHookType hookType, AuraApplication const *aurApp=NULL) |
| bool | _Validate (SpellInfo const *entry) |
| AuraScript () | |
| uint8 | CalcMaxCharges () const |
| int32 | CalcMaxDuration () const |
| bool | DropCharge (AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| time_t | GetApplyTime () const |
| Aura * | GetAura () const |
| Unit * | GetCaster () const |
| uint64 | GetCasterGUID () const |
| uint8 | GetCharges () const |
| int32 | GetDuration () const |
| DynamicObject * | GetDynobjOwner () const |
| AuraEffect * | GetEffect (uint8 effIndex) const |
| uint32 | GetId () const |
| int32 | GetMaxDuration () const |
| WorldObject * | GetOwner () const |
| SpellInfo const * | GetSpellInfo () const |
| uint8 | GetStackAmount () const |
| Unit * | GetTarget () const |
| AuraApplication const * | GetTargetApplication () const |
| AuraObjectType | GetType () const |
| Unit * | GetUnitOwner () const |
| bool | HasEffect (uint8 effIndex) const |
| bool | HasEffectType (AuraType type) const |
| bool | IsDeathPersistent () const |
| bool | IsExpired () const |
| bool | IsPassive () const |
| bool | IsPermanent () const |
| bool | ModCharges (int8 num, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| bool | ModStackAmount (int32 num, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT) |
| void | PreventDefaultAction () |
| void | RefreshDuration () |
| void | Remove (uint32 removeMode=0) |
| void | SetCharges (uint8 charges) |
| void | SetDuration (int32 duration, bool withMods=false) |
| void | SetMaxDuration (int32 duration) |
| void | SetStackAmount (uint8 num) |
| Public Member Functions inherited from _SpellScript | |
| std::string const * | _GetScriptName () const |
| virtual void | _Init (std::string const *scriptname, uint32 spellId) |
| virtual void | _Register () |
| _SpellScript () | |
| virtual void | _Unload () |
| virtual bool | Load () |
| virtual void | Unload () |
| virtual | ~_SpellScript () |
Private Member Functions | |
| PrepareAuraScript (spell_halion_marks_AuraScript) | |
Additional Inherited Members | |
| Protected Attributes inherited from _SpellScript | |
| uint8 | m_currentScriptState |
| std::string const * | m_scriptName |
| uint32 | m_scriptSpellId |
Definition at line 1414 of file boss_halion.cpp.
|
inline |
Definition at line 1419 of file boss_halion.cpp.
References _removeSpellId, _summonSpellId, and AuraScript::AuraScript().
Referenced by PrepareAuraScript().
|
inline |
We were purged. Force removed stacks to zero and trigger the appropriated remove handler.
Definition at line 1430 of file boss_halion.cpp.
References _removeSpellId, AURA_REMOVE_BY_EXPIRE, AuraScript::GetUnitOwner(), and DispelInfo::SetRemovedCharges().
Referenced by Register().
|
inline |
Definition at line 1440 of file boss_halion.cpp.
References _summonSpellId, AURA_REMOVE_BY_EXPIRE, Unit::CastCustomSpell(), AuraEffect::GetBase(), AuraScript::GetCasterGUID(), Aura::GetStackAmount(), AuraScript::GetTarget(), AuraScript::GetTargetApplication(), SPELLVALUE_BASE_POINT1, and TRIGGERED_FULL_MASK.
Referenced by Register().
|
private |
References spell_halion_marks_AuraScript().
|
inlinevirtual |
Implements _SpellScript.
Definition at line 1449 of file boss_halion.cpp.
References AuraScript::AfterEffectRemove, AURA_EFFECT_HANDLE_REAL, AuraDispelFn, AuraEffectRemoveFn, BeforeDispel(), EFFECT_0, AuraScript::OnDispel, OnRemove(), OVERRIDE, and SPELL_AURA_DUMMY.
|
inlinevirtual |
Reimplemented from _SpellScript.
Definition at line 1422 of file boss_halion.cpp.
References _summonSpellId, OVERRIDE, and sSpellMgr.
| uint32 spell_halion_marks::spell_halion_marks_AuraScript::_removeSpellId |
Definition at line 1456 of file boss_halion.cpp.
Referenced by BeforeDispel(), and spell_halion_marks_AuraScript().
| uint32 spell_halion_marks::spell_halion_marks_AuraScript::_summonSpellId |
Definition at line 1455 of file boss_halion.cpp.
Referenced by OnRemove(), spell_halion_marks_AuraScript(), and Validate().