Jump to content

[Help] Change Skill Code Xml L2Java


SigmaQ

Recommended Posts

Hi guys i'm needing some help with conding. im trying to make this skill script to transfer pain differently if player have light o heavy armor and retail like if using a robe.

in the next script transfers 50% at skill lvl 5 and then acoridng to enchantation it grows to 70%.

 

i want to make that when using a robe skill works retail and using light or heavy only transfer 20% and with enchantation grows to 40%

<skill id="1262" levels="5" name="Transfer Pain" enchantGroup1="1">
		<table name="#magicLvl"> 40 48 56 58 70 </table>
		<table name="#mpInitialConsume"> 7 9 11 12 13 </table>
		<table name="#power"> 10 20 30 40 50 </table>
		<table name="#ench1power"> 51 52 52 53 54 54 55 56 56 57 57 58 59 59 60 61 61 62 63 63 64 64 65 66 66 67 68 68 69 70 </table>
		<table name="#enchMagicLvl"> 76 76 76 77 77 77 78 78 78 79 79 79 80 80 80 81 81 81 82 82 82 83 83 83 84 84 84 85 85 85 </table>
		<set name="abnormalVisualEffect" val="NONE" />
		<set name="icon" val="icon.skill1262" />
		<set name="magicLvl" val="#magicLvl" />
		<set name="mpInitialConsume" val="#mpInitialConsume" />
		<set name="operateType" val="T" />
		<set name="rideState" val="NONE" />
		<set name="targetType" val="SELF" />
		<enchant1 name="magicLvl" val="#enchMagicLvl" />
		<for>
			<effect name="MpConsumePerLevel" ticks="5">
				<param power="0.2" />
				<add stat="transDam" val="#power" />
			</effect>
		</for>
		<enchant1for>
			<effect name="MpConsumePerLevel" ticks="5">
				<param power="0.2" />
				<add stat="transDam" val="#ench1power" />
			</effect>
		</enchant1for>
	</skill>

hope you guys can give me a hand here!! thx for your time

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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