Scripts: Fix some code style issues in scripts

This commit is contained in:
Nay
2012-09-23 22:16:28 +01:00
parent 91fd408446
commit a7386bd1b3
4 changed files with 27 additions and 29 deletions
@@ -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;
}
}