Jump to content
  • 0

Skill Effect


Ο Χάρος

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?

 

 

<for>

   <effect name="Announce" noicon="1" val="0" />
</for>

 

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

  • 0

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...