Fix summoning exported monsters

This commit is contained in:
2025-02-26 10:38:29 -06:00
committed by Celtic Minstrel
parent bbddbefa99
commit 04183c7fbe

View File

@@ -4769,7 +4769,10 @@ bool combat_cast_mage_spell() {
store_sum_monst = pick_trapped_monst();
if(store_sum_monst == 0)
return false;
get_monst = univ.scenario.scen_monsters[store_sum_monst];
if(store_sum_monst >= 10000)
get_monst = univ.party.summons[store_sum_monst-10000];
else
get_monst = univ.scenario.scen_monsters[store_sum_monst];
if(store_sp < get_monst.level) {
add_string_to_buf("Cast: Not enough spell points.");
return false;