summaryrefslogtreecommitdiff
path: root/npc/014-5-1/sagratha.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-16 20:33:03 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-16 20:33:03 -0300
commita827211f1a52bdae5bc05f56eceb45de52aad220 (patch)
tree6c4f36eba90fcebb9bb21db7ca375d92ed3b8b0d /npc/014-5-1/sagratha.txt
parent572b5c78d2189973435592b2e9c4333b1ad482cd (diff)
downloadserverdata-a827211f1a52bdae5bc05f56eceb45de52aad220.tar.gz
serverdata-a827211f1a52bdae5bc05f56eceb45de52aad220.tar.bz2
serverdata-a827211f1a52bdae5bc05f56eceb45de52aad220.tar.xz
serverdata-a827211f1a52bdae5bc05f56eceb45de52aad220.zip
Sagratha
Diffstat (limited to 'npc/014-5-1/sagratha.txt')
-rw-r--r--npc/014-5-1/sagratha.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/014-5-1/sagratha.txt b/npc/014-5-1/sagratha.txt
index 497d5070f..68eab483d 100644
--- a/npc/014-5-1/sagratha.txt
+++ b/npc/014-5-1/sagratha.txt
@@ -49,6 +49,15 @@ function script SaggyMobCount {
SaggyScoreUpdate(any(0,0,0,0,1));
break;
}
+ // Full hate vs Ghosts, Undead and shadow
+ .@mr=getmonsterinfo(killedrid, MOB_ELEMENT);
+ switch (.@mr) {
+ case Ele_Dark:
+ case Ele_Ghost:
+ case Ele_Undead:
+ SaggyScoreUpdate(any(0,0,0,0,1));
+ break;
+ }
return;
}