diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2012-02-01 20:55:08 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2012-02-01 23:25:38 +0100 |
commit | d7a75fccd6400efd31780cc56fa2b808c822b7a4 (patch) | |
tree | e57bf5a47bad9b6f469b2ea241f01b35c9e856e8 /world/map/npc/033-1 | |
parent | 56002cde0922fbf921be7fe3d6e44b095cfdc2c8 (diff) | |
download | classic-serverdata-d7a75fccd6400efd31780cc56fa2b808c822b7a4.tar.gz classic-serverdata-d7a75fccd6400efd31780cc56fa2b808c822b7a4.tar.bz2 classic-serverdata-d7a75fccd6400efd31780cc56fa2b808c822b7a4.tar.xz classic-serverdata-d7a75fccd6400efd31780cc56fa2b808c822b7a4.zip |
Barbarian ambushs:
- fix bug that prevents ambushs from happening again if a different player killed the last wolvern
- save which ambushs has already been triggered in a temporary variable to prevent a player using only one ambush again and again
Diffstat (limited to 'world/map/npc/033-1')
-rw-r--r-- | world/map/npc/033-1/barbarianinit.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/world/map/npc/033-1/barbarianinit.txt b/world/map/npc/033-1/barbarianinit.txt index 25d9399c..3307ac0f 100644 --- a/world/map/npc/033-1/barbarianinit.txt +++ b/world/map/npc/033-1/barbarianinit.txt @@ -3,4 +3,20 @@ OnInit: set $@Q_Barbarians_MASK, NIBBLE_0_MASK; set $@Q_Barbarians_SHIFT, NIBBLE_0_SHIFT; set $@Q_Barbarians_wolvern_amount, 16; + set $@Q_Barbarians_Ambush_max, 0x00007FFF; + set $@Q_Barbarians_Ambush0_flag, 0x00000001; + set $@Q_Barbarians_Ambush1_flag, 0x00000002; + set $@Q_Barbarians_Ambush2_flag, 0x00000004; + set $@Q_Barbarians_Ambush3_flag, 0x00000008; + set $@Q_Barbarians_Ambush4_flag, 0x00000010; + set $@Q_Barbarians_Ambush5_flag, 0x00000020; + set $@Q_Barbarians_Ambush6_flag, 0x00000040; + set $@Q_Barbarians_Ambush7_flag, 0x00000080; + set $@Q_Barbarians_Ambush8_flag, 0x00000100; + set $@Q_Barbarians_Ambush9_flag, 0x00000200; + set $@Q_Barbarians_Ambush10_flag, 0x00000400; + set $@Q_Barbarians_Ambush11_flag, 0x00000800; + set $@Q_Barbarians_Ambush12_flag, 0x00001000; + set $@Q_Barbarians_Ambush13_flag, 0x00002000; + set $@Q_Barbarians_Ambush14_flag, 0x00004000; } |