Table of Contents

Method SlayRace

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

SlayRace(IPRacialType)

[Obsolete("Use the NwRace/RacialType overload instead.")]
public static HitEffect SlayRace(IPRacialType racialType)

Parameters

racialType IPRacialType

Returns

HitEffect

SlayRace(NwRace)

Creates a HitEffect property that instantly kills a creature of the specified race on a successful hit.

public static HitEffect SlayRace(NwRace race)

Parameters

race NwRace

The racial type that will be slain.

Returns

HitEffect

The created HitEffect.