Jump to content
  • 0
Sign in to follow this  
1steric

World Drop Cash script

Question

hello,

 

this is rathena script

 

 

 

-    script    cash    -1,{
    end;

OnNPCKillEvent:
    if(getcharid(1))
    {
      addrid(2,0,getcharid(1));
    }
if(getmonsterinfo(killedrid,MOB_LV) >= 1) 
{
    if (rand(10000) <= 100) getitem 6623,1; // 100% 확률 하급마력석
    if (rand(10000) <= 300) getitem 673,1; // 3% 확률로 동화 1개 획득 
}
    if(getmonsterinfo(killedrid,MOB_LV) >= 200)
    {
    if (rand(10000) <= 100) getitem 6624,1; //중급마력석
    if (rand(10000) <= 500) getitem 984,1; //오리데오콘
    if (rand(10000) <= 500) getitem 985,1; //에르늄
    if (rand(10000) <= 200) getitem 675,1; // 2% 확률로 은화 1개 획득 
end;
    }
    else if(getmonsterinfo(killedrid,MOB_LV) > 250)
    {
    if (rand(10000) <= 100) getitem 6625,1; //상급마력석
    if (rand(10000) <= 300) getitem 7619,1; //농축에르늄
    if (rand(10000) <= 300) getitem 7620,1; //농축오리데오콘
    if (rand(10000) <= 100) getitem 671,1; // 1% 확률로 금화 1개 획득 
        end;
    }
    end;
}
 

 

world drop cash system,

party share drop

 

  addrid(2,0,getcharid(1));      <<-- this line error    addrid

 

Which syntax should be applied to the Hercules version to apply well?

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

hercules uses

attachrid

 

Share this post


Link to post
Share on other sites
  • 0
On 8/2/2020 at 2:34 PM, Ridley said:

hercules uses


attachrid

 

hello,

 

how to write script?

 

 attachrid(2,0,getcharid(1));     , error T^T

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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