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
@@ -158,7 +158,7 @@ class spell_pri_pain_and_suffering_proc : public SpellScriptLoader
|
||||
void HandleEffectScriptEffect(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
// Refresh Shadow Word: Pain on target
|
||||
if (Unit *unitTarget = GetHitUnit())
|
||||
if (Unit* unitTarget = GetHitUnit())
|
||||
if (AuraEffect* aur = unitTarget->GetAuraEffect(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_PRIEST, 0x8000, 0, 0, GetCaster()->GetGUID()))
|
||||
aur->GetBase()->RefreshDuration();
|
||||
}
|
||||
@@ -203,11 +203,11 @@ class spell_pri_penance : public SpellScriptLoader
|
||||
|
||||
void HandleDummy(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
Unit *unitTarget = GetHitUnit();
|
||||
Unit* unitTarget = GetHitUnit();
|
||||
if (!unitTarget || !unitTarget->isAlive())
|
||||
return;
|
||||
|
||||
Unit *caster = GetCaster();
|
||||
Unit* caster = GetCaster();
|
||||
|
||||
uint8 rank = sSpellMgr->GetSpellRank(GetSpellInfo()->Id);
|
||||
|
||||
|
||||
Reference in new issue
Block a user