diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/character.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/character.rb b/app/models/character.rb index 84583a8..1169672 100644 --- a/app/models/character.rb +++ b/app/models/character.rb @@ -275,6 +275,10 @@ class Character < ApplicationRecord end end + def rested_until + Time.now + rested_duration.seconds + end + def award_title(title) title = Title.find_by_gid(title) if title.is_a? String # TODO: Simplify these lines? |