NPC Buffer - Visual effects
Posted: Wed Jul 23, 2014 1:20 pm
Server Revision: 6445
Datapack Revision: 9641
Hi, i am working on my NPC buffer. NPC currently works but i'd like to add some features.
Buffs are chosen one by one, and this is an example:
NPC applies the effects of Might on getPlayer. I'd like to see on getPlayer the visual and sound effect of Might when he takes the buff.
With useMagic method the result is that getPlayer starts casting the Might magic skill on himself, but I don't need this.
I have found this post: viewtopic.php?f=81&t=17987 but it didn't help..
Is it possible to have this feature with Jython? Any help or suggestions?
Thanks all
Datapack Revision: 9641
Hi, i am working on my NPC buffer. NPC currently works but i'd like to add some features.
Buffs are chosen one by one, and this is an example:
Code: Select all
#Shieldif event == "1":st.takeItems(ADENA_ID, 20000)SkillTable.getInstance().getInfo(1040,2).getEffects(st.getPlayer(),st.getPlayer())###st.getPlayer().useMagic(SkillTable.getInstance().getInfo(1040,2),False,False)return "2.htm"st.setState(COMPLETED)
With useMagic method the result is that getPlayer starts casting the Might magic skill on himself, but I don't need this.
I have found this post: viewtopic.php?f=81&t=17987 but it didn't help..
Is it possible to have this feature with Jython? Any help or suggestions?
Thanks all