|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | FilterTargets (std::list< WorldObject * > &targets) |
| void | HandleScript (SpellEffIndex) |
| PrepareSpellScript (spell_putricide_unbound_plague_SpellScript) | |
| void | Register () OVERRIDE |
| bool | Validate (SpellInfo const *) OVERRIDE |
Definition at line 1100 of file boss_professor_putricide.cpp.
|
inlineprivate |
Definition at line 1113 of file boss_professor_putricide.cpp.
References EFFECT_0, SpellScript::GetCaster(), Skyfire::Containers::RandomResizeList(), SPELL_UNBOUND_PLAGUE, SPELL_UNBOUND_PLAGUE_SEARCHER, and sSpellMgr.
Referenced by Register().
|
inlineprivate |
Definition at line 1129 of file boss_professor_putricide.cpp.
References Unit::CastSpell(), DATA_PROFESSOR_PUTRICIDE, SpellScript::GetCaster(), ObjectAccessor::GetCreature(), ZoneScript::GetData64(), SpellScript::GetHitUnit(), WorldObject::GetInstanceScript(), Unit::RemoveAurasDueToSpell(), SPELL_PLAGUE_SICKNESS, SPELL_UNBOUND_PLAGUE, SPELL_UNBOUND_PLAGUE_PROTECTION, SPELL_UNBOUND_PLAGUE_SEARCHER, and sSpellMgr.
Referenced by Register().
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 1161 of file boss_professor_putricide.cpp.
References EFFECT_0, FilterTargets(), HandleScript(), SpellScript::OnEffectHitTarget, SpellScript::OnObjectAreaTargetSelect, OVERRIDE, SPELL_EFFECT_SCRIPT_EFFECT, SpellEffectFn, SpellObjectAreaTargetSelectFn, and TARGET_UNIT_SRC_AREA_ALLY.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 1104 of file boss_professor_putricide.cpp.
References OVERRIDE, SPELL_UNBOUND_PLAGUE, SPELL_UNBOUND_PLAGUE_SEARCHER, and sSpellMgr.