//===== Hercules Script ====================================== //= Healer //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.2 //===== Description: ========================================= //= Basic healer script. //===== Additional Comments: ================================= //= 1.0 Initial script. //= 1.1 Aligned coordinates with @go. //= 1.2 Fix variables and character stuck at healing //============================================================ - script Healer -1,{ if (!NextBaseExp && Zeny < 25000){ mes "[Healer]"; mes "You need 25000 zeny to get my services."; close; } else if (!NextBaseExp && Zeny >= 25000) Zeny -= 25000; for(.@i = 0; .@i < getarraysize(.bad_sc); .@i++) sc_end .bad_sc[.@i]; repairall; getinventorylist; for( .@i = 0; .@i < @inventorylist_count; .@i++ ) { if ( @inventorylist_identify[.@i] == 1 ) continue; delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0; getitem @inventorylist_id[.@i],1; } skilleffect 29, 0; sc_start SC_INC_AGI,600000,10; skilleffect 34, 0; sc_start SC_BLESSING,600000,10; if ( .@spirit = .spirit[BaseJob] ); else if ( Upper & 1 && BaseLevel < 70 ) .@spirit = 494; skilleffect .@spirit, 1; sc_start4 SC_SOULLINK, -1, 1, .@spirit,0,0; skilleffect 361,0; sc_start SC_ASSUMPTIO,600000,10; specialeffect2 EF_HEAL2; percentheal 100,100; end; OnInit: setarray .bad_sc, SC_STONE, SC_FREEZE, SC_STUN, SC_SLEEP, SC_POISON, SC_CURSE, SC_SILENCE, SC_CONFUSION, SC_BLIND, SC_BLOODING, SC_DPOISON, SC_FEAR, SC_COLD, SC_BURNING, SC_DEEP_SLEEP, SC_ILLUSION, SC_NOEQUIPWEAPON, SC_NOEQUIPSHIELD, SC_NOEQUIPARMOR, SC_NOEQUIPHELM, SC_ORCISH; .spirit[Job_Alchemist] = 445; .spirit[Job_Monk] = 447; .spirit[Job_Star_Gladiator] = 448; .spirit[Job_Sage] = 449; .spirit[Job_Crusader] = 450; .spirit[Job_SuperNovice] = 451; .spirit[Job_Knight] = 452; .spirit[Job_Wizard] = 453; .spirit[Job_Priest] = 454; .spirit[Job_Bard] = .spirit[Job_Dancer] = 455; .spirit[Job_Rogue] = 456; .spirit[Job_Assassin] = 457; .spirit[Job_Blacksmith] = 458; .spirit[Job_Hunter] = 460; .spirit[Job_Soul_Linker] = 461; end; } // Duplicates //============================================================ //alberta,25,240,6 duplicate(Healer) Healer#alb 4_PORING //aldebaran,135,118,6 duplicate(Healer) Healer#alde 4_PORING //amatsu,200,79,4 duplicate(Healer) Healer#ama 4_PORING //ayothaya,207,169,6 duplicate(Healer) Healer#ayo 4_PORING //comodo,184,158,6 duplicate(Healer) Healer#com 4_PORING //einbech,57,36,6 duplicate(Healer) Healer#einbe 4_PORING //einbroch,57,202,6 duplicate(Healer) Healer#einbr 4_PORING //geffen,115,72,6 duplicate(Healer) Healer#gef 4_PORING //gonryun,156,122,6 duplicate(Healer) Healer#gon 4_PORING //hugel,89,150,6 duplicate(Healer) Healer#hug 4_PORING //izlude,125,118,5 duplicate(Healer) Healer#izl 4_PORING //jawaii,250,139,4 duplicate(Healer) Healer#jaw 4_PORING //lighthalzen,152,100,6 duplicate(Healer) Healer#lhz 4_PORING //louyang,226,103,4 duplicate(Healer) Healer#lou 4_PORING //manuk,272,144,6 duplicate(Healer) Healer#man 4_PORING //mid_camp,203,289,6 duplicate(Healer) Healer#mid 4_PORING //moc_ruins,72,164,4 duplicate(Healer) Healer#moc 4_PORING //morocc,153,97,6 duplicate(Healer) Healer#mor 4_PORING //moscovia,220,191,4 duplicate(Healer) Healer#mos 4_PORING //niflheim,212,182,5 duplicate(Healer) Healer#nif 4_PORING //payon,179,106,4 duplicate(Healer) Healer#pay 4_PORING prontera,152,192,6 duplicate(Healer) Healer#prt 4_F_VALKYRIE //rachel,125,116,6 duplicate(Healer) Healer#rac 4_PORING //splendide,201,153,4 duplicate(Healer) Healer#spl 4_PORING //thor_camp,249,74,4 duplicate(Healer) Healer#thor 4_PORING //umbala,105,148,3 duplicate(Healer) Healer#umb 4_PORING //veins,217,121,4 duplicate(Healer) Healer#ve 4_PORING //xmas,143,136,4 duplicate(Healer) Healer#xmas 4_PORING //yuno,164,45,4 duplicate(Healer) Healer#yuno 4_PORING // Duplicates (Renewal) //============================================================ //brasilis,194,221,6 duplicate(Healer) Healer#bra 4_PORING //dewata,195,187,4 duplicate(Healer) Healer#dew 4_PORING //dicastes01,201,194,4 duplicate(Healer) Healer#dic 4_PORING //ecl_in01,45,60,4 duplicate(Healer) Healer#ecl 4_PORING //malangdo,132,114,6 duplicate(Healer) Healer#mal 4_PORING //malaya,205,205,6 duplicate(Healer) Healer#ma 4_PORING //mora,55,152,4 duplicate(Healer) Healer#mora 4_PORING