I'd say override like cities, gives you more control.
Announcement
Collapse
No announcement yet.
GENERAL: E-Cafe III
Collapse
X
-
Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
-
hmmm, should I add backwards compatibilty?
Code:if(IsCity) CityHealRate elseif(IsTileImprovement && HasHealRate) TileImprovementHealRate elseif(IsTileImprovement && Isfort) CityHealRate else NormalHealRate
"
Comment
-
What does Isfort check?Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Comment
-
Right now, a fort heals like a city. I can keep that check in there after it checks if the tile improvement heals. So if you have the HealRate flag for a fort it will heal at that rate, otherwise it will heal like a city.
I've found some other issues too. What if there are two improvements that heal? Do they add together or should it use the highest one? What if the Normal heal rate is higher than the tile improvement heal rate? Which does it use?"
Comment
-
Originally posted by EPW View Post
What if there are two improvements that heal? Do they add together or should it use the highest one?
What if the Normal heal rate is higher than the tile improvement heal rate? Which does it use?Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Comment
-
Yes, in a city should always be the city heal rate, even if the city is built on a tile imp with any heal rate.Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Comment
-
Too slow...
Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Comment
-
Originally posted by EPW View PostI do hope forts are the only improvements that heal.Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Comment
Comment