mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-05 17:42:24 +00:00
Fix errant formatting
Mistakenly had a variable in camelCase
This commit is contained in:
parent
60e194e32b
commit
a48153baa1
@ -3426,7 +3426,7 @@ bool Mob::SpellOnTarget(uint16 spell_id, Mob *spelltar, bool reflect, bool use_r
|
|||||||
bool isproc, int level_override)
|
bool isproc, int level_override)
|
||||||
{
|
{
|
||||||
|
|
||||||
bool isDamageOrLifetapSpell = IsDamageSpell(spell_id) || IsLifetapSpell(spell_id);
|
bool is_damage_or_lifetap_spell = IsDamageSpell(spell_id) || IsLifetapSpell(spell_id);
|
||||||
|
|
||||||
// well we can't cast a spell on target without a target
|
// well we can't cast a spell on target without a target
|
||||||
if(!spelltar)
|
if(!spelltar)
|
||||||
@ -3979,7 +3979,7 @@ bool Mob::SpellOnTarget(uint16 spell_id, Mob *spelltar, bool reflect, bool use_r
|
|||||||
cd->hit_heading = action->hit_heading;
|
cd->hit_heading = action->hit_heading;
|
||||||
cd->hit_pitch = action->hit_pitch;
|
cd->hit_pitch = action->hit_pitch;
|
||||||
cd->damage = 0;
|
cd->damage = 0;
|
||||||
if(!IsEffectInSpell(spell_id, SE_BindAffinity) && !isDamageOrLifetapSpell){
|
if(!IsEffectInSpell(spell_id, SE_BindAffinity) && !is_damage_or_lifetap_spell){
|
||||||
entity_list.QueueCloseClients(
|
entity_list.QueueCloseClients(
|
||||||
spelltar, /* Sender */
|
spelltar, /* Sender */
|
||||||
message_packet, /* Packet */
|
message_packet, /* Packet */
|
||||||
@ -3989,7 +3989,7 @@ bool Mob::SpellOnTarget(uint16 spell_id, Mob *spelltar, bool reflect, bool use_r
|
|||||||
true, /* Packet ACK */
|
true, /* Packet ACK */
|
||||||
(spelltar->IsClient() ? FilterPCSpells : FilterNPCSpells) /* Message Filter Type: (8 or 9) */
|
(spelltar->IsClient() ? FilterPCSpells : FilterNPCSpells) /* Message Filter Type: (8 or 9) */
|
||||||
);
|
);
|
||||||
} else if (isDamageOrLifetapSpell &&
|
} else if (is_damage_or_lifetap_spell &&
|
||||||
(IsClient() ||
|
(IsClient() ||
|
||||||
(HasOwner() &&
|
(HasOwner() &&
|
||||||
GetOwner()->IsClient()
|
GetOwner()->IsClient()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user