Core: Fix some code style
This commit is contained in:
1 parent
ce42faafd9
commit
6f38fb1011
3 files changed
+4
-4
No files matched your search
@@ -6728,7 +6728,7 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
||||
if (!victim)
|
||||
return false;
|
||||
|
||||
// 2% of base mana
|
||||
// 2% of maximum health
|
||||
basepoints0 = int32(victim->CountPctFromMaxHealth(2));
|
||||
victim->CastCustomSpell(victim, 20267, &basepoints0, 0, 0, true, 0, triggeredByAura);
|
||||
return true;
|
||||
@@ -17029,7 +17029,7 @@ bool Unit::HandleSpellClick(Unit* clicker, int8 seatId)
|
||||
result = true;
|
||||
}
|
||||
|
||||
if(result)
|
||||
if (result)
|
||||
{
|
||||
Creature* creature = ToCreature();
|
||||
if (creature && creature->IsAIEnabled)
|
||||
|
||||
Reference in new issue
Block a user