Jump to content
  • 0

Help With Enterworld Add Skill


Question

Posted

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

Recommended Posts

  • 0
Posted (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 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
Guest
This topic is now closed to further replies.


×
×
  • Create New...