1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-23 13:17:45 +00:00

Merged in skeletonhorn/ffxiv-classic-server-ai-fork/develop (pull request #12)

Fix SLOT_OFFHAND conflict
This commit is contained in:
yogurt 2019-06-06 02:08:39 +00:00
commit 90078eb2e8

View file

@ -2488,7 +2488,7 @@ namespace FFXIVClassic_Map_Server.Actors
hitCount = mainHandWeapon.frequency;
}
var hasShield = equip.GetItemAtSlot(Equipment.SLOT_OFFHAND) != null ? 1 : 0;
var hasShield = equip.GetItemAtSlot(SLOT_OFFHAND) != null ? 1 : 0;
SetMod((uint)Modifier.CanBlock, hasShield);
SetMod((uint)Modifier.AttackType, damageAttribute);