Skip to content

Skill Effect

Featured Replies

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 by Ο Χάρος

  • Author

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..

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.