1. go to GameServer\data\stats\skills\
2. get an editor and open a skill file ... i choosed 9900-9999.xml. no reason thats the one i picked/up
if u dont have this one , no problem.... just edit another one and use save as....
this is how my file was looking before..
<?xml version='1.0' encoding='utf-8'?>
<list>
<skill id="9996" levels="1" name="Ice Heavy Armor Set">
<set name="power" val="0.0"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<set name="castRange" val="-1"/>
<set name="effectRange" val="-1"/>
<for>
<add val='290' order='0x10' stat='pDef'/>
<add val='2' order='0x40' stat='CON'/>
<add val='1000' order='0x40' stat='maxHp'/>
<mul val='1.06' order='0x50' stat='pAtkSpd'/>
<mul val='1.06' order='0x40' stat='pAtk'/>
<mul val='1.10' order='0x50' stat='pDef'/>
<mul val='1.15' order='0x50' stat='mDef'/>
<mul val='1.05' order='0x30' stat='regMp'/>
<mul val='1.05' order='0x30' stat='pDef'/>
</for>
</skill>
<skill id="9997" levels="1" name="Ice Light Armor Set">
<set name="power" val="0.0"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<set name="castRange" val="-1"/>
<set name="effectRange" val="-1"/>
<for>
<add val='280' order='0x10' stat='pDef'/>
<add val='2' order='0x40' stat='DEX'/>
<add val='400' order='0x40' stat='maxHp'/>
<add val='400' order='0x40' stat='maxMp'/>
<add val='1' order='0x40' stat='pAtkSpd'/>
<mul val='1.10' order='0x50' stat='pAtkSpd'/>
<mul val='1.10' order='0x40' stat='pAtk'/>
<mul val='1.10' order='0x50' stat='pDef'/>
<mul val='1.10' order='0x50' stat='mDef'/>
<add val='10' order='0x40' stat='rEvas'/>
<mul val='1.05' order='0x50' stat='mDef'/>
</for>
</skill>
<skill id="9998" levels="1" name="Ice Robe Armor Set">
<set name="power" val="0.0"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<set name="castRange" val="-1"/>
<set name="effectRange" val="-1"/>
<for>
<add val='180' order='0x10' stat='pDef'/>
<add val='2' order='0x40' stat='WIT'/>
<add val='900' order='0x40' stat='maxMp'/>
<add val='30' order='0x10' stat='mDef'/>
<mul val='1.08' order='0x50' stat='mAtkSpd'/>
<mul val='1.10' order='0x40' stat='mAtk'/>
<mul val='1.08' order='0x50' stat='pDef'/>
<mul val='1.10' order='0x50' stat='mDef'/>
<mul val='1.02' order='0x50' stat='pDef'/>
<add val='1000' order='0x40' stat='maxLoad'/>
</for>
</skill>
</list>
and now we just add few lines( in other words we just make 2 custom skills - just for pk guard)
now the file will lokk like this:
<?xml version='1.0' encoding='utf-8'?>
<list>
<skill id="9994" levels="3" name="xpatkSpd">
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<for>
<mul order="0x30" stat="rootVuln" val="0.7"/>
<mul order="0x30" stat="poisonVuln" val="0.6"/>
<mul order="0x30" stat="poisonProf" val="1.4"/>
<mul order="0x30" stat="rootProf" val="1.3"/> ----------> the green part i added as custom
<add order="0x40" stat="accCombat" val="2"/>
<mul order="0x30" stat="cAtk" val="1.15"/>
<mul order="0x190" stat="pAtkSpd" val="19.04"/>
<mul order="0x30" stat="mAtkSpd" val="1.04"/>
</for>
</skill>
<skill id="9995" levels="3" name="xpatk">
<table name="#pAtk"> 2 3 4 </table>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<for>
<mul order="0x190" stat="pAtk" val="190.085"/>
<add order="0x90" stat="pAtk" val="#pAtk"/>
</for>
</skill>
<skill id="9996" levels="1" name="Ice Heavy Armor Set">
<set name="power" val="0.0"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<set name="castRange" val="-1"/>
<set name="effectRange" val="-1"/>
<for>
<add val='290' order='0x10' stat='pDef'/>
<add val='2' order='0x40' stat='CON'/>
<add val='1000' order='0x40' stat='maxHp'/>
<mul val='1.06' order='0x50' stat='pAtkSpd'/>
<mul val='1.06' order='0x40' stat='pAtk'/>
<mul val='1.10' order='0x50' stat='pDef'/>
<mul val='1.15' order='0x50' stat='mDef'/>
<mul val='1.05' order='0x30' stat='regMp'/>
<mul val='1.05' order='0x30' stat='pDef'/>
</for>
</skill>
<skill id="9997" levels="1" name="Ice Light Armor Set">
<set name="power" val="0.0"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<set name="castRange" val="-1"/>
<set name="effectRange" val="-1"/>
<for>
<add val='280' order='0x10' stat='pDef'/>
<add val='2' order='0x40' stat='DEX'/>
<add val='400' order='0x40' stat='maxHp'/>
<add val='400' order='0x40' stat='maxMp'/>
<add val='1' order='0x40' stat='pAtkSpd'/>
<mul val='1.10' order='0x50' stat='pAtkSpd'/>
<mul val='1.10' order='0x40' stat='pAtk'/>
<mul val='1.10' order='0x50' stat='pDef'/>
<mul val='1.10' order='0x50' stat='mDef'/>
<add val='10' order='0x40' stat='rEvas'/>
<mul val='1.05' order='0x50' stat='mDef'/>
</for>
</skill>
<skill id="9998" levels="1" name="Ice Robe Armor Set">
<set name="power" val="0.0"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<set name="castRange" val="-1"/>
<set name="effectRange" val="-1"/>
<for>
<add val='180' order='0x10' stat='pDef'/>
<add val='2' order='0x40' stat='WIT'/>
<add val='900' order='0x40' stat='maxMp'/>
<add val='30' order='0x10' stat='mDef'/>
<mul val='1.08' order='0x50' stat='mAtkSpd'/>
<mul val='1.10' order='0x40' stat='mAtk'/>
<mul val='1.08' order='0x50' stat='pDef'/>
<mul val='1.10' order='0x50' stat='mDef'/>
<mul val='1.02' order='0x50' stat='pDef'/>
<add val='1000' order='0x40' stat='maxLoad'/>
</for>
</skill>
</list>
remember that u can adit any skill file that i like.and instead of 9994/9995 u can use anything u want
3. now go to your l2jdb in navicat. open the npcskills table and add this 2 lines
55560(your pk guard id) 9994(the custom skill that u just created) 3(level of skill)
55560(your pk guard id) 9995(the custom skill that u just created) 3(level of skill)
save modifications. now open custom_npcskills table and add the same 2 lines
55560(your pk guard id) 9994(the custom skill that u just created) 3(level of skill)
55560(your pk guard id) 9995(the custom skill that u just created) 3(level of skill)
save here too and now u have the toughest pk guard. u wont stand a chance not even with all armor +65535
i hope this will help whoever needs it
Linkback: https://l2topzone.com/forum/index.php?topic=942.0