summaryrefslogtreecommitdiff
path: root/npc/006-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-02 20:45:00 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-02 20:45:00 -0300
commitefdb1f8c475822c11b31a369b36da487b6d817b8 (patch)
tree52c4c8c3a39fbf490684ed8e80c56a7ee0a57b4e /npc/006-1
parent1473eaa1287567897050b985e2018d0bbfd8182c (diff)
downloadserverdata-efdb1f8c475822c11b31a369b36da487b6d817b8.tar.gz
serverdata-efdb1f8c475822c11b31a369b36da487b6d817b8.tar.bz2
serverdata-efdb1f8c475822c11b31a369b36da487b6d817b8.tar.xz
serverdata-efdb1f8c475822c11b31a369b36da487b6d817b8.zip
This will improve Candor Battle Difficulty
Diffstat (limited to 'npc/006-1')
-rw-r--r--npc/006-1/crazyfefe.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/npc/006-1/crazyfefe.txt b/npc/006-1/crazyfefe.txt
index a0a65d91d..332c6c7cb 100644
--- a/npc/006-1/crazyfefe.txt
+++ b/npc/006-1/crazyfefe.txt
@@ -169,7 +169,7 @@ L_NextRound:
$@FEFE_WAVE = $@FEFE_WAVE + 1;
// Prepare next round, and reward survivors
$@FEFE_CAVE_LEVEL = $@FEFE_CAVE_LEVEL + $@FEFE_CAVE_PLAYER_COUNT + rand(1,3) + $@FEFE_WAVE;
- $@FEFE_DIFFICULTY+=$@FEFE_CAVE_PLAYER_COUNT+$@FEFE_WAVE;
+ $@FEFE_DIFFICULTY+=$@FEFE_CAVE_PLAYER_COUNT+$@FEFE_WAVE*6;
areatimer "006-1", 20, 20, 70, 60, 10, "Crazyfefe::OnReward";
mapannounce "006-1", "The wave nÂș "+$@FEFE_WAVE+" is starting with " + $@FEFE_CAVE_PLAYER_COUNT + " player(s) left alive." , 0;
@@ -188,8 +188,10 @@ L_Summon:
// This prevents from excess of House Maggots, for example
.@lv+=any(0, 0, 0, 1, 1, 2);
//debugmes("[Candor] Difficulty is %d, pool is %d", .@lv, $@FEFE_DIFFICULTY);
+ .@lv=rand(0, .@lv);
- switch (.@lv) {
+ switch (rand(0,.@lv)) {
+ case 0:
case 1:
case 2:
.@monsterId = any(HouseMaggot, SlimeBlast) ; break;
@@ -225,8 +227,8 @@ L_Summon:
.@monsterId = any(Tipiu, GiantMutatedBat, Terranite, Reaper) ; break;
}
areamonster "006-1", 20, 20, 70, 60, strmobinfo(1, .@monsterId), .@monsterId, 1, "Crazyfefe::OnPetDeath";
- // We must lower difficulty according to summoned monster. Only 40% is lowered.
- $@FEFE_DIFFICULTY=$@FEFE_DIFFICULTY-max(1, .@lv*4);
+ // We must lower difficulty according to summoned monster. Only 60% is lowered.
+ $@FEFE_DIFFICULTY=$@FEFE_DIFFICULTY-max(1, .@lv*6);
}
freeloop(false);
initnpctimer;