From e90014e862ca97244f73c5c3ebbfa3b9c8373de4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 24 Dec 2021 07:14:20 -0300 Subject: Add summoning scrolls (untested) --- npc/config/magic.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'npc/config/magic.txt') diff --git a/npc/config/magic.txt b/npc/config/magic.txt index 87a9bc65c..ff3785147 100644 --- a/npc/config/magic.txt +++ b/npc/config/magic.txt @@ -245,6 +245,7 @@ function script alignment_cansummon { if (!@hatesummon) { dispbottom l("Nature itself express hate against you!"); getmapxy(.@m$, .@x, .@y, 0); + // FIXME: .@mob is or may be undefined .@opo=monster(.@m$, .@x, .@y, "Failed summon", .@mob, 1); unitattack(.@opo, getcharid(3)); @hatesummon=true; -- cgit v1.2.3-70-g09d2