Hello,
I have troubles scripting set equipment. How to properly do this on Hercules?
Here's one of the official sets scripts that I tried to modify to use with my custom set:
http://ratemyserver.net/index.php?page=re_item_db&comid=164
That code being:
if(!isequipped(4172,4257,4230,4272)) bonus3 bAutoSpell,"RG_INTIMIDATE",1,20;
Now, doing that worked but not the way I wanted it to. The script triggers even without having those items/cards equipped.
I tried another way that was recommended on rAthena:
{ if ((isequipped(2480)) && (isequipped(2581)) && (isequipped(2891))) { bonus bAllStats,4; bonus bMaxHPrate,5; } } ,{},{}
But that did not work at all.... Anyone know where I went wrong?
Thanks!
I have troubles scripting set equipment. How to properly do this on Hercules?
Here's one of the official sets scripts that I tried to modify to use with my custom set:
http://ratemyserver.net/index.php?page=re_item_db&comid=164
That code being:
if(!isequipped(4172,4257,4230,4272)) bonus3 bAutoSpell,"RG_INTIMIDATE",1,20;
Now, doing that worked but not the way I wanted it to. The script triggers even without having those items/cards equipped.
I tried another way that was recommended on rAthena:
{ if ((isequipped(2480)) && (isequipped(2581)) && (isequipped(2891))) { bonus bAllStats,4; bonus bMaxHPrate,5; } } ,{},{}
But that did not work at all.... Anyone know where I went wrong?
Thanks!