Method DamageBonusVsRace
DamageBonusVsRace(IPRacialType, IPDamageType, IPDamageBonus)
[Obsolete("Use the NwRace/RacialType overload instead.")]
public static ItemProperty DamageBonusVsRace(IPRacialType racialType, IPDamageType damageType, IPDamageBonus damageBonus)
Parameters
racialTypeIPRacialTypedamageTypeIPDamageTypedamageBonusIPDamageBonus
Returns
DamageBonusVsRace(NwRace, IPDamageType, IPDamageBonus)
Grants a damage bonus versus a racial type. Only certain damage types are valid (Acid, Bludgeoning, Cold, Electrical, Fire, Piercing, Slashing, Sonic).
public static ItemProperty DamageBonusVsRace(NwRace race, IPDamageType damageType, IPDamageBonus damageBonus)
Parameters
raceNwRaceThe race.
damageTypeIPDamageTypeThe damage type.
damageBonusIPDamageBonusThe bonus magnitude.
Returns
- ItemProperty
The created item property.