forked from TownyAdvanced/Towny
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
siegewar - divided pillage between attackers
* With previous code, pillage was multiplied by each soldier * This was a little hard to work with, as the max allowed num players at flag often had to reduced to 1 to receive good plunder feature benefits. * I resolve this issue by setting up plunder to be a set amount per tick, but DIVIDED among all soldiers at the flag * Thus one Soldier at flag receive a nice maximum steal, and also if multiple Soldiers wish to score timed points together to help win a siege, this does not need to be limited by config. TESTING * Started siege PASS * Scored timed attacker points PASS * Stole pillage from town PASS * Smoke testing PASS
- Loading branch information
Goosius1
committed
Mar 4, 2020
1 parent
78032ea
commit cc6777e
Showing
3 changed files
with
53 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters