Yami Posted June 19, 2015 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 111 Reputation: 2 Joined: 01/02/14 Last Seen: June 4, 2023 Share Posted June 19, 2015 Can someone help me with my healer script. I want it to have Zeny Burn of 10,000 everytime you heal. But I don't want the healer to open a dialogue box or menu box. Just burns the zeny when you heal, just a display on the chat box that 10,000z was removed for payment. And if current zeny is below 10,000, display on bottom "You don't have enough Zeny for the Service" and you will not be healed/Buffed. Thanks in advanced! I will attach my healer script below. //===== rAthena Script =======================================//= Healer //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= Basic healer script. //============================================================ - script Healer 909,{ if( getbrokenid(1) ) repairall; getinventorylist; while( .@i < @inventorylist_count ){ if ( !@inventorylist_identify[.@i] ){ delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0; getitem @inventorylist_id[.@i],1; } .@i++; } set .@t, 0; // Delay Seconds. if ( ! @h ) { set @h, 1; set .@hp, MaxHP - HP; while ( .@t ) { dispbottom "Wait for "+ .@t +" second"+ ( ( .@t > 1 ) ? "s" : "" ) +"."; sleep2 1000 ; set .@t, .@t - 1; } percentheal 100,100; specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,240000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10; set @h, 0; } end ; } Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted June 19, 2015 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: May 3 Share Posted June 19, 2015 //===== rAthena Script ======================================= //= Healer //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= Basic healer script. //============================================================ - script Healer 909,{ if (getbrokenid(1)) repairall; getinventorylist; while (.@i < @inventorylist_count) { if (!@inventorylist_identify[.@i]) { delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0; getitem @inventorylist_id[.@i],1; } .@i++; } .@t = 0; // Delay Seconds. if (!@h) { @h = 1; .@hp = MaxHP-HP; while (.@t) { dispbottom "Wait for "+.@t+" second"+((.@t>1)?"s":"")+"."; sleep2 1000; .@t--; } if (Zeny<10000) { dispbottom "You don't have enough Zeny for the Service!"; end; } Zeny -= 10000; dispbottom "10,000z was removed for healing payment."; percentheal 100,100; specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,240000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10; @h = 0; } end; } Quote Link to comment Share on other sites More sharing options...
Yami Posted June 19, 2015 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 111 Reputation: 2 Joined: 01/02/14 Last Seen: June 4, 2023 Author Share Posted June 19, 2015 Woah! Thanks @nanakiwurtz! Ima try this later! I'll update you ) Quote Link to comment Share on other sites More sharing options...
Question
Yami
Can someone help me with my healer script.
I want it to have Zeny Burn of 10,000 everytime you heal. But I don't want the healer to open a dialogue box or menu box.
Just burns the zeny when you heal, just a display on the chat box that 10,000z was removed for payment.
And if current zeny is below 10,000, display on bottom "You don't have enough Zeny for the Service" and you will not be healed/Buffed.
Thanks in advanced! I will attach my healer script below.
Link to comment
Share on other sites
2 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.