Page 1 of 1

Super Haste Problem.

Posted: Tue Dec 20, 2011 8:02 pm
by MichalisKrdm
If you want to receive support we need this info to help you properly.
» 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>

Re: Super Haste Problem.

Posted: Tue Dec 20, 2011 8:31 pm
by MichalisKrdm
Now I got this message:
Image

So I lowed #amount value to half but skill still gives me too much hp on all levels except 1 so I lowed all level balues to 500 but It was normal on 10000 value. Can anyone find what's wrong ?

Re: Super Haste Problem.

Posted: Wed Dec 21, 2011 1:36 am
by tukune
characters.sql

Code: Select all

`maxHp` MEDIUMINT UNSIGNED DEFAULT NULL
:arrow: http://dev.mysql.com/doc/refman/5.5/en/ ... types.html

Re: Super Haste Problem.

Posted: Wed Dec 21, 2011 10:05 am
by jurchiks
Why don't you mul pDef instead of HP??