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