Scripts: Reorder file names in Commands/CMakeList file and cosmetic changes in all scripts
This commit is contained in:
1 parent
d12bb4a657
commit
6fd41ae50e
372 files changed
+1974
-1968
No files matched your search
@@ -138,7 +138,7 @@ public:
|
||||
|
||||
void HandleDummy(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
if (Unit *unitTarget = GetHitUnit())
|
||||
if (Unit* unitTarget = GetHitUnit())
|
||||
{
|
||||
uint32 spell_id = 0;
|
||||
switch(unitTarget->getClass())
|
||||
@@ -273,9 +273,9 @@ public:
|
||||
|
||||
void HandleDummy(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
if (Unit *unitTarget = GetHitUnit())
|
||||
if (Unit* unitTarget = GetHitUnit())
|
||||
{
|
||||
Unit *caster = GetCaster();
|
||||
Unit* caster = GetCaster();
|
||||
|
||||
uint8 rank = sSpellMgr->GetSpellRank(GetSpellInfo()->Id);
|
||||
|
||||
@@ -309,7 +309,7 @@ public:
|
||||
PrepareSpellScript(spell_pal_judgement_of_command_SpellScript)
|
||||
void HandleDummy(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
if (Unit *unitTarget = GetHitUnit())
|
||||
if (Unit* unitTarget = GetHitUnit())
|
||||
if (SpellEntry const* spell_proto = sSpellStore.LookupEntry(GetEffectValue()))
|
||||
GetCaster()->CastSpell(unitTarget, spell_proto, true, NULL);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user