Ο Χάρος Posted May 21, 2017 Posted May 21, 2017 (edited) Hi, just wanted ask when u want upon a skill cast to do something such as an announcement or so i guess u make a new SkillEffect I made my own EffectAnnounce.java and onStart i added Announcements.getInstance().announcetoAll("blabla"); the question is, can this work? And if so how can i manage this onto the skill on the xml? <for> <effect name="Announce" noicon="1" val="0" /> </for> Like this? If yes it didnt work. (Didnt announce or so) Edited May 21, 2017 by Ο Χάρος
0 Ο Χάρος Posted May 22, 2017 Author Posted May 22, 2017 Noone? Thats my skill: <skill id="32329" levels="1" name="Custom Skill"> <set name="mpInitialConsume" val="1" /> <set name="mpConsume" val="120" /> <set name="target" val="TARGET_SPECIAL_MONSTER" /> <set name="reuseDelay" val="20000" /> <set name="hitTime" val="10000" /> <set name="skillType" val="BUFF" /> <set name="isMagic" val="true" /> <set name="operateType" val="OP_ACTIVE" /> <set name="canBeDispeled" val="true" /> <set name="castRange" val="200" /> <set name="effectRange" val="900" /> <set name="aggroPoints" val="0" /> <for> <effect name="Announce" abnormalTime="3600" val="0" abnormalLvl="1" abnormalType="preserve_abnormal" /> </for> </skill> It works only when i use Target_One but using my custom target doesnt use the effect.. and i dont use target_one cause i want target only a special npc or so..
Question
Ο Χάρος
Hi, just wanted ask when u want upon a skill cast to do something such as an announcement or so i guess u make a new SkillEffect
I made my own EffectAnnounce.java and onStart i added Announcements.getInstance().announcetoAll("blabla");
the question is, can this work? And if so how can i manage this onto the skill on the xml?
Like this? If yes it didnt work. (Didnt announce or so)
Edited by Ο Χάρος1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now