Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.3.4 #2

Open
wants to merge 68 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
f80b0ab
Updated README
Mar 28, 2011
af8b58e
gitignore cleanup
Shauren Mar 28, 2011
f29e138
Whitespace cleanup
Shauren Mar 28, 2011
402be98
Implemented SpellDifficulty.dbc
Shauren Mar 28, 2011
bf3bec5
Reversed displayed order of EffectSpellClassMask and SpellFamilyFlags…
Shauren Mar 31, 2011
fd9c44a
Merge branch 'master' of git://github.com/LordJZ/spellwork_cs
Shauren Apr 18, 2011
544c430
Added TrinityCore defaults, removed some engrish and updated mysql dep
Shauren Apr 19, 2011
9dc3509
missed
Shauren Apr 19, 2011
3b89022
Added space between reagent id and count, small change but readabilit…
Shauren Apr 25, 2011
35fa47c
Cleaned all R# warnings
Shauren May 11, 2011
9371f31
Added more spell attributes
Shauren May 26, 2011
370f964
Fixed flag setting
Shauren May 27, 2011
835eb06
Attribute updates
Shauren Jul 2, 2011
b8d9c3a
More QAston's attributes
Shauren Jul 2, 2011
28563a8
Spell target updates
Shauren Jul 2, 2011
7efcc41
Added ReSharper directory to gitignore
Shauren Jul 21, 2011
6c4c27f
Added support for named pipe connections to database
Shauren Jul 21, 2011
79379b0
Attribute updates
Shauren Jul 21, 2011
9d608a1
Another update
Shauren Jul 22, 2011
dff1cd9
Attribute and target updates
Shauren Aug 22, 2011
68e4956
Added printing required areas to spell information
Shauren Aug 27, 2011
383be26
Add support for SpellMissile.dbc, SpellMissileMotion.dbc and SpellVis…
Warpten Mar 11, 2012
aab10cb
Merge pull request #1 from Warpten/master
DDuarte Mar 11, 2012
04956cb
Fixed warnings about never assigned values
Shauren Mar 31, 2012
bda5499
Output spell missile section only if spell really has a missile
Shauren Apr 8, 2012
4d5c8e6
Print MaxAffectedTargets info
Shauren Apr 18, 2012
b42cea5
Update to 4.3.4
Shauren Aug 14, 2012
35c1b33
Fixed null reference exceptions in linq join queries
Shauren Aug 14, 2012
b9e0ff4
Fixed a few forgotten changes, optimized searching spell effects
Shauren Aug 14, 2012
8265083
Corrected spell duration (it can be negative for infinite)
Shauren Aug 15, 2012
09a1fb3
Implemented spell value level scaling
Shauren Aug 15, 2012
234cb74
Implemented cast time level scaling
Shauren Aug 15, 2012
249945e
Icon cataclysm'ed
DDuarte Aug 15, 2012
dcf4a6b
Merge pull request #2 from DDuarte/4.3.4
DDuarte Aug 15, 2012
9bc6fde
Fixed scaling for some spells
Shauren Aug 17, 2012
6bab672
Fix typo
Vincent-Michael Aug 18, 2012
2da59a5
Output all spell attributes (Ex9 and Ex10)
Shauren Aug 18, 2012
1c10d54
Print the order of SpellFamilyFlags
Shauren Sep 15, 2012
57dfa8d
Merge branch 'master' into 4.3.4
Shauren Sep 15, 2012
cd923db
Updated attribute after recent TC change
Shauren Sep 16, 2012
f66ac05
Merge branch 'master' into 4.3.4
Shauren Sep 16, 2012
d308bca
Update aura name
Vincent-Michael Dec 30, 2012
bae624f
Updated auras and spell effects name with TC
Kinzcool Jan 1, 2013
8e6f913
4.3.4: Display the spell's description variable ID.
Warpten Feb 2, 2013
8e38d57
Update some spells enums
Vincent-Michael Mar 1, 2013
90a483d
Merge branch 'master' of github.com:TrinityCore/spellwork_cs into 4.3.4
Vincent-Michael Mar 1, 2013
a7fca90
Update 4.3.4 spell enums
Vincent-Michael Mar 2, 2013
19ff401
4.3.4: Display the full content of SpellDescriptionVariables.cs whene…
Warpten Mar 20, 2013
f026678
Refactored spell description variable output
Shauren Apr 1, 2013
29f7f0d
Synchronize the spell attributes with TrinityCore's latest changes
Sep 6, 2013
edb7580
Merge pull request #4 from Discover-/master
Shauren Sep 6, 2013
6396eee
Don't allow resizing the settings window
Sep 16, 2013
48c4a12
Pressing Escape in the settings form now closes it
Sep 16, 2013
3b54090
Rename 'Cencel' buttons to 'Cancel'
Sep 16, 2013
a859b02
Add a Search button to the Search form (previously only worked with p…
Sep 16, 2013
b0e6c15
Set the backcolor of the search form to the same color as the main fo…
Sep 16, 2013
2fc9e82
Merge pull request #5 from Discover-/master
raczman Sep 16, 2013
df78fbb
Correct the size of the calculate flags form instead of hardcoding a …
Sep 17, 2013
e7e1e14
Fixed the "items that use this spell" message.
Subv Nov 3, 2013
c560ce5
Reimplemented the SQL tab in 4.3.4
Subv Nov 3, 2013
5938a5a
Updated the MySQL connector to the latest version
Subv Nov 3, 2013
e4ea9d3
fix case-sensitive folder name "DataBase" in project file
Artox Jan 27, 2014
b6710f6
Merge pull request #6 from Artox/master
Jan 27, 2014
692a100
Added more attribute names from tc
Shauren Jul 15, 2014
19504fa
Remove vshost,debug,trace for release builds
Shauren Jul 15, 2014
94c522c
Merge branch 'master' of github.com:TrinityCore/spellwork_cs into 4.3.4
Shauren Jul 15, 2014
5fa3aa1
Allow to select dbc path instead select only default directory.
xjose93 Dec 25, 2014
71157c5
Remove VS 2008 .sln
DDuarte Feb 29, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added more attribute names from tc
  • Loading branch information
Shauren committed Jul 15, 2014

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 692a1003ced2e6eb06a3fa800a3c42668c8b8b3b
8 changes: 4 additions & 4 deletions SpellWork/Spell/SpellEnums.cs
Original file line number Diff line number Diff line change
@@ -1276,7 +1276,7 @@ public enum SpellAtributeEx2 : uint
SPELL_ATTR2_UNK25 = 0x02000000, // 25
SPELL_ATTR2_UNK26 = 0x04000000, // 26 unaffected by school immunity
SPELL_ATTR2_UNK27 = 0x08000000, // 27
SPELL_ATTR2_UNK28 = 0x10000000, // 28
SPELL_ATTR2_UNK28 = 0x10000000, // 28
SPELL_ATTR2_CANT_CRIT = 0x20000000, // 29 Spell can't crit
SPELL_ATTR2_TRIGGERED_CAN_TRIGGER_PROC = 0x40000000, // 30 spell can trigger even if triggered
SPELL_ATTR2_FOOD_BUFF = 0x80000000 // 31 Food or Drink Buff (like Well Fed)
@@ -1300,7 +1300,7 @@ public enum SpellAtributeEx3 : uint
SPELL_ATTR3_MAIN_HAND = 0x00000400, // 10 Main hand weapon required
SPELL_ATTR3_BATTLEGROUND = 0x00000800, // 11 Can casted only on battleground
SPELL_ATTR3_ONLY_TARGET_GHOSTS = 0x00001000, // 12
SPELL_ATTR3_UNK13 = 0x00002000, // 13
SPELL_ATTR3_DONT_DISPLAY_CHANNEL_BAR = 0x00002000, // 13 Clientside attribute - will not display channeling bar
SPELL_ATTR3_IS_HONORLESS_TARGET = 0x00004000, // 14 "Honorless Target" only this spells have this flag
SPELL_ATTR3_UNK15 = 0x00008000, // 15 Auto Shoot, Shoot, Throw, - this is autoshot flag
SPELL_ATTR3_CANT_TRIGGER_PROC = 0x00010000, // 16 confirmed with many patchnotes
@@ -1449,7 +1449,7 @@ public enum SpellAtributeEx7 : uint
SPELL_ATTR7_IS_CHEAT_SPELL = 0x00000008, // 3 Cannot cast if caster doesn't have UnitFlag2 & UNIT_FLAG2_ALLOW_CHEAT_SPELLS
SPELL_ATTR7_UNK4 = 0x00000010, // 4 Only 47883 (Soulstone Resurrection) and test spell.
SPELL_ATTR7_SUMMON_PLAYER_TOTEM = 0x00000020, // 5 Only Shaman player totems.
SPELL_ATTR7_UNK6 = 0x00000040, // 6 Dark Surge, Surge of Light, Burning Breath triggers (boss spells).
SPELL_ATTR7_NO_PUSHBACK_ON_DAMAGE = 0x00000040, // 6 Does not cause spell pushback on damage
SPELL_ATTR7_UNK7 = 0x00000080, // 7 66218 (Launch) spell.
SPELL_ATTR7_HORDE_ONLY = 0x00000100, // 8 Teleports, mounts and other spells.
SPELL_ATTR7_ALLIANCE_ONLY = 0x00000200, // 9 Teleports, mounts and other spells.
@@ -1459,7 +1459,7 @@ public enum SpellAtributeEx7 : uint
SPELL_ATTR7_UNK13 = 0x00002000, // 13 Not set in 3.2.2a.
SPELL_ATTR7_UNK14 = 0x00004000, // 14 Only 52150 (Raise Dead - Pet) spell.
SPELL_ATTR7_UNK15 = 0x00008000, // 15 Exorcism. Usable on players? 100% crit chance on undead and demons?
SPELL_ATTR7_UNK16 = 0x00010000, // 16 Druid spells (29166, 54833, 64372, 68285).
SPELL_ATTR7_CAN_RESTORE_SECONDARY_POWER = 0x00010000, // 16 These spells can replenish a powertype, which is not the current powertype
SPELL_ATTR7_UNK17 = 0x00020000, // 17 Only 27965 (Suicide) spell.
SPELL_ATTR7_HAS_CHARGE_EFFECT = 0x00040000, // 18 Only spells that have Charge among effects.
SPELL_ATTR7_ZONE_TELEPORT = 0x00080000, // 19 Teleports to specific zones.
3 changes: 2 additions & 1 deletion SpellWork/Spell/SpellInfo.cs
Original file line number Diff line number Diff line change
@@ -161,7 +161,8 @@ private void ViewSpellInfo()

_rtb.AppendLine(_spell.Duration);

if (_spell.ManaCost != 0 || _spell.ManaCostPercentage != 0)
if (_spell.ManaCost != 0 || _spell.ManaCostPercentage != 0 || _spell.PowerType != 0 ||
_spell.ManaCostPerlevel != 0 || _spell.ManaPerSecond != 0 || _spell.ManaPerSecondPerLevel != 0)
{
_rtb.AppendFormat("Power {0}, Cost {1}",
(Powers)_spell.PowerType, _spell.ManaCost == 0 ? _spell.ManaCostPercentage + " %" : _spell.ManaCost.ToString());