summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-10 14:09:13 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-10 14:09:13 -0300
commit7f0e88867b116417a912d87f427deff9c33865ab (patch)
treed9b84d14fdb790b2c7de9e52d8c5801ff7fb1b2f /npc
parentafc3f0310aaa18df82e400a1b26346d0cfe72b51 (diff)
downloadserverdata-7f0e88867b116417a912d87f427deff9c33865ab.tar.gz
serverdata-7f0e88867b116417a912d87f427deff9c33865ab.tar.bz2
serverdata-7f0e88867b116417a912d87f427deff9c33865ab.tar.xz
serverdata-7f0e88867b116417a912d87f427deff9c33865ab.zip
Before I forget thisr10.0_190910
Diffstat (limited to 'npc')
-rw-r--r--npc/craft/options.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt
index 0466d20b9..6a576f4f3 100644
--- a/npc/craft/options.txt
+++ b/npc/craft/options.txt
@@ -53,6 +53,9 @@ function script csys_Generate {
array_push(@csys_attr, VAR_VITAMOUNT);
}
+ if (rand2(100) < .@lv)
+ array_push(@csys_attr, CLASS_DAMAGE_BOSS_TARGET);
+
// Update averages
.@avg+=.@lvl;
.@stk+=1;