From efdb1f8c475822c11b31a369b36da487b6d817b8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 2 Mar 2019 20:45:00 -0300 Subject: This will improve Candor Battle Difficulty --- npc/006-1/crazyfefe.txt | 10 ++++++---- 1 file 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; -- cgit v1.2.3-70-g09d2