Skip to content

Commit

Permalink
Update auras, spell attributes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Warlord123 authored and LordJZ committed Sep 27, 2011
1 parent 51a2dd3 commit c16a989
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 71 deletions.
4 changes: 2 additions & 2 deletions SpellWork/DBC/Structure.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public struct SpellEntry
public uint AttributesEx4; // 8 m_attributesExD
public uint AttributesEx5; // 9 m_attributesExE
public uint AttributesEx6; // 10 m_attributesExF
public uint AttributesExG; // 11 3.2.0 (0x20 - totems, 0x4 - paladin auras, etc...)
public uint AttributesEx7; // 11 3.2.0 (0x20 - totems, 0x4 - paladin auras, etc...)
public ulong Stances; // 12-13 m_shapeshiftMask
public ulong StancesNot; // 14-15 m_shapeshiftExclude
public uint Targets; // 16 m_targets
Expand Down Expand Up @@ -170,7 +170,7 @@ public struct SpellEntry
public uint SpellMissileID; // 227 m_spellMissileID not used
public uint PowerDisplayId; // 228 PowerDisplay.dbc, new in 3.1
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
public float[] Unk_320_4; // 229-231 3.2.0
public float[] EffectCoeffs; // 229-231 3.2.0
public uint SpellDescriptionVariableID; // 232 3.2.0
public uint SpellDifficultyId; // 233 3.3.0 // 239 3.3.0

Expand Down
2 changes: 1 addition & 1 deletion SpellWork/Forms/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private void AdvancedSearch()
|| (spell.AttributesEx4 & at) != 0
|| (spell.AttributesEx5 & at) != 0
|| (spell.AttributesEx6 & at) != 0
|| (spell.AttributesExG & at) != 0))
|| (spell.AttributesEx7 & at) != 0))

&& ((id != 0 || ic != 0 && at != 0) || spell.SpellName.ContainsText(name))

Expand Down
2 changes: 1 addition & 1 deletion SpellWork/Forms/FormSearch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private void IdName_KeyDown(object sender, KeyEventArgs e)
|| (spell.AttributesEx4 & at) != 0
|| (spell.AttributesEx5 & at) != 0
|| (spell.AttributesEx6 & at) != 0
|| (spell.AttributesExG & at) != 0))
|| (spell.AttributesEx7 & at) != 0))

&& (id != 0 || ic != 0 && at != 0) || spell.SpellName.ContainsText(name)

Expand Down
Loading

0 comments on commit c16a989

Please sign in to comment.