Jump to content
  • 0

Help With Enterworld Add Skill


GameBlonD

Question

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) ??????

Link to comment
Share on other sites

Recommended Posts

  • 0

The problem is when i use this:
 

 String name = activeChar.getName();

activeChar.sendPacket(new CreatureSay(0, Say2.PARTY, name, "System: Skill Enabled"));

Players get message

PLAYERNAME: System: Skill Enabled

I am trying to make it System: Skill enabled with creaturesay because i need it in the chat :P

 

Edited by GameBlonD
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...