Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp
- index f768541..3b93680 100644
- --- a/src/server/game/Spells/SpellEffects.cpp
- +++ b/src/server/game/Spells/SpellEffects.cpp
- @@ -1404,6 +1404,40 @@ void Spell::EffectDummy(SpellEffIndex effIndex)
- m_caster->Kill(unitTarget, false);
- m_caster->ToPlayer()->KilledMonsterCredit(unitTarget->GetEntry(), unitTarget->GetGUID());
- }
- + case 82626: //grounded plasma shield, engineering
- + {
- + if (m_caster && m_caster->GetTypeId() == TYPEID_PLAYER)
- + m_caster->CastSpell(m_caster, 82627, false);
- + return;
- + }
- + case 84348: //invisibility field, engineering
- + {
- + if (m_caster && m_caster->GetTypeId() == TYPEID_PLAYER)
- + m_caster->CastSpell(m_caster, 82820, false);
- + return;
- + }
- + case 82174: //synapse strings, engineering
- + {
- + if (m_caster && m_caster->GetTypeId() == TYPEID_PLAYER)
- + {
- + float _str = m_caster->GetStat(STAT_STRENGTH);
- + float _agi = m_caster->GetStat(STAT_AGILITY);
- + float _int = m_caster->GetStat(STAT_INTELLECT);
- + if (_str > _agi && _str > _int)
- + {
- + m_caster->CastSpell(m_caster, 96229, false);
- + }
- + else if (_agi > _str && _agi > _int)
- + {
- + m_caster->CastSpell(m_caster, 96228, false);
- + }
- + else if (_int > _str && _int > _agi)
- + {
- + m_caster->CastSpell(m_caster, 96230, false);
- + }
- + }
- + return;
- + }
- case 93072: // Get Our Boys Back
- {
- if(Creature* Injured = m_caster->FindNearestCreature(50047, 3.0f, true))
Advertisement
Add Comment
Please, Sign In to add comment