summaryrefslogtreecommitdiff
path: root/npc/020-1/boss.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-09 13:33:57 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-09 13:33:57 -0300
commitcf18ce071c79ae37e14ea38943e0b1d88da70a7b (patch)
treef9159c9b60b3018300dd22ffba0d797bc5e828e5 /npc/020-1/boss.txt
parent8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff)
downloadserverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip
Override
Diffstat (limited to 'npc/020-1/boss.txt')
-rw-r--r--npc/020-1/boss.txt43
1 files changed, 0 insertions, 43 deletions
diff --git a/npc/020-1/boss.txt b/npc/020-1/boss.txt
deleted file mode 100644
index e45eebed..00000000
--- a/npc/020-1/boss.txt
+++ /dev/null
@@ -1,43 +0,0 @@
-// The Mana World Script
-// Author:
-// Jesusalva
-// Description:
-// Controls the boss on 020-1 and the Master Book Learning
-// see npc/items/master_skillbook.txt for explanation about variables
-
-020-1,0,0,0 script #BossCtrl_020-1 NPC_HIDDEN,{
- end;
-
-// Test server: 5 minutes only
-OnTimer300000:
- if (!debug)
- end;
-
-// Otherwise, respawn every 15 minutes
-OnTimer900000:
- stopnpctimer;
-OnInit:
- $@MB_0201=0;
- monster "020-1", 160, 254, strmobinfo(1, GoldenScorpion), GoldenScorpion, 1, "#BossCtrl_020-1::OnBossDeath";
- end;
-
-OnBossDeath:
- initnpctimer;
- BossSlain(.name$, "$@MB_0201");
- end;
-
-OnBossCheck:
- @mb_BossId=-1;
- // TODO: Check if you really fought or was just lurking
- // Check if party is correct
- if (getcharid(1) != $@MB_0201)
- end;
-OnBegin:
- @mb_BossId=GoldenScorpion;
- @mb_SkillId=GC_DARKILLUSION;
- @mb_ItemId=MagicFeather; // Placeholder
- @mb_ItemAm=1;
- addtimer(15000, "#MasterBook::OnUnset");
- end;
-
-}