diff options
author | David Gay <david@davidgay.org> | 2021-06-16 18:00:03 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-16 18:00:03 -0400 |
commit | 0f6b68f115d2d16c7ef73d80570b1b85a1368a43 (patch) | |
tree | 95d8f054cad792209300513f1d374cd0ae80c44f /app/lib | |
parent | ecf1d03813e75b2929dce4cfc68352ad5b1a1377 (diff) |
[data] New activities: havencast_dazzle, havencast_stinging_rays
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/activity_processor.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/lib/activity_processor.rb b/app/lib/activity_processor.rb index 248ed9d..fb0b13d 100644 --- a/app/lib/activity_processor.rb +++ b/app/lib/activity_processor.rb @@ -97,6 +97,10 @@ class ActivityProcessor @results.push({ type: "message", body: result[:message] }) @results.push({ type: type, condition: condition }) end + when "decipher_magicscript" + Character.transaction do + # TODO: Add functionality + end when "activity" next if rand > (result[:chance] || 1) table_roll = rand |