Dvrstle Posted July 15, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 361 Reputation: 10 Joined: 12/30/11 Last Seen: January 3, 2016 Share Posted July 15, 2012 Here's what i want: The 2 players needs to register first and place their bet.. the npc should check if the bets are the same item or zeny The NPC will start their duel within 30secs . . for the players to have time to buffs or else.... after their fight, the winning player will get the bet. Example: Player A - placed bet 20m [Player A's zeny will be deducted by 20m] Player B - placed bet 20m [Player B's zeny will be deducted by 20m] The NPC will start the countdown after they're both registered. [Note: The NPC can host only one battle at a time] If Player A won, he/she will get 40m which means that he won 20m for that fight any suggestions to improve this scripts will be accepted =) Quote Link to comment Share on other sites More sharing options...
Dvrstle Posted July 17, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 361 Reputation: 10 Joined: 12/30/11 Last Seen: January 3, 2016 Author Share Posted July 17, 2012 ~~ Quote Link to comment Share on other sites More sharing options...
PewN Posted July 17, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Share Posted July 17, 2012 what map? do oyu want? OnPCKillEvent: if( strcharinfo(3) == "mapname" ){ if( killedrid != getcharid(2) ){ set zeny,zeny + 40000000; dispbottom "You win the duel; } Quote Link to comment Share on other sites More sharing options...
Dvrstle Posted July 17, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 361 Reputation: 10 Joined: 12/30/11 Last Seen: January 3, 2016 Author Share Posted July 17, 2012 xD how about their bets? Quote Link to comment Share on other sites More sharing options...
kingnielz Posted October 3, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 29 Reputation: 0 Joined: 06/16/12 Last Seen: July 12, 2014 Share Posted October 3, 2012 upppp Quote Link to comment Share on other sites More sharing options...
Santino Posted October 6, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 198 Reputation: 47 Joined: 08/01/12 Last Seen: July 1, 2015 Share Posted October 6, 2012 (edited) you can try this one. but still got many bugs. when many players starts the duel. you can make it 1 at a time by adding some getusermap blablas. here. Edited October 6, 2012 by Mammon Quote Link to comment Share on other sites More sharing options...
Hades03 Posted March 16, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 242 Reputation: 3 Joined: 01/01/12 Last Seen: August 14, 2015 Share Posted March 16, 2013 up up up Quote Link to comment Share on other sites More sharing options...
Question
Dvrstle
Here's what i want:
The 2 players needs to register first and place their bet..
the npc should check if the bets are the same item or zeny
The NPC will start their duel within 30secs . . for the players to have time to buffs or else....
after their fight, the winning player will get the bet.
Example:
Player A - placed bet 20m [Player A's zeny will be deducted by 20m]
Player B - placed bet 20m [Player B's zeny will be deducted by 20m]
The NPC will start the countdown after they're both registered. [Note: The NPC can host only one battle at a time]
If Player A won, he/she will get 40m which means that he won 20m for that fight
any suggestions to improve this scripts will be accepted =)
Link to comment
Share on other sites
6 answers 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.