Table of Contents

Method DamageShield

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

DamageShield(int, DamageBonus, DamageType)

Creates an effect that reflects damage to melee attackers from successful hits.

public static Effect DamageShield(int damageAmount, DamageBonus randomAmount, DamageType damageType)

Parameters

damageAmount int

The flat amount of damage to reflect back to the attacker.

randomAmount DamageBonus

A special damage amount to additionally reflect back to the attacker.

damageType DamageType

The type of the damage reflected to the attacker.

Returns

Effect