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...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..