summaryrefslogtreecommitdiff
path: root/npc/quests/seals
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-07-26 19:53:35 +0200
committerGitHub <noreply@github.com>2020-07-26 19:53:35 +0200
commit4edc4cd4f2f4d30e2f1142c2938aaa7d42fd40fe (patch)
treed33bd048e9b74b104542b39b34fbff13ff5e078c /npc/quests/seals
parente523cc59ae44f38f2b48e7c610ec61b4bcba4e03 (diff)
parent17c3637481b1255923f13f070108bcfa49a567f2 (diff)
downloadhercules-4edc4cd4f2f4d30e2f1142c2938aaa7d42fd40fe.tar.gz
hercules-4edc4cd4f2f4d30e2f1142c2938aaa7d42fd40fe.tar.bz2
hercules-4edc4cd4f2f4d30e2f1142c2938aaa7d42fd40fe.tar.xz
hercules-4edc4cd4f2f4d30e2f1142c2938aaa7d42fd40fe.zip
Merge pull request #2798 from skyleo/ontouch_areawarp_refactor
Refactor scripts that use OnTouch Logic to use areawarp instead
Diffstat (limited to 'npc/quests/seals')
-rw-r--r--npc/quests/seals/god_weapon_creation.txt40
1 files changed, 3 insertions, 37 deletions
diff --git a/npc/quests/seals/god_weapon_creation.txt b/npc/quests/seals/god_weapon_creation.txt
index 8009bd36d..17979e51a 100644
--- a/npc/quests/seals/god_weapon_creation.txt
+++ b/npc/quests/seals/god_weapon_creation.txt
@@ -807,41 +807,15 @@ OnTimer610000:
end;
OnTimer612000:
- donpcevent "god_wep_warpmaster::OnEnable";
+ areawarp("que_god01", 130, 55, 190, 135, "prontera", 156, 324);
end;
OnTimer615000:
- donpcevent "god_wep_warpmaster::OnDisable";
donpcevent "#god_hopewarp1::OnReset";
stopnpctimer;
end;
}
-que_god01,169,82,0 script god_wep_warpmaster FAKE_NPC,{
-OnEnable:
- for(.@i = 1; .@i<=6; ++.@i)
- enablenpc "god_failwarp#"+.@i;
- end;
-OnDisable:
- for(.@i = 1; .@i<=6; ++.@i)
- disablenpc "god_failwarp#"+.@i;
- end;
-}
-
-que_god01,154,67,0 script god_failwarp#1 FAKE_NPC,4,7,{
-OnInit:
- disablenpc strnpcinfo(NPC_NAME);
- end;
-OnTouch:
- warp "prontera",156,324;
- end;
-}
-que_god01,154,82,0 duplicate(god_failwarp#1) god_failwarp#2 FAKE_NPC,4,7
-que_god01,145,99,0 duplicate(god_failwarp#1) god_failwarp#3 FAKE_NPC,9,9
-que_god01,164,99,0 duplicate(god_failwarp#1) god_failwarp#4 FAKE_NPC,9,9
-que_god01,145,118,0 duplicate(god_failwarp#1) god_failwarp#5 FAKE_NPC,9,9
-que_god01,164,118,0 duplicate(god_failwarp#1) god_failwarp#6 FAKE_NPC,9,9
-
// Original name: "Godly Item Quests Related#god"
que_god01,293,3,0 script Godly Item Quests#god 4_F_01,{
callfunc "F_GM_NPC";
@@ -864,24 +838,16 @@ que_god01,293,3,0 script Godly Item Quests#god 4_F_01,{
mes "[Use in case of emergency]";
mes "What services would you like to use?";
next;
- switch(select("Turn off Warps.", "Reset Timer.", "Reset chat room.")) {
+ switch(select("Reset Timer.", "Reset chat room.")) {
case 1:
mes "[Use in case of emergency]";
- mes "Press the 'Next' button to turn off warps.";
- next;
- donpcevent "god_wep_warpmaster::OnDisable";
- mes "[Use in case of emergency]";
- mes "You have successfully turned off warps.";
- close;
- case 2:
- mes "[Use in case of emergency]";
mes "Press the 'Next' button to reset timer.";
next;
donpcevent "Grunburti#god::OnEnable";
mes "[Use in case of emergency]";
mes "You have successfully reset timer.";
close;
- case 3:
+ case 2:
mes "[Use in case of emergency]";
mes "Please press the 'Next' button to reset the arena chat room in que_god01.";
next;