summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-09 01:45:00 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-09 01:45:00 -0200
commitee02ee04566b15f3769b6bf3cfc0f4427107641a (patch)
tree011460dac5e15208a45cea8fba1ba499e986a0fc /npc/functions
parent331ccd80bf57ac78ef7273c4b06ec0f2fa288b6b (diff)
downloadserverdata-ee02ee04566b15f3769b6bf3cfc0f4427107641a.tar.gz
serverdata-ee02ee04566b15f3769b6bf3cfc0f4427107641a.tar.bz2
serverdata-ee02ee04566b15f3769b6bf3cfc0f4427107641a.tar.xz
serverdata-ee02ee04566b15f3769b6bf3cfc0f4427107641a.zip
Introduce Nivalis forge and armorer: Bracco.
He restocks every 28 hours. He forges armbands (mage equip). Armbands are currently cap items, so prices are extremely high atm.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/mobpoint.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt
index 7e3a6e1f2..aa1e69436 100644
--- a/npc/functions/mobpoint.txt
+++ b/npc/functions/mobpoint.txt
@@ -48,12 +48,13 @@ OnPCKillEvent:
if (is_staff()) {
// First: Assume the killedrid is the actual Account ID
dispbottom l("ID: @@", killedrid);
- getexp readparam(BaseLevel, killedrid), 0;
.@killed$=strcharinfo(0,"error",killedrid);
dispbottom l("You murder @@ in cold blood.", .@killed$);
// Second: Assume the killedrid is actually the Char ID
.@killed$=strcharinfo(0,"error",charid2rid(killedrid));
dispbottom l("In case of false positive, @@ was murdered.", .@killed$);
+ // Third: this one may crash
+ getexp readparam(BaseLevel, killedrid), 0;
}
end;