Skip to content

Commit

Permalink
Corrected Dual Monster Race wager check (rathena#4342)
Browse files Browse the repository at this point in the history
* Fixes rathena#4338.
* Follow up to f73fa23.
* Dual Monster Race wager should apply if either of the monsters chosen win in any order.
Thanks to @indigo000!
  • Loading branch information
aleos89 authored Oct 16, 2019
1 parent e02ed40 commit 9da3ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npc/other/monster_race.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@ p_track02,67,45,5 script Medal Distributor#medal 845,{
mes "Medals may be given to Wayne";
mes "in Hugel in exchange for items.";
next;
if (monster_race_2_1 == $@mon_race_2_1 && monster_race_2_2 == $@mon_race_2_2) {
if ((monster_race_2_1 == $@mon_race_2_1 && monster_race_2_2 == $@mon_race_2_2) || (monster_race_2_1 == $@mon_race_2_2 && monster_race_2_2 == $@mon_race_2_1)) {
mes "[Medal Distributor]";
mes "Congratulations! It's really";
mes "difficult to guess the winners";
Expand Down

0 comments on commit 9da3ad1

Please sign in to comment.