Hello, I modified a Healer Script that I found so that it gave buffs if you had certain items, to be specific, 1 buff for each ticket, and some special tickets that granted several buffs, when I run it it either doesn't work or gives me stone curse, can anybody please tell me what did I script wrong?
//Healer
- script Healer -1,{
set .@Delay,2; // Heal delay, in seconds
set .@price,15000; // Price in zeny
callfunc "F_ClearGarbage",0;
if (@HD > gettimetick(2)) end;
specialeffect2 313;
percentheal 100,100;
if(countitem(30004) >= 1){
specialeffect2 37; sc_start SC_INCREASEAGI,360000,10;
}
if(countitem(30003) >= 1){
specialeffect2 42; sc_start SC_BLESSING,360000,10;
}
if (countitem(30005) >= 1){
set .@price,0;
}
if (countitem(30006) >= 1){
specialeffect2 75; sc_start PR_GLORIA,360000,5;
}
if (countitem(30007) >= 1){
specialeffect2 112; sc_start AL_ANGELUS,360000,10;
}
if (countitem(30008) >= 1){
sepecialeffect2 130, sc_start BS_ADRENALINE,360000,5;
}
if countitem(30009) >= 1){
specialeffect2 76, sc_start PR_IMPOSITIO,360000,5;
}
if countitem(30010) >= 1){
specialeffect2 6; sc_start SC_INCREASEAGI,360000,10; sc_start SC_BLESSING,360000,10; set .@price,0;
}
if countitem(30011) >= 1){
specialeffect2 9; c_start PR_GLORIA,360000,5; sc_start AL_ANGELUS,360000,10; set .@price,0;
}
if countitem(30012) >= 1){
specialeffect2 14; sc_start BS_ADRENALINE,360000,5; sc_start PR_IMPOSITIO,360000,5; set .@price,0;
}
if countitem(30013) >= 1){
specialeffect2 77; sc_start SC_INCREASEAGI,360000,10; sc_start SC_BLESSING,360000,10; c_start PR_GLORIA,360000,5; sc_start AL_ANGELUS,360000,10; sc_start BS_ADRENALINE,360000,5; sc_start PR_IMPOSITIO,60000,5; sc_start HP_ASSUMPTIO,60000,5; sc_start SN_WINDWALK,360000,10; set .@price,0;
}
if (BaseLevel<=149){
set .@price,0;
}
if (.@Price) {
message strcharinfo(0),"Healing costs "+.@Price+" Zeny when you reach level 150 until you get a Price Ticket, or any Healer Ticket.";
if (Zeny < .@Price) end;
set Zeny, Zeny-.@Price;
}
if (.@Delay) set @HD, gettimetick(2)+.@Delay;
close;
}
Question
Evrard
Hello, I modified a Healer Script that I found so that it gave buffs if you had certain items, to be specific, 1 buff for each ticket, and some special tickets that granted several buffs, when I run it it either doesn't work or gives me stone curse, can anybody please tell me what did I script wrong?
thanks in advance >_<
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.