Add DamageTypes to Kill() and make some traits use it.
This commit is contained in:
committed by
reaperrr
parent
b620e8107f
commit
5e7e3bb011
@@ -21,7 +21,7 @@ namespace OpenRA.Mods.Common.Warheads
|
||||
[Desc("How much (raw) damage to deal.")]
|
||||
public readonly int Damage = 0;
|
||||
|
||||
[Desc("Types of damage that this warhead causes. Leave empty for no damage.")]
|
||||
[Desc("Types of damage that this warhead causes. Leave empty for no damage types.")]
|
||||
public readonly HashSet<string> DamageTypes = new HashSet<string>();
|
||||
|
||||
[Desc("Damage percentage versus each armortype.")]
|
||||
|
||||
Reference in New Issue
Block a user