From 8f561ed808a5f44e4f74f0b09167d6ab0cb5d3da Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 24 Dec 2018 17:46:36 -0300 Subject: [Nivalis Liberation Day] Major refactor. Before Liberation: Magic min level is 40. After liberation, it is 30. Also, if players win, minimum level will be 25. This reproduces official behavior. --- npc/023-2/mk.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'npc/023-2/mk.txt') diff --git a/npc/023-2/mk.txt b/npc/023-2/mk.txt index e6408f52f..c56c283ee 100644 --- a/npc/023-2/mk.txt +++ b/npc/023-2/mk.txt @@ -47,6 +47,7 @@ OnReprocess: // Event Handler L_Finish: + $MANA_BLVL-=10; // Set level to 40 // Just being bigger is not enough. Must be over the double for the advantage draw (about 1 player for 10m) if (.victory_count > (.defeat_count*2)) { announce "The fight ends in draw! The Monster King did accomplish what he set, though...", bc_all|bc_npc; @@ -126,7 +127,7 @@ OnVictory: channelmes("#world", "The Monster King was defeated by players, and had to flee!"); channelmes("#world", "Getting magic is now easier!"); announce "Players have defeated the Monster King! He fleed from the cave after leaving a decoy!", bc_all|bc_npc; - $MANA_BLVL-=10; + $MANA_BLVL-=5; // Set level to 25 $@EXP_EVENT=25; donpcevent "@exprate::OnPlayerCall"; goto L_Finish2; -- cgit v1.2.3-70-g09d2