mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-04 14:38:57 +00:00
War Score for Raid,
This commit is contained in:
1 parent
ba6ebf6e91
commit
71b5d21b20
1 file changed
+11
@@ -525,6 +525,11 @@ public class Raid {
|
|||||||
+ " in a raid for $" + amt);
|
+ " in a raid for $" + amt);
|
||||||
Main.econ.depositPlayer(offlinePlayer, amt);
|
Main.econ.depositPlayer(offlinePlayer, amt);
|
||||||
|
|
||||||
|
if (this.side1AreRaiders) {
|
||||||
|
war.addSide1Points(15);
|
||||||
|
} else {
|
||||||
|
war.addSide2Points(15);
|
||||||
|
}
|
||||||
|
|
||||||
stop();
|
stop();
|
||||||
}
|
}
|
||||||
@@ -574,6 +579,12 @@ public class Raid {
|
|||||||
this.raidedTown.getAccount().deposit(1000, "Raid chest");
|
this.raidedTown.getAccount().deposit(1000, "Raid chest");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.side1AreRaiders) {
|
||||||
|
war.addSide2Points(15);
|
||||||
|
} else {
|
||||||
|
war.addSide1Points(15);
|
||||||
|
}
|
||||||
|
|
||||||
stop();
|
stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user