Ο Χάρος Posted May 21, 2017 Share 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 Ο Χάρος Quote Link to comment Share on other sites More sharing options...
0 Ο Χάρος Posted May 22, 2017 Author Share 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.. Quote Link to comment Share on other sites More sharing options...
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 Ο ΧάροςLink to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.