mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-18 11:21:29 +00:00
Change GetDamageTable to use e.self [skip ci]
This commit is contained in:
parent
725d080cac
commit
690621268b
@ -75,9 +75,8 @@ function MeleeMitigation(e)
|
|||||||
e.hit.base_damage
|
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.self, e.hit.skill) / 100;
|
||||||
e.hit.damage_done = 2 * e.hit.base_damage * GetDamageTable(e.other, e.hit.skill) / 100;
|
|
||||||
e.hit = DoMeleeMitigation(e.self, e.other, e.hit, e.opts);
|
e.hit = DoMeleeMitigation(e.self, e.other, e.hit, e.opts);
|
||||||
|
|
||||||
return e;
|
return e;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user