Enable extra if the GridWeapon is in position 9, 10, 11
This commit is contained in:
parent
beeeef3104
commit
382b2e2a92
1 changed files with 8 additions and 5 deletions
|
|
@ -140,6 +140,9 @@ module Api
|
|||
if weapon.position == -1
|
||||
party.element = weapon.weapon.element
|
||||
party.save!
|
||||
elsif [9, 10, 11].include?(weapon.position)
|
||||
party.extra = true
|
||||
party.save!
|
||||
end
|
||||
|
||||
# Render the weapon if it can be saved
|
||||
|
|
|
|||
Loading…
Reference in a new issue