diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2012-01-12 16:49:30 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2012-01-12 16:51:16 +0100 |
commit | 2c604a56c725c2cc6f6617de113006283059cc1e (patch) | |
tree | 02d09d725ca826da9c1ea305c79927c5f2820c1a | |
parent | 101f56cae15f792cf4e2cdd6184b75d449119033 (diff) | |
download | serverdata-2c604a56c725c2cc6f6617de113006283059cc1e.tar.gz serverdata-2c604a56c725c2cc6f6617de113006283059cc1e.tar.bz2 serverdata-2c604a56c725c2cc6f6617de113006283059cc1e.tar.xz serverdata-2c604a56c725c2cc6f6617de113006283059cc1e.zip |
Barbarians: Fix in Wolvern ambushs.
Now the chance of getting ambushed goes from high to low instead of from low to high.
-rw-r--r-- | world/map/npc/034-1/ambushs.txt | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/world/map/npc/034-1/ambushs.txt b/world/map/npc/034-1/ambushs.txt index a6fc01dc..8bcd9ecc 100644 --- a/world/map/npc/034-1/ambushs.txt +++ b/world/map/npc/034-1/ambushs.txt @@ -1,14 +1,14 @@ // This file belongs to the wolvern hunting quest given by 033-1/birrod.txt // Author: Jenalya -034-1.gat,118,59,0|script|#Ambush0Trigger|32767,1,1,{ +034-1.gat,118,59,0|script|#Ambush0Trigger|32767,2,2,{ set @Q_Barbarians_MASK, NIBBLE_0_MASK; set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); if (@state != 4) end; - if (rand(50) > wolvern_count) + if (rand(50) < wolvern_count) end; if ($@Ambush0_Active != 0) @@ -55,14 +55,14 @@ OnWolvernDeath: end; } -034-1.gat,94,91,0|script|#Ambush1Trigger|32767,1,1,{ +034-1.gat,94,91,0|script|#Ambush1Trigger|32767,2,2,{ set @Q_Barbarians_MASK, NIBBLE_0_MASK; set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); if (@state != 4) end; - if (rand(50) > wolvern_count) + if (rand(50) < wolvern_count) end; if ($@Ambush1_Active != 0) @@ -109,14 +109,14 @@ OnWolvernDeath: end; } -034-1.gat,122,35,0|script|#Ambush2Trigger|32767,1,1,{ +034-1.gat,122,35,0|script|#Ambush2Trigger|32767,2,2,{ set @Q_Barbarians_MASK, NIBBLE_0_MASK; set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); if (@state != 4) end; - if (rand(50) > wolvern_count) + if (rand(50) < wolvern_count) end; if ($@Ambush2_Active != 0) @@ -163,14 +163,14 @@ OnWolvernDeath: end; } -034-1.gat,83,44,0|script|#Ambush3Trigger|32767,1,1,{ +034-1.gat,83,44,0|script|#Ambush3Trigger|32767,2,2,{ set @Q_Barbarians_MASK, NIBBLE_0_MASK; set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); if (@state != 4) end; - if (rand(50) > wolvern_count) + if (rand(50) < wolvern_count) end; if ($@Ambush3_Active != 0) @@ -217,14 +217,14 @@ OnWolvernDeath: end; } -034-1.gat,74,28,0|script|#Ambush4Trigger|32767,1,1,{ +034-1.gat,74,28,0|script|#Ambush4Trigger|32767,2,2,{ set @Q_Barbarians_MASK, NIBBLE_0_MASK; set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); if (@state != 4) end; - if (rand(50) > wolvern_count) + if (rand(50) < wolvern_count) end; if ($@Ambush4_Active != 0) @@ -271,14 +271,14 @@ OnWolvernDeath: end; } -034-1.gat,26,44,0|script|#Ambush5Trigger|32767,1,1,{ +034-1.gat,26,44,0|script|#Ambush5Trigger|32767,2,2,{ set @Q_Barbarians_MASK, NIBBLE_0_MASK; set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); if (@state != 4) end; - if (rand(50) > wolvern_count) + if (rand(50) < wolvern_count) end; if ($@Ambush5_Active != 0) @@ -325,14 +325,14 @@ OnWolvernDeath: end; } -034-1.gat,50,47,0|script|#Ambush6Trigger|32767,1,1,{ +034-1.gat,50,47,0|script|#Ambush6Trigger|32767,2,2,{ set @Q_Barbarians_MASK, NIBBLE_0_MASK; set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); if (@state != 4) end; - if (rand(50) > wolvern_count) + if (rand(50) < wolvern_count) end; if ($@Ambush6_Active != 0) @@ -379,14 +379,14 @@ OnWolvernDeath: end; } -034-1.gat,36,62,0|script|#Ambush7Trigger|32767,1,1,{ +034-1.gat,36,62,0|script|#Ambush7Trigger|32767,2,2,{ set @Q_Barbarians_MASK, NIBBLE_0_MASK; set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); if (@state != 4) end; - if (rand(50) > wolvern_count) + if (rand(50) < wolvern_count) end; if ($@Ambush7_Active != 0) @@ -433,14 +433,14 @@ OnWolvernDeath: end; } -034-1.gat,26,95,0|script|#Ambush8Trigger|32767,1,1,{ +034-1.gat,26,95,0|script|#Ambush8Trigger|32767,2,2,{ set @Q_Barbarians_MASK, NIBBLE_0_MASK; set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); if (@state != 4) end; - if (rand(50) > wolvern_count) + if (rand(50) < wolvern_count) end; if ($@Ambush8_Active != 0) @@ -487,14 +487,14 @@ OnWolvernDeath: end; } -034-1.gat,56,91,0|script|#Ambush9Trigger|32767,1,1,{ +034-1.gat,56,91,0|script|#Ambush9Trigger|32767,2,2,{ set @Q_Barbarians_MASK, NIBBLE_0_MASK; set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); if (@state != 4) end; - if (rand(50) > wolvern_count) + if (rand(50) < wolvern_count) end; if ($@Ambush9_Active != 0) @@ -541,14 +541,14 @@ OnWolvernDeath: end; } -034-1.gat,65,66,0|script|#Ambush10Trigger|32767,1,1,{ +034-1.gat,65,66,0|script|#Ambush10Trigger|32767,2,2,{ set @Q_Barbarians_MASK, NIBBLE_0_MASK; set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); if (@state != 4) end; - if (rand(50) > wolvern_count) + if (rand(50) < wolvern_count) end; if ($@Ambush10_Active != 0) @@ -595,14 +595,14 @@ OnWolvernDeath: end; } -034-1.gat,86,68,0|script|#Ambush11Trigger|32767,1,1,{ +034-1.gat,86,68,0|script|#Ambush11Trigger|32767,2,2,{ set @Q_Barbarians_MASK, NIBBLE_0_MASK; set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); if (@state != 4) end; - if (rand(50) > wolvern_count) + if (rand(50) < wolvern_count) end; if ($@Ambush11_Active != 0) @@ -649,14 +649,14 @@ OnWolvernDeath: end; } -034-1.gat,101,79,0|script|#Ambush12Trigger|32767,1,1,{ +034-1.gat,101,79,0|script|#Ambush12Trigger|32767,2,2,{ set @Q_Barbarians_MASK, NIBBLE_0_MASK; set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); if (@state != 4) end; - if (rand(50) > wolvern_count) + if (rand(50) < wolvern_count) end; if ($@Ambush12_Active != 0) @@ -703,14 +703,14 @@ OnWolvernDeath: end; } -034-1.gat,124,88,0|script|#Ambush13Trigger|32767,1,1,{ +034-1.gat,124,88,0|script|#Ambush13Trigger|32767,2,2,{ set @Q_Barbarians_MASK, NIBBLE_0_MASK; set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); if (@state != 4) end; - if (rand(50) > wolvern_count) + if (rand(50) < wolvern_count) end; if ($@Ambush13_Active != 0) @@ -757,14 +757,14 @@ OnWolvernDeath: end; } -034-1.gat,117,103,0|script|#Ambush14Trigger|32767,1,1,{ +034-1.gat,117,103,0|script|#Ambush14Trigger|32767,2,2,{ set @Q_Barbarians_MASK, NIBBLE_0_MASK; set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT); if (@state != 4) end; - if (rand(50) > wolvern_count) + if (rand(50) < wolvern_count) end; if ($@Ambush14_Active != 0) |