From fa82b5bc04debf14c90576ad7c10507cec34d024 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 29 Dec 2021 07:02:47 -0300 Subject: Enforce a real alignment policy --- npc/magic/scrolls.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/magic/scrolls.txt') diff --git a/npc/magic/scrolls.txt b/npc/magic/scrolls.txt index 39672db54..6df45c4e4 100644 --- a/npc/magic/scrolls.txt +++ b/npc/magic/scrolls.txt @@ -12,7 +12,7 @@ function script SummonScroll { .@blv = getarg(3, 0); // Depending on alignment status, invoke superior form - if (alignment_cansummon() && BaseLevel > .@blv && .@mbb) { + if (alignment_cansummon() && alignment() > 1 && BaseLevel > .@blv && .@mbb) { .@mids = summon("Summoned Monster", .@mbb, .@tim); } else { .@mids = summon("Summoned Monster", .@mob, .@tim); -- cgit v1.2.3-60-g2f50