Skip to content
This repository was archived by the owner on Jun 9, 2022. It is now read-only.

Commit 83e9577

Browse files
committed
Adding spell_school_immune_mask closes #69
+ updating some creature flag enums; + fixed creature "Show Creature Template Script" button by not jumping to "Script" tab.
1 parent b32e8f4 commit 83e9577

8 files changed

+127
-72
lines changed

CREATELANG/Default.lng

+1
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ btDeleteCreature=Del Creature
611611
btBrowseCreature=Browse Site
612612
tsEditCreature=Creature Template
613613
lbctmechanic_immune_mask=mechanic_immune_mask
614+
lbctspell_school_immune_mask=spell_school_immune_mask
614615
gbCreature=Creature I
615616
lbctEntry=Entry
616617
lbctheroic_entry=heroic_entry

CREATELANG/zzzMainForm.lng

+1
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ btDeleteCreature=Del Creature
302302
btBrowseCreature=Browse Site
303303
tsEditCreature=Creature Template
304304
lbctmechanic_immune_mask=mechanic_immune_mask
305+
lbctspell_school_immune_mask=spell_school_immune_mask
305306
gbCreature=Creature I
306307
lbctEntry=Entry
307308
lbctheroic_entry=heroic_entry

CSV/CreatureFlag1.csv

+32-32
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
0;TAMEABLE (by any hunter)
2-
1;GHOST (also visible to dead players)
3-
2;UNK3 ("BOSS" flag for tooltips)
4-
3;UNK4
5-
4;UNK5 (controls something in client tooltip related to creature faction)
6-
5;UNK6 (may be sound related)
7-
6;UNK7 (may be related to attackable / not attackable creatures with spells, used together with lua_IsHelpfulSpell/lua_IsHarmfulSpell)
8-
7;DEAD_INTERACT (has something to do with unit interaction / quest status requests)
9-
8;HERBALISM
10-
9;MINING
11-
10;UNK11 (it used by client)
12-
11;MOUNTED_COMBAT (related to possibility to cast spells while mounted)
13-
12;AID_PLAYERS (can aid player in range)
14-
13;UNK14 (checked from calls in Lua_PetHasActionBar)
15-
14;UNK15 (Lua_UnitGUID, client does guid_low &= 0xFF000000 if this flag is set)
16-
15;ENGINEERLOOT
17-
16;EXOTIC (hunter exotic pet)
18-
17;UNK18 (related to CreatureDisplayInfo and scaling in some way)
19-
18;UNK19 (Related to vehicle/siege weapons?)
20-
19;UNK20 (may be has something to do with missiles)
21-
20;UNK21 (used by client, may be related to rendering)
22-
21;UNK22 (disable animation?)
23-
22;UNK23 (probably controls some creature visual)
24-
23;SQUIRE (Related to banner/backpack of creature/companion, used in CanInteract function by client)
25-
24;UNK25 (pet sounds related?)
26-
25;UNK26 (probably controls some creature visual)
27-
26;UNK27 (creature has no type, or forces creature to be considered as in party, may be related to creature assistance)
28-
27;UNK28 (used in Lua_ForceGossip)
29-
28;UNK29 (no idea, but it used by client)
30-
29;UNK30
31-
30;UNK31
32-
31;QUEST_BOSS (Lua_UnitIsQuestBoss)
1+
0;TAMEABLE_PET (by any hunter)
2+
1;GHOST_VISIBLE (also visible to dead players)
3+
2;BOSS_MOB ("BOSS" flag for tooltips)
4+
3;DO_NOT_PLAY_WOUND_PARRY_ANIMATION
5+
4;HIDE_FACTION_TOOLTIP (controls something in client tooltip related to creature faction)
6+
5;UNK5 (sound related)
7+
6;SPELL_ATTACKABLE
8+
7;CAN_INTERACT_WHILE_DEAD
9+
8;HERB_SKINNING_SKILL (Can be looted by herbalist)
10+
9;MINING_SKINNING_SKILL (Can be looted by miner)
11+
10;DO_NOT_LOG_DEATH (Death event will not show up in combat log)
12+
11;MOUNTED_COMBAT_ALLOWED (Creature can remain mounted when entering combat)
13+
12;CAN_ASSIST (can aid player in range)
14+
13;IS_PET_BAR_USED (checked from calls in Lua_PetHasActionBar)
15+
14;MASK_UID (Lua_UnitGUID, client does guid_low &= 0xFF000000 if this flag is set)
16+
15;ENGINEERING_SKINNING_SKILL (Can be looted by engineer)
17+
16;EXOTIC_PET (Can be tamed by hunter as exotic pet)
18+
17;USE_DEFAULT_COLLISION_BOX (Collision related. (always using default collision box?))
19+
18;IS_SIEGE_WEAPON (Related to vehicle/siege weapons?)
20+
19;CAN_COLLIDE_WITH_MISSILES (Projectiles can collide with this creature - interacts with TARGET_DEST_TRAJ)
21+
20;HIDE_NAME_PLATE (used by client, may be related to rendering)
22+
21;DO_NOT_PLAY_MOUNTED_ANIMATIONS (disable animation?)
23+
22;IS_LINK_ALL (probably controls some creature visual)
24+
23;INTERACT_ONLY_WITH_CREATOR
25+
24;DO_NOT_PLAY_UNIT_EVENT_SOUNDS (pet sounds related?)
26+
25;HAS_NO_SHADOW_BLOB (probably controls some creature visual)
27+
26;TREAT_AS_RAID_UNIT (creature has no type, or forces creature to be considered as in party, may be related to creature assistance)
28+
27;FORCE_GOSSIP
29+
28;DO_NOT_SHEATHE
30+
29;DO_NOT_TARGET_ON_INTERACTION
31+
30;DO_NOT_RENDER_OBJECT_NAME
32+
31;UNIT_IS_QUEST_BOSS (Not verified)

CSV/CreatureSpellsMechanic.csv

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
0;SPELL_SCHOOL_MASK_NORMAL
2+
1;SPELL_SCHOOL_MASK_HOLY
3+
2;SPELL_SCHOOL_MASK_FIRE
4+
3;SPELL_SCHOOL_MASK_NATURE
5+
4;SPELL_SCHOOL_MASK_FROST
6+
5;SPELL_SCHOOL_MASK_SHADOW
7+
6;SPELL_SCHOOL_MASK_ARCANE

CSV/Mechanic.csv

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@
2828
27;DISCOVERY
2929
28;IMMUNE_SHIELD
3030
29;SAPPED
31-
30;ENRAGED
31+
30;ENRAGED
32+
31;WOUNDED

LANG/Default.lng

+1
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ btDeleteCreature=Del Creature
611611
btBrowseCreature=Browse Site
612612
tsEditCreature=Creature Template
613613
lbctmechanic_immune_mask=mechanic_immune_mask
614+
lbctspell_school_immune_mask=spell_school_immune_mask
614615
gbCreature=Creature I
615616
lbctEntry=Entry
616617
lbctheroic_entry=heroic_entry

0 commit comments

Comments
 (0)