mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 05:37:17 +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
@@ -6696,7 +6696,7 @@ bool Mob::ShieldAbility(uint32 target_id, int shielder_max_distance, int shield_
|
||||
entity_list.MessageCloseString(this, false, 100, 0, START_SHIELDING, GetCleanName(), shield_target->GetCleanName());
|
||||
|
||||
SetShieldTargetID(shield_target->GetID());
|
||||
SetShielderMitigation(shield_target_mitigation);
|
||||
SetShielderMitigation(shielder_mitigation);
|
||||
SetShielderMaxDistance(shielder_max_distance);
|
||||
|
||||
shield_target->SetShielderID(GetID());
|
||||
|
||||
Reference in new issue
Block a user