World Drop Cash script

1steric

New member
Messages
5
Points
0
Github
1steric
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?

 
hercules uses

Code:
attachrid
 
Last edited by a moderator:
Back
Top