About This File
This plugin will make purchasing a refill cost money. The cost is calculated based on the following formula:
((Max HP-Current HP) / Max HP) * Preset Cost * Fraction Of Total Cost * Base Power Multiplier
Preset Cost = the cost of the object, e.g. 1000 credits for a Havoc
Fraction Of Total Cost = a configurable multiplier you can set, e.g. if you want to have a refill cost 30% of the culculated cost set this to 0.3
Base Power Multiplier = if doubling cost when base power is down is configured this will be set to 2.0 when base power is down otherwise it's always 1.0
You can contact me under the nick 'iran'.
To install place RefillCostsMoney.dll in the root fds folder and add an entry for it under [Plugins] in ssgm.ini, then add the following to ssgm.ini and configure it:
[RefillCostsMoney]
FractionOfTotalCost = 0.3 ; this number is multiplied with the calculated cost of a refill
NoBasePowerDoubleCost = true ; double the cost of a refill when base power is down
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now