diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-30 04:50:27 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-30 04:50:27 -0300 |
commit | a8e09c2df195dd4bf95c33de14eccb1494de2619 (patch) | |
tree | c0558ff52f32d73ab29a3fcbcf0e4f2f10be57d9 /npc | |
parent | 0b822b68cfa79cedd4f5ea21b1d8e78f5d998a12 (diff) | |
download | serverdata-a8e09c2df195dd4bf95c33de14eccb1494de2619.tar.gz serverdata-a8e09c2df195dd4bf95c33de14eccb1494de2619.tar.bz2 serverdata-a8e09c2df195dd4bf95c33de14eccb1494de2619.tar.xz serverdata-a8e09c2df195dd4bf95c33de14eccb1494de2619.zip |
For some reason
There are bugs with mobs
Diffstat (limited to 'npc')
-rw-r--r-- | npc/014-4/kamelot.txt | 12 | ||||
-rw-r--r-- | npc/042-2/boss.txt | 6 | ||||
-rw-r--r-- | npc/042-3/jail.txt | 15 | ||||
-rw-r--r-- | npc/commands/kami.txt | 5 |
4 files changed, 25 insertions, 13 deletions
diff --git a/npc/014-4/kamelot.txt b/npc/014-4/kamelot.txt index b075ad165..8e0eef2b9 100644 --- a/npc/014-4/kamelot.txt +++ b/npc/014-4/kamelot.txt @@ -124,16 +124,16 @@ OnDebug: l("Abort"), l("Reset"), l("Reset & Destroy"), - l("Quest: Skip Weapons Room"), - l("Quest: Skip Krukan fight"), + l("Quest - Skip Weapons Room"), + l("Quest - Skip Krukan fight"), "", "", "", "", - l("Warp: Jump to Entrance"), // 10 - l("Warp: Jump to Weapon Room"), - l("Warp: Jump to Basement"), - l("Warp: Jump to Jail"); + l("Warp - Jump to Entrance"), // 10 + l("Warp - Jump to Weapon Room"), + l("Warp - Jump to Basement"), + l("Warp - Jump to Jail"); mes ""; switch (@menu) { case 2: diff --git a/npc/042-2/boss.txt b/npc/042-2/boss.txt index a115641be..964bea2c9 100644 --- a/npc/042-2/boss.txt +++ b/npc/042-2/boss.txt @@ -68,7 +68,7 @@ OnTimer60000: OnTimer67000: .@m$=instance_mapname("042-2"); - mapannounce .@m$, "??? : You require the key hidden in the caves, additionally you must overcome the magical seal.", 0; + mapannounce .@m$, b("??? : You require the key hidden in the caves, additionally you must overcome the magical seal."), 0; end; OnTimer74000: @@ -78,7 +78,7 @@ OnTimer74000: OnTimer80000: .@m$=instance_mapname("042-2"); - mapannounce .@m$, "General Krukan : Both is impossible for weaklings like you lot. Minions, ATTACK!", 0; + mapannounce .@m$, "General Krukan : ##1I am General Krukan the Strong. Minions, ATTACK!", 0; .@gcount=getd("$@GTEMP_PC_"+.@m$); kdoor0422Spawn(.@gcount*2, 20, 24, 59, 59); end; @@ -100,7 +100,7 @@ OnTimer120000: OnTimer180000: .@m$=instance_mapname("042-2"); .@n$=instance_npcname(.name$); - mapannounce .@m$, "General Krukan : Looks like if you want something done right you have to do it yourself. Charge!", 0; + mapannounce .@m$, "General Krukan : Looks like if you want something done right you have to do it yourself. ##1Charge!", 0; .@gcount=getd("$@GTEMP_PC_"+.@m$); .@avg=getd("$@GTEMP_MX_"+.@m$); kdoor0422Spawn(.@gcount*3, 20, 24, 59, 59); diff --git a/npc/042-3/jail.txt b/npc/042-3/jail.txt index 19c346a6c..199ab05a0 100644 --- a/npc/042-3/jail.txt +++ b/npc/042-3/jail.txt @@ -13,6 +13,10 @@ OnKillSlime: .@label$=instance_npcname(.name$)+"::OnKillSlime"; + if (!playerattached()) { + debugmes "[ERROR] Player not Attached on Slime Death D:"; + debugmes "[ERROR] Cannot retrieve coordinates!!"; + } if (@lockpicks) end; if (rand2(10000) > 1000) { @@ -24,6 +28,10 @@ OnKillSlime: end; OnFirstSlime: + if (!playerattached()) { + debugmes "[ERROR] Player not Attached on Slime Spawn D:"; + debugmes "[ERROR] Cannot retrieve coordinates!!"; + } getmapxy(.@m$, .@x, .@y, 0); sleep2(1800); .@mob=monster(.@m$, .@x, .@y, strmobinfo(1, CopperSlime), CopperSlime, 1, .@label$); @@ -34,11 +42,12 @@ OnFirstSlime: // Spawn Siege Towers OnInstanceInit: - .@m$=instance_mapname(.map$); + .@m$=instance_mapname("042-3"); + debugmes "Kamelot Init: Original %s Target %s", .map$, .@m$; // Fun fact monster(.@m$, 89, 133, strmobinfo(1, SiegeTower), SiegeTower, 1); monster(.@m$, 67, 114, strmobinfo(1, SiegeTower), SiegeTower, 1); monster(.@m$, 30, 121, strmobinfo(1, SiegeTower), SiegeTower, 1); - monster(.@m$, 23, 136, strmobinfo(1, SiegeTower), SiegeTower, 1); + monster(.@m$, 23, 137, strmobinfo(1, SiegeTower), SiegeTower, 1); monster(.@m$, 29, 103, strmobinfo(1, SiegeTower), SiegeTower, 1); monster(.@m$, 61, 91, strmobinfo(1, SiegeTower), SiegeTower, 1); monster(.@m$, 75, 69, strmobinfo(1, SiegeTower), SiegeTower, 1); @@ -125,7 +134,7 @@ OnKamelotSlide: OnTouch: .@g=getcharid(2); - warp "042-3@"+.@g, 41, 23; + warp "042-2@"+.@g, 41, 23; end; } diff --git a/npc/commands/kami.txt b/npc/commands/kami.txt index 4b62cfb17..71d71dc74 100644 --- a/npc/commands/kami.txt +++ b/npc/commands/kami.txt @@ -75,6 +75,9 @@ OnJustDoIt: //dispbottom l("STR: %d AGI %d VIT %d", readparam2(bStr), readparam2(bAgi), readparam2(bVit)); //unitskilluseid(getcharid(3), GD_LEADERSHIP, 1, getcharid(3)); // This is only for testing + $@GM_OVERRIDE=true; + atcommand("@speed 90"); + warp "Save", 0, 0; // areasc(range, time, skill code, who targets, power, filter) //areasc(9, 20000, SC_MAGNIFICAT, BL_PC, 1, "filter_sameguild"); @@ -86,7 +89,7 @@ OnInit: bindatcmd "blessing", "@k::OnBuff", 99, 100, 1; bindatcmd "skry", "@k::OnSkry", 80, 80, 1; - bindatcmd "gdreco", "@k::OnJustDoIt", 80, 80, 1; + bindatcmd "gdreco", "@k::OnJustDoIt", 99, 99, 1; bindatcmd "instcheck", "@k::OnInstCheck", 99, 100, 1; bindatcmd "instdestr", "@k::OnInstDestroy", 99, 100, 1; |