Very nice idea... But how to make this work?
I've come this far. I chose itemid 8570 which is an "Event Gift Box" to be my extractable item.
I want it to give different coloured papers as a reward.
I added this line to the extractable items:
Code: Select all
8570;2277;1;4029,1,1;4030,1,5;4031,1,9;4032,1,15;4033,1,15;4034,1,15;4035,1,20;4036,1,20
I changed the skill to look like this:
Code: Select all
<skill id="2277" levels="1" name="Event Gift Box"> <table name="#itemConsumeId"> 8570 </table> <set name="itemConsumeId" val="#itemConsumeId"/> <set name="itemConsumeCount" val="1"/> <set name="target" val="TARGET_SELF"/> <set name="skillType" val="EXTRACTABLE"/> <set name="operateType" val="OP_ACTIVE"/> <set name="castRange" val="-1"/> <cond msgId="129"> <and> <player invSize="10"/> <player weight="80"/> </and> </cond></skill>
But when I try to open the box, I get only a message saying "Your target can not be found".
What am I missing?
Thanks for help!!!
