From ef092b260e40ac60ea5847e4e69d34e8ee905b19 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 23 Nov 2018 09:22:36 -0200 Subject: Dusty in a Bottle droprate: 0.4% to snipers, 0.2% to wildlife Unaffected by @droprate --- npc/001-10/scripts.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'npc/001-10/scripts.txt') diff --git a/npc/001-10/scripts.txt b/npc/001-10/scripts.txt index ef5042520..da1afcd6e 100644 --- a/npc/001-10/scripts.txt +++ b/npc/001-10/scripts.txt @@ -57,30 +57,44 @@ OnTouch: // Death handlers OnWLDeath: + if (rand(0,1000) <= 20) + getitem BottledDust, 1; spawner("#CODMASTER::OnWLDeath", 0, 0, 200, 150, 1, 1); end; OnNDeath: + if (rand(0,1000) <= 40) + getitem BottledDust, 1; spawner("#CODMASTER::OnNDeath", 0, 10, 200, 25); end; OnSDeath: + if (rand(0,1000) <= 40) + getitem BottledDust, 1; spawner("#CODMASTER::OnSDeath", 0, 129, 200, 150); end; OnCDeath: + if (rand(0,1000) <= 40) + getitem BottledDust, 1; spawner("#CODMASTER::OnCDeath", 73, 45, 132, 86); end; OnWDeath: + if (rand(0,1000) <= 40) + getitem BottledDust, 1; spawner("#CODMASTER::OnWDeath", 10, 25, 72, 122); end; OnEDeath: + if (rand(0,1000) <= 40) + getitem BottledDust, 1; spawner("#CODMASTER::OnEDeath", 160, 45, 190, 130); end; OnDeath: + if (rand(0,1000) <= 40) + getitem BottledDust, 1; spawner("#CODMASTER::OnDeath"); end; -- cgit v1.2.3-60-g2f50