Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: item spawning spells with no min/max damage #64965

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/mods/Aftershock/items/comestibles/comestibles.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"id": "cream_prot_cold",
"name": { "str": "heat retention cream" },
"description": "Rub this on your skin when you are expecting exposure to extreme cold temperatures. Cannot protect from instant frostbite. Smells like the inside of a sheep.",
"use_action": { "type": "cast_spell", "spell_id": "cream_prot_cold", "no_fail": true, "level": 0 },
"use_action": { "type": "cast_spell", "spell_id": "cream_prot_cold", "no_fail": true, "level": 1 },
"type": "COMESTIBLE",
"weight": "265 g",
"volume": "250ml",
Expand Down
6 changes: 3 additions & 3 deletions data/mods/Aftershock/spells.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@
"effect": "spawn_item",
"effect_str": "cold_res_cream",
"shape": "blast",
"max_level": 0,
"min_damage": 0,
"max_damage": 0,
"max_level": 1,
"min_damage": 1,
"max_damage": 1,
"damage_increment": 0,
"damage_type": "biological",
"difficulty": 0,
Expand Down
2 changes: 2 additions & 0 deletions data/mods/Magiclysm/Spells/attunements/Boreal_Mage.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
"flags": [ "CONCENTRATE", "VERBAL", "NO_LEGS" ],
"difficulty": 9,
"max_level": 40,
"min_damage": 1,
"max_damage": 1,
"base_casting_time": 350,
"base_energy_cost": 750,
"min_duration": 100000,
Expand Down
2 changes: 2 additions & 0 deletions data/mods/Magiclysm/Spells/item_only.json
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,8 @@
"effect": "spawn_item",
"effect_str": "flask_ethereal_rebreather",
"shape": "blast",
"min_damage": 1,
"max_damage": 1,
"flags": [ "NO_LEGS", "SILENT" ],
"min_duration": 360000,
"max_duration": 360000
Expand Down
4 changes: 4 additions & 0 deletions data/mods/Magiclysm/Spells/kelvinist.json
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,8 @@
"spell_class": "KELVINIST",
"difficulty": 5,
"max_level": 15,
"min_damage": 1,
"max_damage": 1,
"base_casting_time": 200,
"base_energy_cost": 550,
"min_duration": 24000,
Expand All @@ -390,6 +392,8 @@
"spell_class": "KELVINIST",
"difficulty": 5,
"max_level": 25,
"min_damage": 1,
"max_damage": 1,
"base_casting_time": 200,
"final_casting_time": 100,
"casting_time_increment": -4,
Expand Down
4 changes: 4 additions & 0 deletions data/mods/Magiclysm/Spells/stormshaper.json
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@
"base_casting_time": 250,
"base_energy_cost": 550,
"max_level": 15,
"min_damage": 1,
"max_damage": 1,
"min_range": 1,
"max_range": 1,
"min_duration": 24000,
Expand Down Expand Up @@ -430,6 +432,8 @@
"final_energy_cost": 100,
"energy_increment": -18,
"max_level": 25,
"min_damage": 1,
"max_damage": 1,
"min_range": 1,
"max_range": 1,
"min_duration": 360000,
Expand Down
2 changes: 2 additions & 0 deletions data/mods/Xedra_Evolved/spells/classless_spells.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@
"flags": [ "CONCENTRATE", "NO_LEGS" ],
"difficulty": 4,
"max_level": 15,
"min_damage": 1,
"max_damage": 1,
"base_casting_time": 200,
"base_energy_cost": 400,
"min_duration": 21000,
Expand Down