summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-29 07:02:47 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-29 07:02:47 -0300
commitfa82b5bc04debf14c90576ad7c10507cec34d024 (patch)
tree7fc48fbd6b1bcbdff8a0440ddf07be42e6856f29
parente52173da1464a9821a3df4746c7521f4c17ae7c3 (diff)
downloadserverdata-fa82b5bc04debf14c90576ad7c10507cec34d024.tar.gz
serverdata-fa82b5bc04debf14c90576ad7c10507cec34d024.tar.bz2
serverdata-fa82b5bc04debf14c90576ad7c10507cec34d024.tar.xz
serverdata-fa82b5bc04debf14c90576ad7c10507cec34d024.zip
Enforce a real alignment policy
-rw-r--r--npc/functions/clientversion.txt4
-rw-r--r--npc/magic/scrolls.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index d30c07c61..907c825db 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -982,8 +982,8 @@ function script clientupdater {
// ter dez 28 11:57:17 BRT 2021
if (UPDATE < 1640703437) {
.@u$ = strtolower(strcharinfo(0));
- setarray .@xmas21$, "jesusalva", "poppet", "jak1", "horak";
- setarray .@xmas20$, "andulkat", "kolchak";
+ setarray .@xmas21$, "jesusalva", "poppet", "jak1", "horak", "hocus pocus fidibus", "statue";
+ setarray .@xmas20$, "andulkat", "kolchak", "Pacman_I_I";
if (array_exists(.@xmas21$, .@u$)) {
.@dg=1;
showavatar NPC_LOF_RICH;
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);