Item Use Script |
1 .@temp = rand(1,6); if (.@temp == 1) { specialeffect(EF_POISONHIT, AREA, playerattached()); showscript "Errrgg!!! This is so.. bitter....!!"; heal 0,-50; } else if (.@temp == 2) { specialeffect(EF_HEAL, AREA, playerattached()); showscript "....Well at least this is good for my health though."; percentheal 15,0; } else if (.@temp == 3) { specialeffect(EF_POISONHIT, AREA, playerattached()); showscript "Phewphew!! Arg.... Is this poisoned or what?!"; heal 0,-100; } else if (.@temp == 4) { specialeffect(EF_POISONHIT, AREA, playerattached()); showscript "Whasdfhwkljhrtklwert....!!"; heal 0,-200; } else if (.@temp == 5) { specialeffect(EF_HEAL, AREA, playerattached()); showscript "It's ok, no one sew me yet.."; percentheal 10,0; } else { specialeffect(EF_HEAL, AREA, playerattached()); showscript "I really need something to eat... ?? Sorry, little buggy."; percentheal 5,0; } |