reaperrr
ffca040c47
Moves traits from Common and Power namespaces to Common.Traits namespace
2014-12-11 23:21:31 +01:00
atlimit8
bbd54cb32f
Added IDisabledTrait & rewrote upgrade code using a level-based approach.
...
Upgradeable traits are notified whenever an upgrade of their declared types are granted or revoked. The traits maintain their own internal level counter, which is then used to enable or disable the trait functionality. A trait can register for multiple upgrade types which then all affect the internal level counter.
IDisabledTrait for identifying (and filtering) disabled traits
UpgradableTrait provides an abstract base for traits to support upgrade levels
Added IDisabledTrait support to GlobalButtonOrderGenerator
Includes rework by pchote with alterations.
2014-11-26 05:45:26 -06:00
huwpascoe
a660bb95b5
Actor properties consistency improved
2014-11-21 02:44:05 +00:00
Paul Chote
372d03c320
Convert SelfHealing to upgrades.
2014-09-27 22:14:45 +12:00
Matthias Mailänder
b05e4217cf
document SelfHealing prerequisites
2014-07-01 09:12:11 +02:00
ScottNZ
4f099348b2
Make captured hospitals in cnc/ra gradually heal all infantry units on the map
2013-07-04 18:38:49 +12:00
Chris Forbes
f4b302e01a
add support for damage cooldown on SelfHealing
2012-03-04 12:39:46 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Chris Forbes
d86e0ec522
rename ITraitPrerequisite<T> to Requires<T>
2011-05-04 18:02:35 +12:00
Paul Chote
61db3b3965
Kill HPFraction
2011-04-12 08:42:13 +12:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Chris Forbes
f52620f6fc
add ISync to all traits that have [Sync] members
2011-01-26 21:00:28 +13:00
Bob
ae703d50b2
Actor.traits is implementation detail
2010-08-14 17:39:49 +12:00
Paul Chote
48c5803198
Zombie prevention
2010-07-30 10:21:19 +12:00
Paul Chote
6fba888d45
Shift Actor.Health onto a trait.
...
Known regressions:
- cnc only
- health bar colors
- can't repair buildings
2010-07-30 00:33:44 +12:00
Chris Forbes
d5f12dd8ee
trim down license spam in all files
2010-07-18 16:48:21 +12:00
Chris Forbes
db465e1fdd
ActorInitializer, in preparation for next change (bob)
2010-06-19 14:28:30 +12:00
Chris Forbes
50cc18d1f4
moved SelfHealing to RA
2010-05-20 17:35:15 +12:00