Hello everyone!
This is with regards to the poison bottle item script:
678,Poison_Bottle,Poison Bottle,2,5000,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ if(Class == Job_Assassin_Cross || Class == Job_Guillotine_Cross_T) { sc_start SC_DPoison,60000,0; sc_start SC_ASPDPOTION2,60000,0; } else percentheal -100,-100; },{},{}
Now about the "percentheal -100,-100;" part, how can I make the HP reduction not to take effect when character is in maps bat_a01, bat_a02, bat_b01 and bat_b02?
I tried to whip up this script by myself but it seems to not work:
678,Poison_Bottle,Poison Bottle,2,5000,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ if(Class == Job_Assassin_Cross || Class == Job_Guillotine_Cross_T) { sc_start SC_DPoison,60000,0; sc_start SC_ASPDPOTION2,60000,0; } else { if (strcharinfo(3) != "bat_a01 || bat_a02 || bat_b01 || bat_b02" ) { percentheal -100,-100;};}; },{},{}
Anyone know?
Thank you guys!