Rename and clean up MapleInventoryType
This commit is contained in:
@@ -26,8 +26,8 @@ import client.MapleClient;
|
||||
import client.Skill;
|
||||
import client.SkillFactory;
|
||||
import client.autoban.AutobanFactory;
|
||||
import client.inventory.InventoryType;
|
||||
import client.inventory.Item;
|
||||
import client.inventory.MapleInventoryType;
|
||||
import client.inventory.MapleWeaponType;
|
||||
import client.status.MonsterStatusEffect;
|
||||
import constants.skills.Outlaw;
|
||||
@@ -135,7 +135,7 @@ public final class SummonDamageHandler extends AbstractDealDamageHandler {
|
||||
maxDamage = player.calculateMaxBaseMagicDamage(matk) * (0.05 * summonEffect.getMatk());
|
||||
} else {
|
||||
int watk = Math.max(player.getTotalWatk(), 14);
|
||||
Item weapon_item = player.getInventory(MapleInventoryType.EQUIPPED).getItem((short) -11);
|
||||
Item weapon_item = player.getInventory(InventoryType.EQUIPPED).getItem((short) -11);
|
||||
|
||||
int maxBaseDmg; // thanks Conrad, Atoot for detecting some summons legitimately hitting over the calculated limit
|
||||
if (weapon_item != null) {
|
||||
|
||||
Reference in New Issue
Block a user