Byakuran Posted December 20, 2013 Group: Members Topic Count: 110 Topics Per Day: 0.02 Content Count: 229 Reputation: 5 Joined: 12/16/11 Last Seen: May 6, 2020 Share Posted December 20, 2013 can someone make me a script that if the player kills a 50demon monster it will give 50tcg and 50dragon for 20TCG Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 20, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted December 20, 2013 OnNPCKillEvent: .@race = getmonsterinfo( killedrid,MOB_RACE ); if( .@race == RC_Undead || .@race == RC_Demon ){ setd( "@kill_race_"+.@race ),getd( "@kill_race_"+.@race ) + 1; if( getd( "@kill_race_"+.@race ) % 50 == 0 ) if( .@race == RC_Undead ){ getitem 7227,50; }else{ getitem 7227,20; } } end; Quote Link to comment Share on other sites More sharing options...
Question
Byakuran
can someone make me a script that if the player kills a 50demon monster it will give 50tcg and 50dragon for 20TCG
Link to comment
Share on other sites
1 answer 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.