From d3ad000c6f63d2d988b8d74be102859a9f3877ec Mon Sep 17 00:00:00 2001 From: Aeadoin <109764533+Aeadoin@users.noreply.github.com> Date: Sat, 26 Nov 2022 16:32:58 -0500 Subject: [PATCH] [Bots] Update resist_adjust to not default to Null during addSpellToList (#85) --- frontend/src/components/preview/BotSpellPreview.vue | 2 +- frontend/src/views/bots/BotSpellListEditor.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/preview/BotSpellPreview.vue b/frontend/src/components/preview/BotSpellPreview.vue index 18cb948de..8a2387885 100644 --- a/frontend/src/components/preview/BotSpellPreview.vue +++ b/frontend/src/components/preview/BotSpellPreview.vue @@ -116,7 +116,7 @@ export default { "manacost": -1, "recast_delay": -1, "priority": 0, - "resist_adjust": null, + "resist_adjust": 0, "bucket_name": "", "bucket_value": "", "bucket_comparison": 0, diff --git a/frontend/src/views/bots/BotSpellListEditor.vue b/frontend/src/views/bots/BotSpellListEditor.vue index 0c61e3989..b10ae9976 100644 --- a/frontend/src/views/bots/BotSpellListEditor.vue +++ b/frontend/src/views/bots/BotSpellListEditor.vue @@ -552,7 +552,7 @@ export default { "manacost": -1, "recast_delay": 60, "priority": 1, - "resist_adjust": null, + "resist_adjust": 0, "min_hp": 0, "max_hp": 0, "bucket_name": "",