Fix AX reference

Was using int, now uses bool
This commit is contained in:
Justin Edmund 2023-01-02 21:24:43 -08:00
parent fb9211bd2d
commit c39abfe8d6

View file

@ -18,7 +18,7 @@ module Api
[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,