Skip to content

Commit

Permalink
Jobs are queing properly for building management
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamKyle committed Sep 4, 2024
1 parent f536ebc commit 1a00352
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 84 deletions.
7 changes: 7 additions & 0 deletions app/Flare/Models/CharacterPassiveSkill.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ class CharacterPassiveSkill extends Model

protected $appends = [
'name',
'is_max_level',
'current_bonus',
'resource_request_time_reduction',
];

public function character()
Expand Down Expand Up @@ -69,4 +72,8 @@ public function getNameAttribute()
{
return $this->passiveSkill->name;
}

public function getResourceRequestTimeReductionAttribute() {
return $this->current_level * $this->passiveSkill->resource_request_time_reduction;
}
}
Loading

0 comments on commit 1a00352

Please sign in to comment.