» Find Revision
L2J Revision Number: 5100
L2JDP Revision Number: 8582
Every time someone restarts:
-If he has Super Haste Buff, his last location is not saved and he spawns to the the last location he was before he restart without Super Haste Buff.
-If he has not Super Haste Buff, he restarts and spawns to the location before his restart.
I hope that someone can help me because I have been looking at Super Haste's Code for hours and I still can't find any problem. I think that problem is not skill's code but I posted the code too!
Skill code is here:
Code: Select all
<skill id="7029" levels="4" name="Super Haste"> <!-- GM Skill --> <table name="#pAtkSpd"> 5 10 15 25 </table> <table name="#runSpd"> 15 30 45 60 </table> <table name="#mAtkSpd"> 10 20 30 600 </table> <table name="#pAtk"> 1000 10000 100000 1000000 </table> <table name="#reuse"> 0 0 0 0 </table> <table name="#amount"> 500 1000 5000 10000 </table> <set name="aggroPoints" val="1" /> <set name="operateType" val="OP_ACTIVE" /> <set name="skillType" val="BUFF" /> <set name="target" val="TARGET_SELF" /> <for> <effect name="Buff" abnormalTime="1200" val="0" abnormalLvl="99" abnormalType="attack_time_down"> <mul order="0x30" stat="pAtkSpd" val="#pAtkSpd" /> <mul order="0x30" stat="runSpd" val="#runSpd" /> <mul order="0x30" stat="mAtkSpd" val="#mAtkSpd" /> <mul order="0x30" stat="pAtk" val="#pAtk" /> <mul order="0x30" stat="pReuse" val="#reuse" /> <mul order="0x30" stat="mReuse" val="#reuse" /> <mul order="0x30" stat="regHp" val="#amount" /> <mul order="0x30" stat="regMp" val="#amount" /> <mul order="0x30" stat="maxMp" val="#amount" /> <mul order="0x30" stat="maxHp" val="#amount" /> <mul order="0x30" stat="maxLoad" val="#amount" /> </effect> </for> </skill>