Jump to content
  • 0

I will give healing and walk. I want a repair that does not work


marcorogeeh

Question


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  71
  • Reputation:   0
  • Joined:  06/27/13
  • Last Seen:  

npc Healing walks and gives healing I want repair does not work
Healer Angeling.txt

Edited by marcorogeeh
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

payon,157,226,5	script	Healer	1096,2,2,{
OnInit:
    initnpctimer;
    end;
OnTimer10000: //10 seconds
    npcwalkto 152,184;
    end;
OnTimer25000: //25 seconds
    npcwalkto 157,230;
    stopnpctimer;
    initnpctimer;
    end;
OnTouch:
    emotion e_heh; //Emotion upon touch
    percentheal 100,100; //100% Recover HP and SP
    sc_start SC_ANGELUS,60000,10; // Angelus lvl 10
    sc_start SC_BLESSING,60000,10; // Blessing lvl 10
    sc_start SC_INCREASEAGI,60000,10; // Increase agi lvl 10
	getitem 7139,1;
	atcommand "@useskill 479 5 " +strcharinfo(0);
while (getbrokenid(1)) {
repair(1);
set .@i, .@i +1;
}
if (.@i) dispbottom .@i + " items repaired.";
end;

}

 

Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

If I understand correctly, you want to add repair everything?

Add the end

repairall;

Before the }

Regards,

Chris

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  71
  • Reputation:   0
  • Joined:  06/27/13
  • Last Seen:  

Thanks for the Rathina and friend Cyro  and thank you It works
 

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

×   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...