summaryrefslogtreecommitdiff
path: root/world/map/npc/042-2/barrels_config.txt
diff options
context:
space:
mode:
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)