diff options
author | Saulc <lucashelaine14@gmail.com> | 2018-02-06 23:21:20 +0100 |
---|---|---|
committer | Saulc <lucashelaine14@gmail.com> | 2018-02-06 23:21:20 +0100 |
commit | 95c3832b02b027a8be296f618ff3585a288389ad (patch) | |
tree | 971705767ccf1cf91ac4fa1890539314ba574fd9 /npc/002-2/ratto.txt | |
parent | f127d9cc42a1a1431dff8ca39d7d3f515216d1a2 (diff) | |
download | serverdata-95c3832b02b027a8be296f618ff3585a288389ad.tar.gz serverdata-95c3832b02b027a8be296f618ff3585a288389ad.tar.bz2 serverdata-95c3832b02b027a8be296f618ff3585a288389ad.tar.xz serverdata-95c3832b02b027a8be296f618ff3585a288389ad.zip |
add 002-2 map
Diffstat (limited to 'npc/002-2/ratto.txt')
-rw-r--r-- | npc/002-2/ratto.txt | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/npc/002-2/ratto.txt b/npc/002-2/ratto.txt new file mode 100644 index 000000000..39827420a --- /dev/null +++ b/npc/002-2/ratto.txt @@ -0,0 +1,68 @@ +// Evol scripts. +// Authors: +// Ablu +// Alastrim +// Reid +// Description: +// Ratto killer. + +// $@RAT_SAILOR_CONTROL array explanation: +// [1] = Shows status of ratto number 1 (1 is dead and 0 is alive). +// [2] = Shows status of ratto number 2 (1 is dead and 0 is alive). +// [3] = Shows status of ratto number 3 (1 is dead and 0 is alive). +// [4] = Shows status of ratto number 4 (1 is dead and 0 is alive). +// [5] = Shows how many seconds passed since ratto number 1 died. +// [6] = Shows how many seconds passed since ratto number 2 died. +// [7] = Shows how many seconds passed since ratto number 3 died. +// [8] = Shows how many seconds passed since ratto number 4 died. +// [9] = Shows how many seconds passed since the player started the quest. + +000-2,47,30,0 script RattosControl NPC_HIDDEN,{ + +OnSpawn: + areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto1Death"; + areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto2Death"; + areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto3Death"; + areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto4Death"; + close; + +OnRatto1Respawn: + areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto1Death"; + $@RAT_SAILOR_CONTROL[1] = 0; + $@RAT_SAILOR_CONTROL[5] = 0; + end; + +OnRatto2Respawn: + areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto2Death"; + $@RAT_SAILOR_CONTROL[2] = 0; + $@RAT_SAILOR_CONTROL[6] = 0; + end; + +OnRatto3Respawn: + areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto3Death"; + $@RAT_SAILOR_CONTROL[3] = 0; + $@RAT_SAILOR_CONTROL[7] = 0; + end; + +OnRatto4Respawn: + areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto4Death"; + $@RAT_SAILOR_CONTROL[4] = 0; + $@RAT_SAILOR_CONTROL[8] = 0; + end; + +OnRatto1Death: + $@RAT_SAILOR_CONTROL[1] = 1; + end; + +OnRatto2Death: + $@RAT_SAILOR_CONTROL[2] = 1; + end; + +OnRatto3Death: + $@RAT_SAILOR_CONTROL[3] = 1; + end; + +OnRatto4Death: + $@RAT_SAILOR_CONTROL[4] = 1; + end; +} |