mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 03:31:08 +00:00
Removing old code, need to reimplement warcry and rampage still at least
This commit is contained in:
@@ -3519,14 +3519,6 @@ void Mob::CommonDamage(Mob* attacker, int32 &damage, const uint16 spell_id, cons
|
||||
if(damage > 0) {
|
||||
//if there is some damage being done and theres an attacker involved
|
||||
if(attacker) {
|
||||
if(spell_id == SPELL_HARM_TOUCH2 && attacker->IsClient() && attacker->CastToClient()->CheckAAEffect(aaEffectLeechTouch)){
|
||||
int healed = damage;
|
||||
healed = attacker->GetActSpellHealing(spell_id, healed);
|
||||
attacker->HealDamage(healed);
|
||||
entity_list.MessageClose(this, true, 300, MT_Emote, "%s beams a smile at %s", attacker->GetCleanName(), this->GetCleanName() );
|
||||
attacker->CastToClient()->DisableAAEffect(aaEffectLeechTouch);
|
||||
}
|
||||
|
||||
// if spell is lifetap add hp to the caster
|
||||
if (spell_id != SPELL_UNKNOWN && IsLifetapSpell( spell_id )) {
|
||||
int healed = damage;
|
||||
|
||||
Reference in New Issue
Block a user