mauiboy Posted August 9, 2016 Posted August 9, 2016 Hello Guys, Can you give the script for this one? Thanks! BUMP Quote
0 Hijirikawa Posted August 10, 2016 Posted August 10, 2016 (edited) - script Healer -1,{ .@Price = 0; // Zeny required for heal .@Buffs = 1; // Also buff players? (1: yes / 0: no) .@Delay = 10; // 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 (getbrokenid(1) >= 1) { repairall; } if(getgroupid() >= 5 ){ set(.@min, 5); // duration in minutes sc_start(SC_CP_HELM, (.@min * 1000 * 60), 1); sc_start(SC_CP_ARMOR, (.@min * 1000 * 60), 1); sc_start(SC_CP_SHIELD, (.@min * 1000 * 60), 1); sc_start(SC_CP_WEAPON, (.@min * 1000 * 60), 1); switch ( basejob ) { case Job_Alchemist: set .@spirit, 445; break; case Job_Monk: set .@spirit, 447; break; case Job_Star_Gladiator: set .@spirit, 448; break; case Job_Sage: set .@spirit, 449; break; case Job_Crusader: set .@spirit, 450; break; case Job_SuperNovice: set .@spirit, 451; break; case Job_Knight: set .@spirit, 452; break; case Job_Wizard: set .@spirit, 453; break; case Job_Priest: set .@spirit, 454; break; case Job_Bard: case Job_Dancer: set .@spirit, 455; break; case Job_Rogue: set .@spirit, 456; break; case Job_Assassin: set .@spirit, 457; break; case Job_Blacksmith: set .@spirit, 458; break; case Job_Hunter: set .@spirit, 460; break; case Job_Soul_Linker: set .@spirit, 461; break; default: if ( upper == 1 && baselevel < 70 ) set .@spirit, 494; } if ( .@spirit ) { sc_start4 sc_spirit, 360000, 5, .@spirit,0,0; skilleffect .@spirit, 5; } } if (.@Delay) @HD = gettimetick(2) + .@Delay; end; } Edited December 11, 2016 by Emistry 1 1 Quote
0 mauiboy Posted August 29, 2016 Author Posted August 29, 2016 - script Healer -1,{ .@Price = 0; // Zeny required for heal .@Buffs = 1; // Also buff players? (1: yes / 0: no) .@Delay = 10; // 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 (getbrokenid(1) >= 1) { repairall; } if(getgroupid() >= 5 ){ set(.@min, 5); // duration in minutes sc_start(SC_CP_HELM, (.@min * 1000 * 60), 1); sc_start(SC_CP_ARMOR, (.@min * 1000 * 60), 1); sc_start(SC_CP_SHIELD, (.@min * 1000 * 60), 1); sc_start(SC_CP_WEAPON, (.@min * 1000 * 60), 1); switch ( basejob ) { case Job_Alchemist: set .@spirit, 445; break; case Job_Monk: set .@spirit, 447; break; case Job_Star_Gladiator: set .@spirit, 448; break; case Job_Sage: set .@spirit, 449; break; case Job_Crusader: set .@spirit, 450; break; case Job_SuperNovice: set .@spirit, 451; break; case Job_Knight: set .@spirit, 452; break; case Job_Wizard: set .@spirit, 453; break; case Job_Priest: set .@spirit, 454; break; case Job_Bard: case Job_Dancer: set .@spirit, 455; break; case Job_Rogue: set .@spirit, 456; break; case Job_Assassin: set .@spirit, 457; break; case Job_Blacksmith: set .@spirit, 458; break; case Job_Hunter: set .@spirit, 460; break; case Job_Soul_Linker: set .@spirit, 461; break; default: if ( upper == 1 && baselevel < 70 ) set .@spirit, 494; } if ( .@spirit ) { sc_start4 sc_spirit, 360000, 5, .@spirit,0,0; skilleffect .@spirit, 5; } } if (.@Delay) @HD = gettimetick(2) + .@Delay; end; } Thanks, but can you also provide an NPC which sells individual Soul Links? Quote
0 Hijirikawa Posted August 29, 2016 Posted August 29, 2016 Individual Soul Links? What do you mean. Quote
0 mauiboy Posted August 31, 2016 Author Posted August 31, 2016 Individual Soul Links? What do you mean. An NPC shop who sells Soul Link scripted consumable items. Example : Knight Link Ticket, Hunter Link Ticket.. etc etc Quote
Question
mauiboy
Hello Guys,
Can you give the script for this one?
Thanks!
BUMP
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.