GameBlonD Posted August 15, 2016 Posted August 15, 2016 Hello , i am trying to make a code in order if a player has one Item in inventory to get one active/passive skill without equip the item.What i should put in enterworld?if (activeChar.getInventory().getItemByItemId(example) ??????
0 GameBlonD Posted August 16, 2016 Author Posted August 16, 2016 (edited) The problem is when i use this: String name = activeChar.getName(); activeChar.sendPacket(new CreatureSay(0, Say2.PARTY, name, "System: Skill Enabled"));Players get messagePLAYERNAME: System: Skill EnabledI am trying to make it System: Skill enabled with creaturesay because i need it in the chat :P Edited August 16, 2016 by GameBlonD
Question
GameBlonD
Hello , i am trying to make a code in order if a player has one Item in inventory to get one active/passive skill without equip the item.
What i should put in enterworld?
if (activeChar.getInventory().getItemByItemId(example) ??????
18 answers to this question
Recommended Posts