|
@@ -420,9 +420,7 @@ class Npc(Player, Throwable):
|
|
|
R.rouge_exp += random.randint(30, 50)
|
|
R.rouge_exp += random.randint(30, 50)
|
|
|
elif self.stats_name in T.elite_list:
|
|
elif self.stats_name in T.elite_list:
|
|
|
# R.coin += random.randint(0, int(2*R.coin_lv(R.rouge_lv)))
|
|
# R.coin += random.randint(0, int(2*R.coin_lv(R.rouge_lv)))
|
|
|
- R.coin += \
|
|
|
|
|
- random.choices([0, 1, 2], weights=[1, R.coin_lv(R.rouge_lv) - 0.6, R.coin_lv(R.rouge_lv) - 0.8],
|
|
|
|
|
- k=1)[0]
|
|
|
|
|
|
|
+ R.coin += random.choices([0, 1, 2], weights=[1, R.coin_lv(R.rouge_lv) - 0.6, R.coin_lv(R.rouge_lv) - 0.8], k=1)[0]
|
|
|
R.rouge_exp += random.randint(3, 5)
|
|
R.rouge_exp += random.randint(3, 5)
|
|
|
else:
|
|
else:
|
|
|
# R.coin += random.randint(0, int(1*R.coin_lv(R.rouge_lv))) # random.choices([0, 1], weights=[70, 30], k=1)[0]
|
|
# R.coin += random.randint(0, int(1*R.coin_lv(R.rouge_lv))) # random.choices([0, 1], weights=[70, 30], k=1)[0]
|
|
@@ -440,10 +438,7 @@ class Npc(Player, Throwable):
|
|
|
R.rouge_exp += random.randint(4, 6)
|
|
R.rouge_exp += random.randint(4, 6)
|
|
|
else:
|
|
else:
|
|
|
# R.coin += random.randint(0, int(2*R.coin_lv(R.rouge_lv)))
|
|
# R.coin += random.randint(0, int(2*R.coin_lv(R.rouge_lv)))
|
|
|
- R.coin += \
|
|
|
|
|
- random.choices([0, 1, 2],
|
|
|
|
|
- weights=[1.6, R.coin_lv(R.rouge_lv) - 0.4, R.coin_lv(R.rouge_lv) - 0.6],
|
|
|
|
|
- k=1)[0]
|
|
|
|
|
|
|
+ R.coin += random.choices([0, 1, 2], weights=[1.6, R.coin_lv(R.rouge_lv) - 0.4, R.coin_lv(R.rouge_lv) - 0.6], k=1)[0]
|
|
|
R.rouge_exp += random.randint(2, 4)
|
|
R.rouge_exp += random.randint(2, 4)
|
|
|
elif 21 <= G.CURRENT_LEVEL <= 30:
|
|
elif 21 <= G.CURRENT_LEVEL <= 30:
|
|
|
if self.stats_name in T.boss_list:
|
|
if self.stats_name in T.boss_list:
|
|
@@ -476,9 +471,7 @@ class Npc(Player, Throwable):
|
|
|
k=1)[0]
|
|
k=1)[0]
|
|
|
R.rouge_exp += random.randint(8, 12)
|
|
R.rouge_exp += random.randint(8, 12)
|
|
|
else:
|
|
else:
|
|
|
- R.coin += random.randint(1, 2) * \
|
|
|
|
|
- random.choices([2, 3], weights=[R.coin_lv(R.rouge_lv), R.coin_lv(R.rouge_lv) - 0.2], k=1)[
|
|
|
|
|
- 0]
|
|
|
|
|
|
|
+ R.coin += random.randint(1, 2) * random.choices([2, 3], weights=[R.coin_lv(R.rouge_lv), R.coin_lv(R.rouge_lv) - 0.2], k=1)[0]
|
|
|
R.rouge_exp += random.randint(5, 7)
|
|
R.rouge_exp += random.randint(5, 7)
|
|
|
if self.blood_bar_pos != 0:
|
|
if self.blood_bar_pos != 0:
|
|
|
try:
|
|
try:
|