Core: Added the attacker to IDamageModifier' GetDamageModifier

This commit is contained in:
geckosoft
2010-10-25 15:06:36 +02:00
committed by Chris Forbes
parent 2640603f6c
commit e7c61fac5c
8 changed files with 8 additions and 8 deletions

View File

@@ -69,7 +69,7 @@ namespace OpenRA.Mods.RA
}
}
public float GetDamageModifier(WarheadInfo warhead)
public float GetDamageModifier(Actor attacker, WarheadInfo warhead)
{
return Level > 0 ? 1 / Info.ArmorModifier[Level - 1] : 1;
}