implemented skill system according to designdocuments
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// Scratch node for verifying the skill-check plumbing. Not part of the story.
|
||||
// Point DialogueRunner.startNode at "Debug_SkillCheck" to run it, then set it
|
||||
// back to "Start" when you're done.
|
||||
|
||||
title: Debug_SkillCheck
|
||||
---
|
||||
Narrator: Skill check harness.
|
||||
<<check persuasion standard>>
|
||||
<<if $check_result>>
|
||||
Narrator: Passed. Rolled {$check_roll}, total {$check_total} against DC {$check_dc}.
|
||||
<<else>>
|
||||
Narrator: Failed. Rolled {$check_roll}, total {$check_total} against DC {$check_dc}.
|
||||
<<endif>>
|
||||
|
||||
// Explicit numeric DC plus a situational modifier.
|
||||
<<check deduction 16 2>>
|
||||
Narrator: Deduction came out {$check_degree}.
|
||||
|
||||
// Deliberate typo: should log an error and continue, not deadlock.
|
||||
<<check nosuchskill standard>>
|
||||
Narrator: Survived the bad skill id.
|
||||
===
|
||||
Reference in New Issue
Block a user