Jump to content

Question

Posted

EDIT :

 

nvm, its ok now, just forget to chance the database : skill : 10004-0 to 10004-1 and now works.

But now, another problem, i wan to give 3 effects : atk speed, cast and speed, but when i use it i have 3 icons on the skill's bar. Its possible to add only 1 icon on the bar with 3 effects ?

 

And my potion dont stack give the buff haste. How can i stack it ?

 

EDIT END

 

hi everyone.

I created somes potions : greater mana potion -> OK

modified critical escape for give a give speed for 10s -> OK

 

but...

when i try to make another potion...

 

here my code

 

For skill :

	<skill id="10004" levels="1" name="Ultime attack potion">
	<set name="itemConsumeId" val="90000" />
	<set name="itemConsumeCount" val="1" />
	<set name="buffDuration" val="300000" />
	<set name="isPotion" val="true" />
	<set name="magicLvl" val="1" />
	<set name="operateType" val="OP_ACTIVE" />
	<set name="skillType" val="MPHOT" />
	<set name="target" val="TARGET_SELF" />
	<cond msgId="113" addName="1">
		<player flyMounted="False" />
	</cond>
	<for>
		<effect name="Buff" time="300" val="0" stackOrder="1.44" stackType="attack_time_down">
			<mul order="0x30" stat="pAtkSpd" val="1.44" />
		</effect>
		<effect name="Buff" time="300" val="0" stackOrder="33" stackType="speed_up">
			<add order="0x40" stat="runSpd" val="33" />
		</effect>
		<effect name="Buff" time="300" val="0" stackOrder="1.6" stackType="casting_time_down">
			<mul order="0x30" stat="mAtkSpd" val="1.6" />
		</effect>
	</for>
</skill>

I want a potion with better atk speed, cast and run.

But when a select my potion, nothing append...

A need help for know why.

2 answers to this question

Recommended Posts

  • 0
Posted

done finaly. Here my code

 

<skill id="10004" levels="1" name="Ultime attack potion">
	<table name="#mAtkSpd"> 1.05 1.44 </table>
	<table name="#pAtkSpd"> 1.05 1.44 </table>
	<table name="#runSpd"> 5 11 </table>
	<set name="itemConsumeId" val="90005" />
	<set name="itemConsumeCount" val="1" />
	<set name="buffDuration" val="300000" />
	<set name="isPotion" val="true" />
	<set name="magicLvl" val="1" />
	<set name="operateType" val="OP_ACTIVE" />
	<set name="skillType" val="MPHOT" />
	<set name="target" val="TARGET_SELF" />
	<cond msgId="113" addName="1">
		<player flyMounted="False" />
	</cond>
	<for>
		<effect name="Buff" time="300" val="0">
			<mul order="0x30" stat="mAtkSpd" val="#mAtkSpd" />
			<mul order="0x30" stat="pAtkSpd" val="#pAtkSpd" />
			<add order="0x40" stat="runSpd" val="#runSpd" />
		</effect>
	</for>
</skill>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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