Jump to content

HRstaff

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. Hello, thanks for your answer. Seems like it is working :). Thanks again and have a nice day
  2. Hello, I would like my elemental sword to not be stack-able. In order to do so, i found a script on rathena which I reproduced on one of my script : function script test { set .@count, (getequipid(3)==13414?1:0)+(getequipid(4)==13414?1:0); if(.@count==1) { bonus3 bAutoSpell,"MG_COLDBOLT",3,50; bonus4 bAutoSpellOnSkill,"MG_COLDBOLT","MG_FIREBOLT",3,1000; bonus4 bAutoSpellOnSkill,"MG_FIREBOLT","MG_LIGHTNINGBOLT",3,10000; bonus4 bAutoSpellOnSkill,"MG_LIGHTNINGBOLT","WZ_EARTHSPIKE",3,10000; } if(.@count > 0){ bonus bStr,2; bonus bInt,4; bonus bDex,1; bonus bMatkRate,5; bonus2 bAddEle,Ele_Neutral,10; } end; } I tried reproducing it by changing item_db.conf, I changed the script of elemental sword : Script: <"callfunc "elemental"; "> But I get the following error : I'm guessing the rathena code is depreciated or not compatible with hercules. But does someone have an idea how to fix it ? If you have another way to prevent elemental sword from being stack-able, i'd really like to hear it otherwise. Thanks a lot
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.