Jump to content

Recommended Posts

Posted
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

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.



  • Posts

    • I'm selling the Lucera2 Legacy server, it was from my old Rev + current server from the Lucera2 Classic Legacy.   BlackFriday 150 euro for 85 euro .. contato for privado    
    • Thank you for sharing this with us!   
    • Server L2 Reborn x1 C4 Signature   I am looking to buy a client modification, such as l2.ini or other possible files on the server The server uses SmartGuard protection, but as far as I understand, not all files are checked before launch   Сервер L2 Reborn x1 C4 Signature Ищу возможность приобрести модификацию клиента, например l2.ini или других возможных файлов на сервере. На сервере установлена защита SmartGuard, но, насколько я понимаю, не все файлы проверяются перед запуском. _______________________________________________________________ https://join.skype.com/invite/C72FPnumKn7e - Skype https://t.me/rebornclient - Telegram  
    • 🎉 The Big Moment Has Arrived! 🎉   Tomorrow is the day we've all been waiting for! L2KvN is opening its gates again, and we are waiting for you all to start this epic journey together! 🌟   🗓️ Date: November 17, 2024 ⏰ Time: 20:00 Greece (Athens), Russia (Moscow), Lithuania 18:00 United Kingdom 13:00 USA (Eastern Time), Argentina 10:00 AM US (Pacific Time) 14:00 Brazil 05:00 Russia (Vladivostok) ✨ What awaits you: ⚔️ Unique gameplay and intense PvP encounters 🎁 Exclusive events and rich rewards 👥 Live community and instant support 📈 Continuous upgrades for the ultimate experience 💬 Bring your friends, organize your teams, and get ready to conquer the world of L2KvN! 📢 Don't forget: We are here to help you! If you are a Clan Leader or Streamer, please contact us to become a part of this great community. 🛡️ The countdown is over – tomorrow we start! The game is just beginning… again! 💪   🌍 Dating in the world of L2KvN!
    • Very cool.   Unfortunately, I can't afford this fee.
  • Topics

×
×
  • Create New...