Fix summoning exported monsters
This commit is contained in:
@@ -4769,6 +4769,9 @@ bool combat_cast_mage_spell() {
|
||||
store_sum_monst = pick_trapped_monst();
|
||||
if(store_sum_monst == 0)
|
||||
return false;
|
||||
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.");
|
||||
|
Reference in New Issue
Block a user