Fix AX reference
Was using int, now uses bool
This commit is contained in:
parent
fb9211bd2d
commit
c39abfe8d6
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ module Api
|
||||||
[2, 3, 17, 24].include?(w.weapon.series)
|
[2, 3, 17, 24].include?(w.weapon.series)
|
||||||
}
|
}
|
||||||
|
|
||||||
field :ax, if: ->(_field_name, w, _options) { w.weapon.ax.positive? } do |w|
|
field :ax, if: ->(_field_name, w, _options) { w.weapon.ax } do |w|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
modifier: w.ax_modifier1,
|
modifier: w.ax_modifier1,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue