summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/craft/options.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt
index d09b4ddc1..17daf5beb 100644
--- a/npc/craft/options.txt
+++ b/npc/craft/options.txt
@@ -389,8 +389,11 @@ function script csys_Multiplier {
// Use getiteminfo before
// csys_ArmorFix( - )
function script csys_ArmorFix {
+ // Rare bonus
+ if (rand2(100) >= 5)
+ array_remove(@csys_attr, IOPT_SPLASHDAMAGE);
+
// Remove bonuses
- array_remove(@csys_attr, IOPT_SPLASHDAMAGE);
array_remove(@csys_attr, IOPT_WALKSPEED);
array_remove(@csys_attr, HP_DRAIN);
array_remove(@csys_attr, SP_DRAIN);