From a827211f1a52bdae5bc05f56eceb45de52aad220 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 16 Sep 2019 20:33:03 -0300 Subject: Sagratha --- npc/014-5-1/sagratha.txt | 9 +++++++++ 1 file changed, 9 insertions(+) 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; } -- cgit v1.2.3-60-g2f50