» Find Revision
L2J Revision Number:4630
L2JDP Revision Number:8018
Hello,
I am trying to create a small event,
This is what i have done so far.
I double click a squash seed (small one) [item id: 6389] and it spawns me a young squash seed npc_monster.
now i click (target) the monster and want to use the nectar [item id: 6391] from my inventory, the skill is working
because the nectar disapears from my inventory and it looks like the monster is using a mana potion.
problem is nothing more is hapening, i want him to grow into a Large Squash seed [item id: 6390] as soon as i use 1 nectar on him.
I also noticed something else wrong it seems the nectar can be used on evry other NPC_monster, so i guess the problem is from here somewehere.
Please could someone help me with this problem?
I have done it before on older dp and server but it was a long time ago and many things have changed (stats xml's and other)
Code: Select all
------ skills 2000- 2099<skill id="2003" levels="1" name="Squash Seed"> <!-- Summer Squash Event Skill (http://www.lineage2.com/archive/2006/11/fall_harvest.html) --> <set name="itemConsumeCount" val="1" /> <set name="itemConsumeId" val="6389"/> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="SPAWN" /> <set name="operateType" val="OP_ACTIVE" /> <set name="hitTime" val="1500" /> <set name="npcId" val="12774" /> </skill> <skill id="2004" levels="1" name="Large Squash Seed"> <!-- Summer Squash Event Skill (http://www.lineage2.com/archive/2006/11/fall_harvest.html) --> <set name="itemConsumeCount" val="1" /> <set name="itemConsumeId" val="6390"/> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="SPAWN" /> <set name="operateType" val="OP_ACTIVE" /> <set name="hitTime" val="1500" /> <set name="npcId" val="12777" /> </skill> <skill id="2005" levels="1" name="Nectar"> <!-- Summer Squash Event Skill (http://www.lineage2.com/archive/2006/11/fall_harvest.html) --> <set name="itemConsumeCount" val="1"/> <set name="itemConsumeId" val="6391"/> <set name="target" val="TARGET_ONE" /> <set name="skillType" val="AGGREDUCE" /> <set name="operateType" val="OP_ACTIVE" /> <set name="hitTime" val="1500"/> </skill>
Thank you !