mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[10105] Condition CONDITION_ZONEID (4) extanded way work.
* Condition CONDITION_ZONEID renamed CONDITION_AREAID and now work also with subzone area ids * Second arg of condition cna be 0 or 1 now in in case 1 check "not in area" case * Also all condition related error output include condition id.
This commit is contained in:
parent
11372496e5
commit
e203a235ba
3 changed files with 56 additions and 49 deletions
|
|
@ -302,7 +302,7 @@ enum ConditionType
|
|||
CONDITION_AURA = 1, // spell_id effindex
|
||||
CONDITION_ITEM = 2, // item_id count
|
||||
CONDITION_ITEM_EQUIPPED = 3, // item_id 0
|
||||
CONDITION_ZONEID = 4, // zone_id 0
|
||||
CONDITION_AREAID = 4, // area_id 0, 1 (0: in (sub)area, 1: not in (sub)area)
|
||||
CONDITION_REPUTATION_RANK = 5, // faction_id min_rank
|
||||
CONDITION_TEAM = 6, // player_team 0, (469 - Alliance 67 - Horde)
|
||||
CONDITION_SKILL = 7, // skill_id skill_value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue