mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 21:17:16 +00:00
Small fixes: Titanium overflow, LDoN/alt-currency sell-back, hover respawn, duels (#5127)
This commit is contained in:
1 parent
a572b03f56
commit
3c2c684c9d
8 files changed
+142
-18
No files matched your search
@@ -298,6 +298,12 @@ void Mob::DoSpecialAttackDamage(Mob *who, EQ::skills::SkillType skill, int32 bas
|
||||
|
||||
DoAttack(who, my_hit);
|
||||
|
||||
// a riposte can kill the attacker inside DoAttack (NPC::Attack guards the same way);
|
||||
// going on sent OP_Damage with source id 0
|
||||
if (HasDied() || !GetID()) {
|
||||
return;
|
||||
}
|
||||
|
||||
who->AddToHateList(this, hate, 0);
|
||||
who->Damage(this, my_hit.damage_done, SPELL_UNKNOWN, skill, false);
|
||||
|
||||
|
||||
Reference in new issue
Block a user