Scripts: Reorder file names in Commands/CMakeList file and cosmetic changes in all scripts

This commit is contained in:
Spp- committed 2011-06-30 14:24:56 +02:00
1 parent d12bb4a657
commit 6fd41ae50e
372 files changed
+1974 -1968

No files matched your search

+5 -5
View File
@@ -189,7 +189,7 @@ public:
void HandleDummy(SpellEffIndex /*effIndex*/)
{
Unit *caster = GetCaster();
Unit* caster = GetCaster();
int32 healthModSpellBasePoints0 = int32(caster->CountPctFromMaxHealth(30));
caster->CastCustomSpell(caster, HUNTER_PET_SPELL_LAST_STAND_TRIGGERED, &healthModSpellBasePoints0, NULL, NULL, true, NULL);
}
@@ -265,7 +265,7 @@ public:
PrepareSpellScript(spell_hun_readiness_SpellScript)
void HandleDummy(SpellEffIndex /*effIndex*/)
{
Unit *caster = GetCaster();
Unit* caster = GetCaster();
if (caster->GetTypeId() != TYPEID_PLAYER)
return;
@@ -423,8 +423,8 @@ public:
void HandleScript(SpellEffIndex /*effIndex*/)
{
Unit *caster = GetCaster();
Unit *owner = caster->GetOwner();
Unit* caster = GetCaster();
Unit* owner = caster->GetOwner();
if (!owner || caster->HasAura(HUNTER_PET_HEART_OF_THE_PHOENIX_DEBUFF))
return;
owner->CastCustomSpell(HUNTER_PET_HEART_OF_THE_PHOENIX_TRIGGERED, SPELLVALUE_BASE_POINT0, 100, caster, true);
@@ -470,7 +470,7 @@ public:
{
if (!GetHitUnit())
return;
Unit *caster = GetCaster();
Unit* caster = GetCaster();
caster->CastSpell(caster, HUNTER_PET_SPELL_CARRION_FEEDER_TRIGGERED, false);
}