diff options
author | wushin <pasekei@gmail.com> | 2014-11-05 11:46:43 -0600 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2014-11-05 11:47:19 -0600 |
commit | 5d120bb8b43c551755d3bde6fb62b68b232e8854 (patch) | |
tree | bbd4eaeea5e8bde1ee0d9e90d188e55f4c280d78 /world/map/npc/042-2/barrels_config.txt | |
parent | e72d67766020ec3cc177f0c80a404711146ef7c5 (diff) | |
download | serverdata-5d120bb8b43c551755d3bde6fb62b68b232e8854.tar.gz serverdata-5d120bb8b43c551755d3bde6fb62b68b232e8854.tar.bz2 serverdata-5d120bb8b43c551755d3bde6fb62b68b232e8854.tar.xz serverdata-5d120bb8b43c551755d3bde6fb62b68b232e8854.zip |
Fix Monster entries
Diffstat (limited to 'world/map/npc/042-2/barrels_config.txt')
-rw-r--r-- | world/map/npc/042-2/barrels_config.txt | 12 |
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) |