Table of Contents

Method BroadcastSkillRoll

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

BroadcastSkillRoll(int, NwSkill, int, int, bool, SkillResult)

Causes this creature to broadcast feedback for an arbitrary skill roll (pre-calculated)
This causes a message to be posted in the combat log, and floaty skill text to appear above the character.

public void BroadcastSkillRoll(int diceRoll, NwSkill skill, int modifier, int difficultyClass, bool take20, SkillResult result)

Parameters

diceRoll int

The d20 dice value result.

skill NwSkill

The skill that was rolled.

modifier int

The modifier added to the dice roll.

difficultyClass int

The difficulty class/dc of the skill check.

take20 bool

If the roll was an automatic take 20 roll.

result SkillResult

The result of the skill check.