Add XLB and stats to JSON output

This commit is contained in:
Justin Edmund 2023-01-22 19:57:57 -08:00
parent 65d8024476
commit cf270f0243

View file

@ -15,7 +15,8 @@ module Api
field :uncap do |w|
{
flb: w.flb,
ulb: w.ulb
ulb: w.ulb,
xlb: w.xlb
}
end
@ -24,7 +25,8 @@ module Api
min_hp: w.min_hp,
max_hp: w.max_hp,
max_hp_flb: w.max_hp_flb,
max_hp_ulb: w.max_hp_ulb
max_hp_ulb: w.max_hp_ulb,
max_hp_xlb: w.max_hp_xlb
}
end
@ -33,7 +35,8 @@ module Api
min_atk: w.min_atk,
max_atk: w.max_atk,
max_atk_flb: w.max_atk_flb,
max_atk_ulb: w.max_atk_ulb
max_atk_ulb: w.max_atk_ulb,
max_atk_xlb: w.max_atk_xlb
}
end
end