Jump to content
  • 0
Sign in to follow this  
GubA

Help me!

Question

-  script  Healer  -1,{

 

 if (@pdelay > gettimetick(2)) {

   message strcharinfo(0), "You must wait "+ (@pdelay - gettimetick(2)) +" seconds.";

   end;

 }

 

 if (.price) {

   if (Zeny < .price) {

     message strcharinfo(0), "You do not have enough Zeny. It costs "+ .price +" zeny for a heal.";

     end;

   }

   

   Zeny -= .price;

 }

 

 specialeffect2 EF_HEAL; percentheal .hp, .sp;

 

 if (.buff) {

   // Acolyte Class Buffs

   specialeffect2 EF_BLESSING; sc_start SC_BLESSING, 360000, 10;

   specialeffect2 EF_INCAGILITY; sc_start SC_INC_AGI, 360000, 10;

   specialeffect2 EF_ANGELUS; sc_start SC_ANGELUS, 360000, 10;

   //specialeffect2 EF_GLORIA; sc_start SC_GLORIA, 360000, 5;

   specialeffect2 EF_MAGNIFICAT; sc_start SC_MAGNIFICAT, 360000, 5;

   specialeffect2 EF_ASSUMPTIO; sc_start SC_ASSUMPTIO, 360000, 1;

   specialeffect2 EF_IMPOSITIO; sc_start SC_IMPOSITIO, 360000, 1;

   specialeffect2 EF_SUFFRAGIUM; sc_start SC_SUFFRAGIUM, 360000, 1;

 

   // Archer Class Buffs

   //specialeffect2 EF_TRUESIGHT; sc_start SC_TRUESIGHT, 360000, 5;

   //specialeffect2 EF_PORTAL4; sc_start SC_WINDWALK, 360000, 5;

   specialeffect2 EF_CONCENTRATION; sc_start SC_CONCENTRATION, 360000, 1;

 

   // Merchant Class Buffs

   //specialeffect2 EF_PERFECTION; sc_start SC_WEAPONPERFECT, 360000, 10;

   //specialeffect2 EF_OVERTHRUST; sc_start SC_OVERTHRUST, 360000, 5;

   //specialeffect2 EF_MAXPOWER; sc_start SC_MAXIMIZEPOWER, 360000, 5;

   //specialeffect2 EF_MELTDOWN; sc_start SC_MELTDOWN, 360000, 5;

   //specialeffect2 EF_LOUD; sc_start SC_LOUD, 360000, 1;

 

   // Swordman Class Buffs

   specialeffect2 EF_ENDURE; sc_start SC_ENDURE, 360000, 1;

 

   // Mage Class Buffs

   //specialeffect2 EF_ENERGYCOAT; sc_start SC_ENERGYCOAT, 360000, 1;

 

   // Food Buffs

   specialeffect2 EF_FOOD01; sc_start SC_STRFood, 360000, 10;

   specialeffect2 EF_FOOD03; sc_start SC_AGIFood, 360000, 10;

   specialeffect2 EF_FOOD02; sc_start SC_VITFood, 360000, 10;

   specialeffect2 EF_FOOD02; sc_start SC_INTFood, 360000, 10;

   specialeffect2 EF_FOOD04; sc_start SC_DEXFood, 360000, 10;

   specialeffect2 EF_FOOD05; sc_start SC_LUKFood, 360000, 10;

 }

 

 if (.repair) {

   repairall;

 }

 

 if (.delay) {

   @pdelay = gettimetick(2)+.delay;

 }

 

 end;

 

 OnInit:

   // Configuration

   //.hp = 100;    // Percent of HP to heal

   //.sp = 100;    // Percent of SP to heal

 

   // Addons

   .price = 0;  // Price per use, in Zeny

   .buff = 1;    // Buff players as well? (0: no, 1: yes)

   .repair = 0;  // Repair broken equipment? (0: no, 1: yes)

   .delay = 10;    // Delay per use, in seconds

 

   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,162,193,4  duplicate(Healer)  Healer#prt  4_PORING

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

When i click on NPC.My character can't walk.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

check this part in const.txt

 

        specialeffect2 EF_FOOD01; sc_start SC_STRFood, 360000, 10;
   specialeffect2 EF_FOOD03; sc_start SC_AGIFood, 360000, 10;
   specialeffect2 EF_FOOD02; sc_start SC_VITFood, 360000, 10;
   specialeffect2 EF_FOOD02; sc_start SC_INTFood, 360000, 10;
   specialeffect2 EF_FOOD04; sc_start SC_DEXFood, 360000, 10;
   specialeffect2 EF_FOOD05; sc_start SC_LUKFood, 360000, 10;

Share this post


Link to post
Share on other sites
  • 0

check this part in const.txt

 

        specialeffect2 EF_FOOD01; sc_start SC_STRFood, 360000, 10;

   specialeffect2 EF_FOOD03; sc_start SC_AGIFood, 360000, 10;

   specialeffect2 EF_FOOD02; sc_start SC_VITFood, 360000, 10;

   specialeffect2 EF_FOOD02; sc_start SC_INTFood, 360000, 10;

   specialeffect2 EF_FOOD04; sc_start SC_DEXFood, 360000, 10;

   specialeffect2 EF_FOOD05; sc_start SC_LUKFood, 360000, 10;

Thank You.

Share this post


Link to post
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
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.