diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-05 12:47:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-05 12:47:25 +0300 |
commit | 6eeae2ee499b4aec7b9f771c75ff09264d79c8fd (patch) | |
tree | d024b7517c78adc0cfda5f4d4d17ac03ced5cb3a /npc/000-2-2/ratto.txt | |
parent | 58cf99bc280bb54f3c6ad6538ae3bc14fd54ec7f (diff) | |
download | serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.tar.gz serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.tar.bz2 serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.tar.xz serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.zip |
Replace script function set to direct variable assignments.
Diffstat (limited to 'npc/000-2-2/ratto.txt')
-rw-r--r-- | npc/000-2-2/ratto.txt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/npc/000-2-2/ratto.txt b/npc/000-2-2/ratto.txt index 1c65fe40..ef4b5a40 100644 --- a/npc/000-2-2/ratto.txt +++ b/npc/000-2-2/ratto.txt @@ -28,41 +28,41 @@ OnSpawn: OnRatto1Respawn: areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto1Death"; - set $@RAT_SAILOR_CONTROL[1], 0; - set $@RAT_SAILOR_CONTROL[5], 0; + $@RAT_SAILOR_CONTROL[1] = 0; + $@RAT_SAILOR_CONTROL[5] = 0; end; OnRatto2Respawn: areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto2Death"; - set $@RAT_SAILOR_CONTROL[2], 0; - set $@RAT_SAILOR_CONTROL[6], 0; + $@RAT_SAILOR_CONTROL[2] = 0; + $@RAT_SAILOR_CONTROL[6] = 0; end; OnRatto3Respawn: areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto3Death"; - set $@RAT_SAILOR_CONTROL[3], 0; - set $@RAT_SAILOR_CONTROL[7], 0; + $@RAT_SAILOR_CONTROL[3] = 0; + $@RAT_SAILOR_CONTROL[7] = 0; end; OnRatto4Respawn: areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto4Death"; - set $@RAT_SAILOR_CONTROL[4], 0; - set $@RAT_SAILOR_CONTROL[8], 0; + $@RAT_SAILOR_CONTROL[4] = 0; + $@RAT_SAILOR_CONTROL[8] = 0; end; OnRatto1Death: - set $@RAT_SAILOR_CONTROL[1], 1; + $@RAT_SAILOR_CONTROL[1] = 1; end; OnRatto2Death: - set $@RAT_SAILOR_CONTROL[2], 1; + $@RAT_SAILOR_CONTROL[2] = 1; end; OnRatto3Death: - set $@RAT_SAILOR_CONTROL[3], 1; + $@RAT_SAILOR_CONTROL[3] = 1; end; OnRatto4Death: - set $@RAT_SAILOR_CONTROL[4], 1; + $@RAT_SAILOR_CONTROL[4] = 1; end; } |