Jump to content

AtotheUtotheGtotheUST

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by AtotheUtotheGtotheUST

  1. prontera,153,193,4	script	Buffer	 874,{
    
    	set .@deny, 1; // 10 seconds cooldown
    	if ( @healer_deny + .@deny >= gettimetick(2) ) end;
    	set @healer_deny, gettimetick(2);
    
    	set .@time, 300000; // the buff last 5 minutes
    
    	sc_end sc_stone;
    	sc_end sc_freeze;
    	sc_end sc_sleep;
    	sc_end sc_curse;
    	sc_end sc_silence;
    	sc_end sc_confusion;
    	sc_end sc_blind;
    	sc_end sc_bleeding;
    	sc_end sc_decreaseagi;
    	sc_end sc_poison;
    	sc_end sc_hallucination;
    	sc_end sc_stripweapon;
    	sc_end sc_striparmor;
    	sc_end sc_striphelm;
    	sc_end sc_stripshield;
    	sc_end sc_changeundead;
    	sc_end sc_orcish;
    	sc_end sc_berserk;
    	sc_end sc_ske;
    	sc_end sc_swoo;
    	sc_end sc_ska;
    	
    	
        specialeffect2 100;
        specialeffect2 885;
        sc_start SC_INCREASEAGI,1200000,10;
        sc_start SC_BLESSING,1200000,10;
    	
    
    	
    
    	set .@ori, countitem(558);
    	if ( .@ori >= 5 ) {
    		getitem 573, .@ori / 5;
    		delitem 558, .@ori / 5 * 5;
    		message strcharinfo(0), "Refined "+ ( .@ori / 5 * 5 ) +" Oridecon Stones, got "+ ( .@ori / 5 ) +"   Oridecons.";
    	}
    	set .@elu, countitem(561);
    	if ( .@elu >= 5 ) {
    		getitem 560, .@elu / 5;
    		delitem 561, .@elu / 5 * 5;
    		message strcharinfo(0), "Refined "+ ( .@elu / 5 * 5 ) +" Elunium Stones, got "+ ( .@elu / 5 ) +"   Eluniums.";
    	}
    
    	while ( getbrokenid(1) && zeny >= 5000 ) {
    		set .@rcount, .@rcount +1 ;
    		set zeny, zeny - 5000;
    		repair 1;
    	}
    	if ( .@rcount )
    		message strcharinfo(0), "Repaired "+ .@rcount +" Items.";
    
    	getinventorylist;
    	for( set .@i,0; .@i < @inventorylist_count; set .@i, .@i + 1 ) {
    		if ( @inventorylist_identify[.@i] == 1 )
    			continue;
    		else if ( getskilllv(40) == 1 && sp >= 10 )
    			heal 0,0; // lol... this is supposed to reduce their SP by 10, whatever
    		else if ( countitem(611) )
    			delitem 611,1;
    		else if ( getskilllv(224) && zeny >= ( 100 - ( 5 + 4 * getskilllv(224) ) )* 2/5 )
    			set zeny, zeny - ( 100 - ( 5 + 4 * getskilllv(224) ) )* 2/5;
    		else if ( getskilllv(37) && zeny >= ( 100 - ( 5 + 2 * getskilllv(37) ) )* 2/5 )
    			set zeny, zeny - ( 100 - ( 5 + 2 * getskilllv(37) ) )* 2/5;
    		else if ( zeny >= 40 )
    			set zeny, zeny - 40;
    		else
    			break;
    		delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0;
    		getitem @inventorylist_id[.@i],1;
    		set .@icount, .@icount +1 ;
    	}
    	if ( .@icount )
    		message strcharinfo(0), "Identified "+ .@icount +" Items.";
    
    	if ( isequippedcnt(4128) >= 1 ) // if your server needs 2 GTB to immune, set to 2 instead of 1
    		dispbottom "[Healer] Please unequip your Golden Thief Bug card to get full buff.";
    
    	percentheal 100,100;
    	skilleffect 28, maxhp;
    	skilleffect 9, maxsp;
    	
    	end;
    }
    
    
    
    

    Thanks for this El Dragon.

     

    I fixed my script with OnTouch but only 1 problem, if you click the NPC it won't work.

     

    Same with your script I guess?

  2. Try replacing

    if( hp != maxhp ) {

    by

    if( Hp != MaxHp ) {

    Still not working.  /sob

    No error on map server.

     

    I'll just try the OnTouch script.

     

    Try replacing

    if( hp != maxhp ) {

    by

    if( Hp != MaxHp ) {

    Still not working.  /sob

    No error on map server.

     

    I'll just try the OnTouch script.

     

    I fixed it.   /ok

     

    I just used OnTouch.

  3.  

    Oh really, i'm sorry '-'

    But are only this error?

    It's okay, don't sweat it

     

     

    Hi Winz, thanks for the response but I still got this error.

    Can you just make me a simple script?

    I just want all auto heal+agi bless, auto repair, auto magnify and auto remove abnormal status like my script.

     

    oh, forgot about those lines.

     

    [paste=1bhnsnntfk9]

     

    Still not working Winz.

    No error on map server.

    Only the NPC loaded though.

     

    and I tried to remove some of your script at the bottom after because my script has it already but still not working.

     

    Paste: 6xq8wp34s2pq

  4. Hi Winz, thanks for the response but I still got this error.


    Can you just make me a simple script?

    I just want all auto heal+agi bless, auto repair, auto magnify and auto remove abnormal status like my script.

    post-3049-0-05353200-1415874303_thumb.png

  5. 
    prontera,158,193,4 script Healer 742,13,13,{
     
    .@Delay = 5; // Heal delay, in seconds
     
    if (@HD > gettimetick(2))
    end;
     
    getmapxy( .@map$, .@x, .@y, 0 );
    if( distance( .x, .y, .@x, .@y ) <= 5 )
    if( hp != maxhp )
    sc_end sc_stone;
    sc_end sc_freeze;
    sc_end sc_sleep;
    sc_end sc_curse;
    sc_end sc_silence;
    sc_end sc_confusion;
    sc_end sc_blind;
    sc_end sc_bleeding;
    sc_end sc_decreaseagi;
    sc_end sc_poison;
    sc_end sc_hallucination;
    sc_end sc_stripweapon;
    sc_end sc_striparmor;
    sc_end sc_striphelm;
    sc_end sc_stripshield;
    sc_end sc_changeundead;
    sc_end sc_orcish;
    sc_end sc_berserk;
    sc_end sc_ske;
    sc_end sc_swoo;
    sc_end sc_ska;
    specialeffect2 EF_INCAGILITY;
    sc_start SC_INCREASEAGI,240000,10;
    specialeffect2 EF_BLESSING;
    sc_start SC_BLESSING,240000,10;
    specialeffect2 EF_HEAL2;
    percentheal 100,100;
     
     
    if (.@Delay)
    @HD = gettimetick(2) + .@Delay;
     
    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++;
    }
    while (getbrokenid(1)) {
    repair(1);
    set .@i, .@i +1;
    }
    end;
    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++;
    }
    end;
    } 

    This script works fine on rAthena but I want to use this script on my eAthena server. How come there's an error?

    Can anyone please fix this for me?

     

    post-3049-0-80288900-1415822068_thumb.png

  6. Does anyone know how to do this kind of script?

     

    They have to register their guild first to NPC before WoE to be able to enter the castle.

     

    (WILLING TO PAY IF I HAVE TO)

×
×
  • Create New...