viewing paste Unknown #26096 | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
-   script  Healer  -1,{
 
    .@Price = 0;    // Zeny required for heal
    .@Buffs = 0;    // Also buff players? (1: yes / 0: no)
    .@Delay = 0;    // Heal delay, in seconds
 
    if (@HD > gettimetick(2))
        end;
    if (.@Price) {
        message strcharinfo(0), "Healing costs " + callfunc("F_InsertComma",.@Price) + " Zeny.";
        if (Zeny < .@Price)
            end;
        if (select("^0055FFHeal^000000:^777777Cancel^000000") == 2)
            end;
        Zeny -= .@Price;
    }
    specialeffect2 EF_HEAL2;
    percentheal 100,100;
    if (.@Buffs) {
        specialeffect2 EF_INCAGILITY;
        sc_start SC_INCREASEAGI,240000,10;
        specialeffect2 EF_BLESSING;
        sc_start SC_BLESSING,240000,10;
    }
    if (.@Delay)
        @HD = gettimetick(2) + .@Delay;
    end;
}
 
 
// Duplicates
//============================================================
alberta,25,240,6    duplicate(Healer)   Healer#alb  909
Viewed 816 times, submitted by Guest.