mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 10:47:16 +00:00
[Combat] Fix shield calculation (#2234)
* Fix max mitigation calculation * Fix shield ability not receiving correct arguments from perl script. * Correct shielder having wrong mitigation set.
This commit is contained in:
1 parent
de830e5535
commit
a00f086bb8
3 files changed
+5
-5
No files matched your search
+1
-1
@@ -6569,7 +6569,7 @@ XS(XS_Mob_ShieldAbility) {
|
||||
if (items < 8) {
|
||||
can_shield_npc = true;
|
||||
}
|
||||
THIS->ShieldAbility(target_id, shielder_max_distance, shield_duration, shield_duration, shield_duration, use_aa, can_shield_npc);
|
||||
THIS->ShieldAbility(target_id, shielder_max_distance, shield_duration, shield_target_mitigation, shielder_mitigation, use_aa, can_shield_npc);
|
||||
|
||||
}
|
||||
XSRETURN_EMPTY;
|
||||
|
||||
Reference in new issue
Block a user