I was looking for an example on how can I enable the improves without needing to edit the l2jserver core and here is how I did it only editing the skills xml.
I post this because I couldn find an example anywhere.
This example is for Improve Combat, I use 2 buffs but the second with no icon and both stacktypes are the same form the original buffs, might and shield, so if the character has already thos buffs they will be replaces with improved one.Code:<skill id="1499" levels="1" name="Improve Combat"> <set name="mpInitialConsume" val="7"/> <set name="mpConsume" val="20"/> <set name="power" val="0.0"/> <set name="target" val="TARGET_ONE"/> <set name="reuseDelay" val="6000"/> <set name="hitTime" val="2000"/> <set name="skillType" val="BUFF"/> <set name="isMagic" val="true"/> <set name="operateType" val="OP_ACTIVE"/> <set name="castRange" val="400"/> <set name="effectRange" val="900"/> <set name="aggroPoints" val="600"/> <for> <effect name="Buff" count="1" val="0" time="2400" stackOrder="40" stackType="pa_up"> <mul order="0x30" stat="pAtk" val="1.15"/> </effect> <effect count="1" name="Buff" noicon="1" time="2400" val="0" stackOrder="39" stackType="pd_up"> <mul order="0x30" stat="pDef" val="1.15"/> </effect> </for> </skill>
Cya.



Reply With Quote

