ccfolier / niwatori-dice

The dice engine used in ccfolia
MIT License
13 stars 1 forks source link

plugins/coc.js - add "cc" command, and more compatible for rules. #2

Closed Chiether closed 6 years ago

Chiether commented 6 years ago

description

plugin/coc.js was missing "cc" command. that is basic roll. and fixes erroneous decision

effect cc ccb erroneous decision
always success YES YES
always failure YES YES
critical success NO YES no effect -> (correct) always success
fumble (failure) NO YES no effect -> (correct) always failure
special YES YES 0.1 -> (correct) 0.2

changes

  1. add "cc" command.
  2. correctly "special" desicsion.
  3. correctly "critical" effect.
  4. correctly "fumble" effect.
  5. Scale up jest.
Chiether commented 6 years ago

@ccfolia done. thanks your advise.

ccfolier commented 6 years ago

Thanks for making a lot of contributions! I will publish this change as v1.0.3.