My server has an npc that does that, I could take a look for you, gimme a few.
|
how would i make it so a npc could restore a players special attack? if their is a tutorial that i overlooked please link me
My server has an npc that does that, I could take a look for you, gimme a few.
Ok so you just get the npc's ID, then in actionhandler.java under this:Find your npc's case or Add this below a break; :Code:public void firstClickNpc(int npcType) { c.clickNpcType = 0; c.npcClickIndex = 0; if (c.teleTimer > 0) return; switch(npcType) {Code:Case NpcID: c.specAmount = 10.0; break;
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |