Scripts: Fix some code style issues in scripts
This commit is contained in:
@@ -1696,9 +1696,7 @@ public:
|
||||
void Reset()
|
||||
{
|
||||
if (me->GetReactState() != REACT_PASSIVE)
|
||||
{
|
||||
me->SetReactState(REACT_PASSIVE);
|
||||
}
|
||||
|
||||
rebuff = 0;
|
||||
}
|
||||
@@ -1738,7 +1736,7 @@ public:
|
||||
|
||||
void GotStinged(uint64 casterGUID)
|
||||
{
|
||||
if(Player* caster = Player::GetPlayer(*me, casterGUID))
|
||||
if (Player* caster = Player::GetPlayer(*me, casterGUID))
|
||||
{
|
||||
uint32 step = caster->GetAuraCount(SPELL_NEURAL_NEEDLE) + 1;
|
||||
switch (step)
|
||||
@@ -1763,7 +1761,7 @@ public:
|
||||
break;
|
||||
case 7:
|
||||
DoScriptText(SAY_IMPRISIONED_BERYL_7, me);
|
||||
caster->KilledMonsterCredit(25478, 0);
|
||||
caster->KilledMonsterCredit(NPC_IMPRISONED_BERYL_SORCERER, 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user