summaryrefslogtreecommitdiff
path: root/npc/config
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-24 07:14:20 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-24 07:14:20 -0300
commite90014e862ca97244f73c5c3ebbfa3b9c8373de4 (patch)
tree839c4260f65939be92ed83fcb46b93e607b7b2aa /npc/config
parente6494d1ef2fd3e34f4c71a03a5ad9b7802c5b461 (diff)
downloadserverdata-e90014e862ca97244f73c5c3ebbfa3b9c8373de4.tar.gz
serverdata-e90014e862ca97244f73c5c3ebbfa3b9c8373de4.tar.bz2
serverdata-e90014e862ca97244f73c5c3ebbfa3b9c8373de4.tar.xz
serverdata-e90014e862ca97244f73c5c3ebbfa3b9c8373de4.zip
Add summoning scrolls (untested)
Diffstat (limited to 'npc/config')
-rw-r--r--npc/config/magic.txt1
1 files changed, 1 insertions, 0 deletions
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;