Jump to content
  • 0

Sharingan System


Scofield

Question


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.03
  • Content Count:  265
  • Reputation:   11
  • Joined:  01/11/13
  • Last Seen:  

Hello, I'm wanting a system similar to this   eAthena.. or if someone else has I would greatly appreciate it if you could pass me ...

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  411
  • Reputation:   261
  • Joined:  04/25/12
  • Last Seen:  

Hello, I'm wanting a system similar to this   eAthena.. or if someone else has I would greatly appreciate it if you could pass me ...

 

What is the problem if this one of eathena?

 

@edit

 

Oh, its offline.

Well, I maked this looking the code on post

 

I can make with sql if you want. Didn't test it.

-%TAB%Script%TAB%Sharingan%TAB%-1,{
 
OnInit:
set $idss1,sharingan lvl 1 id here;
set $idss2,sharingan lvl 2 id here;
set $idss3,sharingan lvl 3 id here;
set $ptsu2,points to up sharingan here to lvl 2;
set $ptsu3,points to up sharingan here to lvl 3;
end;
 
OnPcKillEvent:
if(isequipped($idss1) || isequipped($idss2) || isequipped($idds3)){
set pts,pts+1;
if(pts==$ptsu2){
unequip 9;
delitem $idss2,1;
getitem $idss3,1;
equip $idss3;
message strcharinfo(0),"Sharingan Upped!";
end;
}
if(pts==$ptsu3){
unequip 9;
delitem $idss1,1;
getitem $idss2,1;
equip $idss2;
message strcharinfo(0),"Sharingan Upped to Max LvL!";
end;
}
}
end;
}
Edited by Zell
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  71
  • Reputation:   25
  • Joined:  11/23/11
  • Last Seen:  

I don't have any sprite of this.

-    script    sharingan    -1,{

OnPCKillEvent:

    if ( killedrid != getcharid ( 3 ) )
    {
        setarray .@points[0],10,50,100;
        setarray .@ids[0],1001,1002,1003,
        set .@equip,9;
        for ( .@size = getarraysize ( .@ids ); .@i < .@size ; .@i++ )
        {
            if ( getequipid ( .@equip ) == .@ids[.@i] )
                break ;
        }
        if ( .@i < .@size )
        {
            set points, points + 1;
            if ( points >= .@points[.@i] )
            {
                announce "Sharingan evolving...", bc_self, 0x00ff00 ;
                specialeffect2 261;
                sleep2 300;
                specialeffect2 389;
                sleep2 500;
                specialeffect2 402;
                sleep2 300;
                specialeffect2 500;
                delitem .@ids[.@i],1;
                getitem .@ids[.@i + 1],1;
                equip .@ids[.@i + 1];
            }
        }
    }
    
}
Edited by Omnipotent
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...