Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<strong>Related to issues #203, #1523, fixed issue #1588</strong>:
More Template magic: Added Nullable<T>::SetDefault to fix that tags always return the unit variables, no matter what were set at the country/global defaults. This also restores the branch's status from broken to untested fully, but working. No, status haven't changed, <strong>this still won't hit 0.2.</strong> Reminder, the tags again: [TechnoType/Country]->Bounty.Modifier (float, defaults to 0) Multiplier of the enemy victim's Cost/Damage which should be granted as bounty. [TechnoType/Country]->Bounty.Message (bool, default's to no) If set to yes, the granted money will be written out above the unit. [TechnoType/Country]->Bounty.FriendlyModifier (float, defaults to 0) Multiplier of the friendly victim's Cost/Damage which should be taken as bounty. [TechnoType/Country]->Bounty.FriendlyMessage (bool, defaults to no) If set to yes, the taken money will be written out above the unit. [TechnoType/Country]->Bounty.Pillager (bool, defaults to no) If set to yes, the unit will grant money for the Damage it delivered and not when it destroys a unit. [TechnoType/Country]->Bounty.CostMultiplier (float, defaults to 1) Specifies the multiplier of the money from the victim's side when this unit was destroyed by a Bounty unit. [TechnoType/Country]->Bounty.PillageMultiplier (float, defaults to 1) Specifies the multiplier of the money from the victim's side when this unit gets attacked by a Pillager unit. Country values are serves as defaults to all units of the country's, current global defaults are *Messages=yes, *Modifiers=0, *Multipliers=1, Pillager=no. git-svn-id: svn://svn.renegadeprojects.com/ares/branches/ft-bounty@1147 859b54a9-7a54-0410-aeb3-f8d2f1fa40fd
- Loading branch information
1 parent
84f5f4e
commit b75770c
Showing
5 changed files
with
18 additions
and
12 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
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