summaryrefslogtreecommitdiff
path: root/npc/magic/plantkingdom.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-19 21:25:36 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-19 21:25:36 -0300
commitdf0687a362dc4155ec809508b1320768cabc8a80 (patch)
tree17e5a2de14cd9e401a4d5360c85f6bd0a37ba2d0 /npc/magic/plantkingdom.txt
parentd1239e5dbddb9556aaabdecae728271d8f9c0dbf (diff)
downloadserverdata-df0687a362dc4155ec809508b1320768cabc8a80.tar.gz
serverdata-df0687a362dc4155ec809508b1320768cabc8a80.tar.bz2
serverdata-df0687a362dc4155ec809508b1320768cabc8a80.tar.xz
serverdata-df0687a362dc4155ec809508b1320768cabc8a80.zip
Definite: Nullify every standard summon skill if alignment is evil.
Reagents will be taken, but none will heed your call. PS. These skills are not supposed to show up
Diffstat (limited to 'npc/magic/plantkingdom.txt')
-rw-r--r--npc/magic/plantkingdom.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/magic/plantkingdom.txt b/npc/magic/plantkingdom.txt
index 2ee9e314e..0ed87b3b5 100644
--- a/npc/magic/plantkingdom.txt
+++ b/npc/magic/plantkingdom.txt
@@ -9,6 +9,10 @@
end;
OnCall:
+ // Blocked from summoning magic
+ if (alignment() < 0)
+ return;
+
// Other requeriments: 2x Root
if (countitem(Root) < 2) {
dispbottom l("You need 2x @@ to cast this skill.", getitemlink(Root));