Added UnequipAbility function, made EquipAbility work with zero indexed hotbar database, added new checks to EquipAbilityCommand.lua

This commit is contained in:
yogurt 2017-08-29 09:00:09 -05:00
parent 91afda04ca
commit c3fd8f917e
3 changed files with 124 additions and 89 deletions

View file

@ -1259,6 +1259,8 @@ namespace FFXIVClassic_Map_Server
}
}
}
else
UnequipAbility(player, hotbarSlot);
}
//Unequipping is done by sending an equip packet with 2700083200 as the ability and the hotbar slot of the action being unequipped