mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-08 05:23:39 +00:00
Change GetDamageTable to use e.self [skip ci]
This commit is contained in:
1 parent
725d080cac
commit
690621268b
1 file changed
+2
-3
@@ -75,9 +75,8 @@ function MeleeMitigation(e)
|
||||
e.hit.base_damage
|
||||
)
|
||||
);
|
||||
|
||||
-- Shouldn't this be using the client e.self instead of e.other ?
|
||||
e.hit.damage_done = 2 * e.hit.base_damage * GetDamageTable(e.other, e.hit.skill) / 100;
|
||||
|
||||
e.hit.damage_done = 2 * e.hit.base_damage * GetDamageTable(e.self, e.hit.skill) / 100;
|
||||
e.hit = DoMeleeMitigation(e.self, e.other, e.hit, e.opts);
|
||||
|
||||
return e;
|
||||
|
||||
Reference in new issue
Block a user