QAston
3476767eb0
Fix warnings from merged pull requests.
2011-08-21 11:59:06 +02:00
QAston
396a2e588b
Merge pull request #2678 from Kapoeira/master
...
Core/Spells: Fixed Heart of the Wild stamina and attack power bonus part.
2011-08-21 01:00:00 -07:00
QAston
a10eb53598
Merge pull request #2672 from Chaplain/master
...
Core/Spell: case TOTAL_PCT\BASE_PCT should be processed by multiplicative function not additive.
2011-08-21 00:54:14 -07:00
QAston
edb1f1d436
Core/Spells: Don't check triggered flags for SPELL_ATTR0_CASTABLE_WHILE_DEAD attribute check - triggered spells have this flag set correctly - fixes problems with auras triggering spells for dead casters while they shouldn't.
2011-08-21 09:39:53 +02:00
Cron
7b744ebe65
Core/Spells: Fixed Heart of the Wild stamina and attack power bonus part.
...
Closes #2320
2011-08-20 19:36:30 -03:00
Shauren
080c420e6a
Core/SpellScripts: Added method to access m_spellValue in script
2011-08-20 15:47:35 +02:00
QAston
a76f023002
Core/Spells: remove one now obsolete check which prevents spells with SPELL_ATTR6_CAST_BY_CHARMER from being cast.
2011-08-20 13:14:47 +02:00
Chaplain
4b56226619
Core/Spell: case TOTAL_PCT\BASE_PCT should be processed by multiplicative function not additive.
...
Also get ride of hack in Player::HandleBaseModValue now it's unnecessary.
Fixes : #855 , multiplicative % count for normal school for aura 79 and may be others.
2011-08-20 13:38:20 +03:00
QAston
b838aad7d0
Core/Spells: check UNIT_FLAG_OOC_NOT_ATTACKABLE only for AOE spells targeting enemies, fixes some interactions with npcs.
2011-08-20 12:08:37 +02:00
QAston
919a8ecf0e
Core/Spells: Allow to explicitly target crowd controlled targets for spells with SPELL_ATTR6_CANT_TARGET_CROWD_CONTROLLED (Shield of Righteousness for example).
2011-08-20 11:45:23 +02:00
QAston
511db66297
Core/Spells: Remove some duplicate checks from Spell::CheckPetCast
2011-08-20 10:23:28 +02:00
QAston
b0602b3153
Core/Spells: Use spell target flags to determine if spell can target dead targets - fixes skinning. Also, fix build once again
2011-08-20 10:01:57 +02:00
QAston
580a68573f
Core/Spells: fix a crash.
2011-08-20 09:49:18 +02:00
QAston
cf4e19cf4b
Fix GCC build.
2011-08-20 09:32:19 +02:00
QAston
03f3a2a636
Core/SpellScripts: Add possibility to access real damage/healing done by SpellScript from AfterHit hooks.
2011-08-20 00:45:34 +02:00
QAston
e2d8faea09
Core/Spells: move Cannibalize and Carrion Feeder cast checks to SpellScripts.
2011-08-20 00:30:38 +02:00
tobmaps
cd03dadb7f
Core/Misc: Minor code cleanup and code style fix
2011-08-20 04:43:01 +07:00
tobmaps
e1e91bacbe
Core/Spells: Prevent apply spell power coefficients at bonus given by some "taken" damage mods
...
Closes #1991
2011-08-20 03:06:15 +07:00
QAston
e8240fbc02
Fix a typo in last commit.
2011-08-19 16:34:26 +02:00
QAston
393b436a0c
Fix a typo in last commit.
2011-08-19 16:34:00 +02:00
QAston
fc5e924138
Core/Spells: Implement recently discovered target check attributes and move most of target checks to SpellInfo::CheckTarget function.
2011-08-19 14:54:15 +02:00
Machiavelli
3c9c1a9b69
Core/Spells: Rename SPELL_ATTR6_ONLY_CAST_WHILE_POSSESSED to SPELL_ATTR6_CAST_BY_CHARMER and assign m_caster in Spell::Spell instead of m_originalCaster
2011-08-19 12:27:03 +02:00
Lopin
dad2fc78e2
Core/Logs: Added Difficulty output to InstanceMap::SetResetSchedule error message. Requested by Aokromes
2011-08-19 10:47:56 +02:00
Machiavelli
917ffdffac
Core/Spells: More research on SPELL_ATTR6_ONLY_CAST_WHILE_POSSESSED and implement new research (original caster should be charmer or owner) and implement QAston's earlier research (only castable while possessed).
2011-08-18 20:28:07 +02:00
QAston
dc3a3772ba
Merge pull request #2617 from Chaplain/master
...
Core/Spells: Fixed exploit found in 9936921206 .
2011-08-18 03:03:00 -07:00
QAston
1de095f7cf
Core/Spells: Add required and implicit target object type data for spell effects - will be used in future patches.
2011-08-18 11:50:31 +02:00
Chaplain
2233018f52
Core/Spells: Fixed exploit found in 9936921206.
...
When we count twice multipliar for spells with SPELL_SCHOOL_MASK_NORMAL.
Also now it will show correct data in character info like damage reduction % from defence stance in warrior case.
Also fixed some minor logic issues.
2011-08-17 16:11:38 +03:00
QAston
ec95ead0ac
Fix build.
2011-08-17 12:00:20 +02:00
QAston
a44e1c505e
Core/Spells: Add new spell implicit target categories data - will be used in future patches.
2011-08-17 11:30:47 +02:00
tobmaps
a23c4592af
Core/Spells: Diminishing returns shouldn't prevent direct damage caused by spells - fixes dispel damage of Unstable Affliction if target immune to silence now
2011-08-17 04:09:12 +07:00
QAston
a3fc4e897c
Core: Add missing forward declarations in SpellInfo.h
2011-08-16 20:08:13 +02:00
QAston
a077a26aa5
Core/Spells: update the core to the changes from 1fb1988d46 . To make your custom code work with those changes simply lookup the value of Targets enum value from prev rev, and update the name in your code.
2011-08-16 19:44:18 +02:00
QAston
73bbc3aca8
Core/Spells: Update some targeting related attribute definitions to make them more clear and consistent.
2011-08-16 16:06:21 +02:00
QAston
9936921206
Merge pull request #2580 from hacknowledge/damagemodfix
...
Core/Spells: Fixed weapon dependent damage mods for players as well as au
2011-08-16 03:41:23 -07:00
Spp
0c30139527
Cosmetic: Some cosmetic changes here and there
2011-08-15 11:46:48 +02:00
hacknowledge
0c500486f3
Core/Spells: Fixed weapon dependent damage mods for players as well as autohit damage mods for NPCs and pets. This fixes also meta sockel effects. Also fixed displaying the correct values in the char info. I also took care of applying and unapplying the weapon based damage mods when the player is being disarmed and equips/unequips his weapon.
...
Fixes #178 , #418 , #1276 , #259 and possible a few other issues.
2011-08-13 23:26:16 +02:00
Shauren
f797f9f74d
Core/Spells: Failed triggered spell casts will no longer cause the proc aura that triggered them to be removed (this behavior should only apply to channeled spells), also corrected UNIT_FIELD_CHANNEL_OBJECT setting
2011-08-12 13:22:53 +02:00
QAston
b81fb4d423
Core/Spells: Rename SPELL_ATTR2_ALWAYS_APPLY_MODIFIERS to SPELL_ATTR2_DISPLAY_IN_STANCE_BAR, and make auras to be recalculated when permament instead of using that wrongly defined flag.
2011-08-11 23:11:10 +02:00
idostyle@zoit
eedeeaf2b2
Spell: m_castItemGUID initialization
...
Closes #105
Closes #1193
2011-08-10 15:08:22 +02:00
Shauren
f4f16aea28
Core/Spells: Fixed radius of Mutated Plague (Professor Putricide encounter)
...
Closes #2521
2011-08-07 16:48:39 +02:00
Machiavelli
156d491c27
Core/Spells: Add GetTriggeringSpell() method to SpellScript and use it to properly filter server side spell 18350's script.
2011-08-06 19:40:50 +02:00
Nay
a39ea8f3e5
Core/Spells: - Apply proper unit flags to summoned minions
...
- SPELL_AURA_MOD_REPUTATION_GAIN spells (e.g Diplomacy) should increase reputation gained from spells (e.g Commendation Badges)
2011-08-06 17:22:24 +01:00
tobmaps
7c6366ca11
Core/Spells: Partial revert of b0fe236265 , thx A-Metaphysical-Drama for tip
...
Closes #2266
Closes #2442
Closes #2454
Closes #2455
Closes #2502
2011-08-06 20:42:00 +07:00
Spp
1c882084f3
Core: Cosmetic changes in Threat related code (per request) and remove of extra call to SpellMgr singleton inside that singleton
2011-08-04 13:16:09 +02:00
Silinoron
0c2cd78400
Core/Refer-a-Friend: Fix a glitch in the summoning system. Thanks gyullo.
2011-08-03 15:21:08 -07:00
Silinoron
76fe596160
Core/Refer-a-Friend: Finish base work for Refer-a-Friend.
...
Any testing would be very much appreciated.
2011-08-03 09:28:12 -07:00
Spp
7e53a73059
Core/Vehicles: Remove Vehicle.h dependency from other header files
2011-08-03 12:28:42 +02:00
Spp
e7327e7e94
Core: Fix compile without PCH and fix some warnings
2011-08-03 11:23:08 +02:00
Spp-
fcdd4d784f
Core/Transport: Minor optimization in LoadTransports (And some cosmetic changes here and there in other files)
2011-08-03 08:18:24 +02:00
Machiavelli
ff3c988ee7
Core/Entities: Allow Shaman totems to crit with spells, and add a temp workaround to make Fire Elemental Totem spawn crit with spells also.
...
Closes #252
Closes #1846
2011-08-01 18:30:00 +02:00