Page 1 of 1

L2Jserver Mana Potion no Skill found for ID 10001

Posted: Sat Sep 10, 2022 5:35 pm
by l2npc
Hello Guys,

I have never written a post on forums before so please excuse my mistakes...

I seem to have an issue with the Mana potion ID 728, and Mana Drug ID 726.
Whenever i tried using any of those 2 potions i receive a message in the game server CLI.
"SkillData: No skill info found for skill Id 10001 and skill level 1!"

So i have searched many forums for this issue, unfortunately non of them was able to help me.
I am not in invulnerable state, double checked that.

So i have checked the xml files
In this directory:Server\Game\data\stats\skills
I have 01000-010999.xml file

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../xsd/skills.xsd">
	<skill id="1001" levels="10" name="Soul Cry" enchantGroup1="1">
		<!-- High Five Confirmed -->
		<table name="#consumeMPower"> 0 0 -1 -2 -2 -2 -3 -3 -4 -4 </table>
		<table name="#magicLvl"> 1 14 25 35 40 48 56 60 66 72 </table>
		<table name="#mpConsume1"> 1 2 3 3 4 5 6 6 7 7 </table>
		<table name="#pAtk"> 4.5 14 33.5 66.5 90.5 141.5 208.5 247 310 375.5 </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>
		<table name="#ench1pAtk"> 418 421 424 427 430 433 436 439 442 445 448 451 454 457 460 463 466 469 472 475 478 481 484 487 490 493 496 499 502 505 </table>
		<set name="abnormalVisualEffect" val="NONE" />
		<set name="icon" val="icon.skill1001" />
		<set name="magicLvl" val="#magicLvl" />
		<set name="mpConsume1" val="#mpConsume1" />
		<set name="operateType" val="T" />
		<set name="rideState" val="NONE" />
		<set name="targetType" val="SELF" />
		<enchant1 name="magicLvl" val="#enchMagicLvl" />
		<effects>
			<effect name="ConsumeMp">
				<param power="#consumeMPower" />
				<param ticks="5" />
			</effect>
			<effect name="Buff">
				<add stat="pAtk" val="#pAtk" />
			</effect>
		</effects>
		<enchant1Effects>
			<effect name="ConsumeMp">
				<param power="-4" />
				<param ticks="5" />
			</effect>
			<effect name="Buff">
				<add stat="pAtk" val="#ench1pAtk" />
			</effect>
		</enchant1Effects>
	</skill>
	<skill id="1002" levels="3" name="Flame Chant" enchantGroup1="1" enchantGroup2="1">
		<!-- High Five Confirmed -->
		<table name="#abnormalLvl"> 1 2 3 </table>
		<table name="#effectPoint"> 285 418 532 </table>
		<table name="#mAtkSpd"> 1.15 1.23 1.3 </table>
		<table name="#magicLvl"> 30 44 56 </table>
		<table name="#mpConsume1"> 21 31 41 </table>
		<table name="#mpConsume2"> 84 123 163 </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>
		<table name="#ench1AbnormalTime"> 1240 1280 1320 1360 1400 1440 1480 1520 1560 1600 1640 1680 1720 1760 1800 1840 1880 1920 1960 2000 2040 2080 2120 2160 2200 2240 2280 2320 2360 2400 </table>
		<table name="#ench2MpConsume1"> 40 39 38 38 37 36 36 35 34 34 33 32 32 31 30 30 29 28 28 27 26 25 25 24 23 23 22 21 21 20 </table>
		<table name="#ench2MpConsume2"> 160 157 154 152 149 146 143 141 138 135 133 130 127 124 122 119 116 114 111 108 105 103 100 97 95 92 89 86 84 81 </table>
		<set name="abnormalLvl" val="#abnormalLvl" />
		<set name="abnormalTime" val="1200" />
		<set name="abnormalType" val="CASTING_TIME_DOWN" />
		<set name="affectObject" val="FRIEND" />
		<set name="affectRange" val="1000" />
		<set name="affectScope" val="PARTY" />
		<set name="effectPoint" val="#effectPoint" />
		<set name="hitCancelTime" val="500" />
		<set name="hitTime" val="2500" />
		<set name="icon" val="icon.skill1002" />
		<set name="isMagic" val="1" />
		<set name="magicLvl" val="#magicLvl" />
		<set name="mpConsume1" val="#mpConsume1" />
		<set name="mpConsume2" val="#mpConsume2" />
		<set name="operateType" val="A2" />
		<set name="reuseDelay" val="5000" />
		<set name="rideState" val="NONE;STRIDER;WYVERN;WOLF" />
		<set name="targetType" val="SELF" />
		<enchant1 name="abnormalTime" val="#ench1AbnormalTime" />
		<enchant1 name="magicLvl" val="#enchMagicLvl" />
		<enchant2 name="magicLvl" val="#enchMagicLvl" />
		<enchant2 name="mpConsume1" val="#ench2MpConsume1" />
		<enchant2 name="mpConsume2" val="#ench2MpConsume2" />
		<effects>
			<effect name="Buff">
				<mul stat="mAtkSpd" val="#mAtkSpd" />
			</effect>
		</effects>
	</skill>
And in this Directory: D:\lineage2server\Server\Game\data\stats\skills\custom

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/skills.xsd">
	<skill id="10000" levels="1" name="Mana Drug">
		<set name="abnormalTime" val="15" />
		<set name="affectScope" val="SINGLE" />
		<set name="displayId" val="2288" />
		<set name="isMagic" val="2" />
		<set name="itemConsumeCount" val="1" />
		<set name="itemConsumeId" val="726" />
		<set name="magicLvl" val="1" />
		<set name="operateType" val="A1" />
		<set name="reuseDelay" val="500" />
		<set name="targetType" val="SELF" />
		<effects>
			<effect name="TickMp">
				<param power="1.5" />
				<param ticks="3" />
			</effect>
		</effects>
	</skill>
	<skill id="10001" levels="1" name="Mana Potion">
		<set name="affectScope" val="SINGLE" />
		<set name="displayId" val="2288" />
		<set name="isMagic" val="2" />
		<set name="itemConsumeCount" val="1" />
		<set name="itemConsumeId" val="728" />
		<set name="magicLvl" val="1" />
		<set name="operateType" val="A1" />
		<set name="reuseDelay" val="250" />
		<set name="targetType" val="SELF" />
		<effects>
			<effect name="Mp">
				<param amount="100" />
			</effect>
		</effects>
	</skill>
	<skill id="10002" levels="1" name="Custom Trap skill">
		<!-- Use this skill if you want to handle trap activation in scripts(example Seed of Destruction Spawn Traps) -->
		<set name="affectLimit" val="6-12" />
		<set name="affectObject" val="NOT_FRIEND" />
		<set name="affectRange" val="200" />
		<set name="affectScope" val="POINT_BLANK" />
		<set name="targetType" val="SELF" />
		<set name="isMagic" val="1" />
		<set name="operateType" val="P" />
	</skill>
</list>
I believe that the game is looking into the wrong file for the Mana potion, and it can't find the custom 01000-01099.xml file.

Or maybe i am looking in the completely wrong part and hopefully someone can clarify this for me.

Thank you guys.