summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/controllers/game_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/game_controller.rb b/app/controllers/game_controller.rb
index d1d8bd6..2de342a 100644
--- a/app/controllers/game_controller.rb
+++ b/app/controllers/game_controller.rb
@@ -199,8 +199,8 @@ class GameController < ApplicationController
char_hp = current_char.max_hp
mon_hp = mon.max_hp
combat_message = ->(msg) { @results.push({ type: "message", body: "[#{char_hp}/#{char.max_hp}] #{msg}" }) }
- char_initiative = roll(10) + char.speed
- mon_initative = roll(10) + mon.speed
+ char_initiative = roll(20) + char.speed
+ mon_initative = roll(20) + mon.speed
if char_initiative > mon_initative
turn_order = [[char, mon], [mon, char]]
elsif mon_initative > char_initiative