diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-04-03 15:18:47 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-04-03 15:18:47 -0300 |
commit | e4cb30888aca79a12a219539008da614b85bea2e (patch) | |
tree | 1138b7e4e04785e27c1f6b9e805c5529b3a8d432 | |
parent | 830e23d824191c4537fac69710c8a6d43d9fa0f8 (diff) | |
download | serverdata-e4cb30888aca79a12a219539008da614b85bea2e.tar.gz serverdata-e4cb30888aca79a12a219539008da614b85bea2e.tar.bz2 serverdata-e4cb30888aca79a12a219539008da614b85bea2e.tar.xz serverdata-e4cb30888aca79a12a219539008da614b85bea2e.zip |
Amount of monsters changed: It is now 1~2+players+wave number.
Minimal conditions (Saulc and me) would render this many monsters:
Wave 1: 4~5
Wave 2: 5~6
Wave 3: 6~7
...
-rw-r--r-- | npc/006-1/crazyfefe.txt | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/npc/006-1/crazyfefe.txt b/npc/006-1/crazyfefe.txt index 106c98e52..ae5beffe4 100644 --- a/npc/006-1/crazyfefe.txt +++ b/npc/006-1/crazyfefe.txt @@ -6,13 +6,13 @@ // Crazyfefe will wake up when he smells battle // Variables: // $@FEFE_CAVE_LEVEL -// Tracks if a fight is going on, and the magic number to determine how many mobs show up. <Deprecated> +// Tracks if a fight is going on. Only that. // $@FEFE_DELAY // Tracks the delay between challenges. Also used to start the combat. Set it to zero so you can start fight at once. // $@FEFE_CAVE_HERO$ // Whoever started a fight. Also used to know if a fight is about to begin. // $@FEFE_CAVE_PLAYER_COUNT -// How many players are there +// How many players are there. // $@FEFE_WAVE // Current wave // $@GM_OVERRIDE @@ -206,14 +206,13 @@ function NextRound { .wtime=0; $@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*3); $@FEFE_DIFFICULTY+=$@FEFE_CAVE_PLAYER_COUNT+$@FEFE_WAVE*6; $@FEFE_DIFFICULTY+=(($@FEFE_WAVE/5)*10); 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; - .@amount=($@FEFE_CAVE_LEVEL/rand(4,6))+1; + .@amount=$@FEFE_WAVE+$@FEFE_CAVE_PLAYER_COUNT+rand(1,2); freeloop(true); for (.@i = 0; .@i < .@amount; ++.@i) { @@ -311,8 +310,8 @@ OnReward: } end; } - // Player reward is a random number based on current wave + lvl/50 (1 point ~= 12~8 mobs) - .@prize=rand($@FEFE_WAVE/2,$@FEFE_WAVE) + ($@FEFE_CAVE_LEVEL/50); + // Player reward is a random number based on current wave + .@prize=rand($@FEFE_WAVE/2,$@FEFE_WAVE)*2; Zeny=Zeny+.@prize; getexp .@prize, rand(1,3); @crazypoints+=1; @@ -324,8 +323,7 @@ OnTimer5000: CaveLogic(); end; -// Announces and attempts to start the fight once time run out -//OnTimer30000: // If you need to start without 5 minutes delay, this line must be uncommented. +// Announces and attempts to start the fight once time run out (assuming there are enough players) OnTimer300000: if ($@FEFE_CAVE_LEVEL > 0) end; if ($@FEFE_DELAY <= gettimetick(2)) StartFight(); @@ -340,7 +338,7 @@ OnInit: .sex=G_OTHER; .distance=5; .price=400; - .delay=(60*45); + .delay=(60*25); .wtime=0; end; } |