summaryrefslogtreecommitdiff
path: root/npc/023-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-24 17:46:36 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-11 17:46:36 -0300
commit8f561ed808a5f44e4f74f0b09167d6ab0cb5d3da (patch)
tree17de80a3defd45c5045d3af08e2a99b2640397cb /npc/023-2
parent61d644e8a4e8e3aaff12208a1892a15a0ac0eb9f (diff)
downloadserverdata-8f561ed808a5f44e4f74f0b09167d6ab0cb5d3da.tar.gz
serverdata-8f561ed808a5f44e4f74f0b09167d6ab0cb5d3da.tar.bz2
serverdata-8f561ed808a5f44e4f74f0b09167d6ab0cb5d3da.tar.xz
serverdata-8f561ed808a5f44e4f74f0b09167d6ab0cb5d3da.zip
[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.
Diffstat (limited to 'npc/023-2')
-rw-r--r--npc/023-2/mk.txt3
1 files changed, 2 insertions, 1 deletions
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;