Jump to content

Help po About Healer NPC


Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  11/27/13
  • Last Seen:  

pano po gawin Auto Heal&Buff sya ung d na cclick then nalakad tapos po may kasamang repair help po

eto po ung script ko

 

----------------------------------------------------------------------------------------------------

//===== rAthena Script =======================================
//= Healer
//===== By: ==================================================
//= Euphy
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
//= Basic healer script.
//===== Additional Comments: =================================
//= 1.0 Initial script.
//= 1.1 Aligned coordinates with @go.
//============================================================
prontera,146,162,5 script Healer 1388,{

set .@Price,0; // Zeny required for heal
set .@Buffs,1; // Also buff players? (1: yes / 0: no)
set .@Delay,0; // Heal delay, in seconds

if (@HD > gettimetick(2)) end;
if (.@Price) {
message strcharinfo(0),"Healing costs "+.@Price+" Zeny.";
if (Zeny < .@Price) end;
if(select("^0055FFHeal^000000:^777777Cancel^000000") == 2) end;
set Zeny, 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) set @HD, gettimetick(2)+.@Delay;
end;
}

// Duplicates
//============================================================
invek,146,162,5 duplicate(Healer) Healer#alb 1388
alberta,25,240,6 duplicate(Healer) Healer#alb 640
aldebaran,135,118,6 duplicate(Healer) Healer#alde 640
amatsu,200,79,4 duplicate(Healer) Healer#ama 640
ayothaya,207,169,6 duplicate(Healer) Healer#ayo 640
comodo,184,158,6 duplicate(Healer) Healer#com 640
einbech,57,36,6 duplicate(Healer) Healer#einbe 640
einbroch,57,202,6 duplicate(Healer) Healer#einbr 640
geffen,115,72,6 duplicate(Healer) Healer#gef 640
gonryun,156,122,6 duplicate(Healer) Healer#gon 640
hugel,89,150,6 duplicate(Healer) Healer#hug 640
izlude,121,150,6 duplicate(Healer) Healer#izl 640 //Pre-RE: (125,118)
jawaii,250,139,4 duplicate(Healer) Healer#jaw 640
lighthalzen,152,100,6 duplicate(Healer) Healer#lhz 640
louyang,226,103,4 duplicate(Healer) Healer#lou 640
manuk,272,144,6 duplicate(Healer) Healer#man 640
mid_camp,203,289,6 duplicate(Healer) Healer#mid 640
moc_ruins,72,164,4 duplicate(Healer) Healer#moc 640
morocc,153,97,6 duplicate(Healer) Healer#mor 640
moscovia,220,191,4 duplicate(Healer) Healer#mos 640
niflheim,212,182,5 duplicate(Healer) Healer#nif 640
payon,179,106,4 duplicate(Healer) Healer#pay 640
//prontera,162,193,4 duplicate(Healer) Healer#prt 640
rachel,125,116,6 duplicate(Healer) Healer#rac 640
splendide,201,153,4 duplicate(Healer) Healer#spl 640
thor_camp,249,74,4 duplicate(Healer) Healer#thor 640
umbala,105,148,3 duplicate(Healer) Healer#umb 640
veins,217,121,4 duplicate(Healer) Healer#ve 640
xmas,143,136,4 duplicate(Healer) Healer#xmas 640
yuno,164,45,4 duplicate(Healer) Healer#yuno 640


// Duplicates (Renewal)
//============================================================
brasilis,194,221,6 duplicate(Healer) Healer#bra 640
dewata,195,187,4 duplicate(Healer) Healer#dew 640
dicastes01,201,194,4 duplicate(Healer) Healer#dic 640
ecl_in01,45,60,4 duplicate(Healer) Healer#ecl 640
malangdo,132,114,6 duplicate(Healer) Healer#mal 640
malaya,227,204,6 duplicate(Healer) Healer#ma 640
mora,55,152,4 duplicate(Healer) Healer#mora 640
Edited by Patskie
Change to code
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   3
  • Joined:  07/04/13
  • Last Seen:  


prontera,146,162,5 script Healer 1388,10,10{
 
set .@Price,0; // Zeny required for heal
set .@Buffs,1; // Also buff players? (1: yes / 0: no)
set .@Delay,0; // Heal delay, in seconds
 
if (@HD > gettimetick(2)) end;
if (.@Price) {
message strcharinfo(0),"Healing costs "+.@Price+" Zeny.";
if (Zeny < .@Price) end;
if(select("^0055FFHeal^000000:^777777Cancel^000000") == 2) end;
set Zeny, 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) set @HD, gettimetick(2)+.@Delay;
 
OnTouch:
areapercentheal "prontera",147,165,151,159,100,100;
atcommand "@repairall " + strcharinfo(0);
dispbottom "You have been healed. and repaired";
end;
}
 
 
use this i think?
put your duplicates

 

Edited by Mau
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...