summaryrefslogtreecommitdiff
path: root/world/map/npc/042-2/barrels_config.txt
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2014-11-07 08:42:44 -0600
committerWushin <pasekei@gmail.com>2014-11-07 08:42:44 -0600
commit63c2f12d64ab327d60fc41bfa37fd12b5f7e7649 (patch)
treefd9087fa7497649a1f4defc4cf8e9b1c241fe0b0 /world/map/npc/042-2/barrels_config.txt
parent95c0fa59d5ab80b96500a89aa9d28fe87e544dc6 (diff)
parent4cc9ace3c293a6592bcca06db2a558e01308372a (diff)
downloadserverdata-63c2f12d64ab327d60fc41bfa37fd12b5f7e7649.tar.gz
serverdata-63c2f12d64ab327d60fc41bfa37fd12b5f7e7649.tar.bz2
serverdata-63c2f12d64ab327d60fc41bfa37fd12b5f7e7649.tar.xz
serverdata-63c2f12d64ab327d60fc41bfa37fd12b5f7e7649.zip
Merge pull request #206 from wushin/AST-FIX
AST script fix
Diffstat (limited to 'world/map/npc/042-2/barrels_config.txt')
-rw-r--r--world/map/npc/042-2/barrels_config.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/world/map/npc/042-2/barrels_config.txt b/world/map/npc/042-2/barrels_config.txt
index 0b45af21..d125d9e1 100644
--- a/world/map/npc/042-2/barrels_config.txt
+++ b/world/map/npc/042-2/barrels_config.txt
@@ -1,7 +1,7 @@
// Barrels
// Author: Wushin
-042-2.gat,33,88,24,7|monster|HouseMaggot|1050,2,100000,30000,Barrel#0::OnMaggotDeath
--|script|#BarrelConfig|-1,
+042-2.gat,33,88,24,7|monster|HouseMaggot|1050,2,100000ms,30000ms,Barrel#0::OnMaggotDeath
+-|script|#BarrelConfig|-1
{
end;
@@ -14,19 +14,19 @@ OnInit:
set $@BarrelMax, getarraysize($@BarrelBits);
end;
}
-function|script|SetBarrelMask|,
+function|script|SetBarrelMask
{
set STARTAREA, (STARTAREA & ~(NIBBLE_4_MASK) | (@barrel_tmp << NIBBLE_4_SHIFT));
set @barrel_tmp, 0;
return;
}
-function|script|CheckBarrelQuest|,
+function|script|CheckBarrelQuest
{
callfunc "CountBarrels";
set @barrel_quest, ((STARTAREA & NIBBLE_4_MASK) >> NIBBLE_4_SHIFT);
return;
}
-function|script|CountBarrels|,
+function|script|CountBarrels
{
set @barrel_count, 0;
set @count_tmp, 0;
@@ -50,7 +50,7 @@ L_LoopAgain:
L_BarrelTally:
return;
}
-function|script|CheckBarrel|,
+function|script|CheckBarrel
{
callfunc "PCtoNPCRange";
if (@npc_check)