summaryrefslogtreecommitdiff
path: root/npc/014-5-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/014-5-1')
-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;
}