summaryrefslogtreecommitdiff
path: root/world/map/npc/052-1/channelling.txt
diff options
context:
space:
mode:
authorVincent Petithory <vincent.petithory@gmail.com>2012-12-22 18:53:53 +0100
committerVincent Petithory <vincent.petithory@gmail.com>2012-12-22 20:32:25 +0100
commit71993e499d87fdcc3eff19c6acfd1e64d4d23b7a (patch)
treecae02cbee361ca4d218e8b8b9ba67ef3ea1bcbbd /world/map/npc/052-1/channelling.txt
parent8cf0f255ea252c2302605d51fb339c439d4cb759 (diff)
downloadserverdata-71993e499d87fdcc3eff19c6acfd1e64d4d23b7a.tar.gz
serverdata-71993e499d87fdcc3eff19c6acfd1e64d4d23b7a.tar.bz2
serverdata-71993e499d87fdcc3eff19c6acfd1e64d4d23b7a.tar.xz
serverdata-71993e499d87fdcc3eff19c6acfd1e64d4d23b7a.zip
Illia Island: replace mapannounce by a message popup, for notifying quest status changes
Diffstat (limited to 'world/map/npc/052-1/channelling.txt')
-rw-r--r--world/map/npc/052-1/channelling.txt18
1 files changed, 14 insertions, 4 deletions
diff --git a/world/map/npc/052-1/channelling.txt b/world/map/npc/052-1/channelling.txt
index 9c6ffe88..4c2c3765 100644
--- a/world/map/npc/052-1/channelling.txt
+++ b/world/map/npc/052-1/channelling.txt
@@ -238,17 +238,27 @@ S_CheckChannelling:
detachrid;
+ set $@illia_channelling_status_msg$, "";
+
if ($@illia_magic_power_last_status == 0 && $@illia_magic_power_status == 1)
- mapannounce "052-1.gat", $@illia_char_channelling$ + ": I think I'm controlling the spell again now. Keep up!", 0;
+ set $@illia_channelling_status_msg$, $@illia_char_channelling$ + ": I think I'm controlling the spell again now. Keep up!";
if ($@illia_magic_power_last_status == 1 && $@illia_magic_power_status == 0)
- mapannounce "052-1.gat", $@illia_char_channelling$ + ": Guys I'm loosing it! Hurry up!", 0;
+ set $@illia_channelling_status_msg$, $@illia_char_channelling$ + ": Guys I'm loosing it! Hurry up!";
if ($@illia_magic_power_last_status == 1 && $@illia_magic_power_status == 2)
- mapannounce "052-1.gat", $@illia_char_channelling$ + ": I almost have the power to cast it! One last effort!", 0;
+ set $@illia_channelling_status_msg$, $@illia_char_channelling$ + ": I almost have the power to cast it! One last effort!";
if ($@illia_magic_power_last_status == 2 && $@illia_magic_power_status == 1)
- mapannounce "052-1.gat", $@illia_char_channelling$ + ": Damn! It faded a little.", 0;
+ set $@illia_channelling_status_msg$, $@illia_char_channelling$ + ": Damn! It faded a little.";
+
+ if ($@illia_channelling_status_msg$ != "")
+ areatimer "052-1.gat", 1, 1, 100, 80, 0, "#Power Circle::onMPSC";
return;
+onMPSC:
+ message strcharinfo(0), $@illia_channelling_status_msg$;
+ set $@illia_channelling_status_msg$, "";
+ end;
+
L_ChannellingComplete:
message strcharinfo(0), "You successfully cast the spell and broke the door's enchantment!";
detachrid;