Jump to content

Question

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

1 answer to this question

Recommended Posts

  • 0
Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock