Shouldn't it be UNIT_TYPE specific?
Further on, there is no example code.
No matter how good your documentation is, an example code is always on top when it comes to user friendly.
Some good stuff you did:
- Automatic Trigger Refresh
- Versions for Table, AutoIndex
- Versions for IDDS, LLDD
private constant real DAMAGE_THRESHOLD = 0.05
Damage event bigger then DAMAGE_THRESHOLD AND
smaller then 0 should be considered.
public struct shield extends shield_template
private ShieldRelay relay
static method create takes unit u, integer priority returns shield
Is there any reason why you wrote that public to the struct, but not the public to the static?
method damaged takes unit damageSource, real damage returns real
What do you mean with prevent? Elaborate please.