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
Lopin
f94bd733e3
Core/GameObject: Fixed build on Linux
2011-08-19 21:09:12 +02:00
Lopin
8166e338ad
Core/Logs: Added some useful informations to certain logs, part #1 . Requested by Aokromes
2011-08-19 19:17:39 +02:00
elecyb
60568f67af
Fix diminishing for spells with group DIMINISHING_LIMITONLY, partially reverts b0fe236265
2011-08-19 13:33:53 -03:00
Lopin
d2f2c4dee5
Core/InstanceScript: Function DoRemoveAurasDoToSpellOnPlayers() will also remove those auras from players' pets
2011-08-19 18:17:04 +02: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
Lopin
1bbab51284
Core/Pets: When pet attacks, owner should be in combat as well. Closes #2601
2011-08-19 14:52:11 +02:00
Lopin
2653ef3e94
Merge pull request #2630 from Ramusik/master
...
Core/Spells: Fix Item - Shaman T10 Restoration 4P Bonus
2011-08-19 03:49:54 -07: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
868c1c53f2
Core/GameObjects: Unrevealed GO_FLAG_UNK1. Now GO_FLAG_NOT_SELECTABLE makes gameobjects to be unselectable even in GM mode
2011-08-19 11:45:49 +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
f960fcce65
Merge pull request #2639 from Fredi/clean
...
Core/AI: Code style and cleanups
2011-08-18 12:14:15 -07: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
Fredi Machado
0b64d726c2
Core/AI: Code style and cleanups
2011-08-18 14:55:59 -03:00
LihO
171049bf4a
Core/Auras: Crash fix.
...
Check amount of total ticks to avoid division by zero.
2011-08-18 18:18:44 +02:00
Payn
69433862cb
Core/Spells: Changed CHAIN_SPELL_JUMP_RADIUS down from 10y to 8y
2011-08-18 14:42:09 +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
Ramus
cfef963092
Fix Item - Shaman T10 Restoration 4P Bonus
2011-08-18 13:27:22 +07:00
Lopin
9e9a84cf0e
Core/Events: Fixed items removing from World Events. The items will be removed on first player's login after the end of the event. Also prevents using those items between the end and login of the player
2011-08-17 18:47:34 +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
Shauren
1c606d0d0c
Core/Battlegrounds: Don't send SOTA transports removal twice
2011-08-17 12:02:34 +02: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
1fb1988d46
Core/Spells: change Targets enum to use consistent naming schema. This is not a functional change, but it's needed for upcoming changes, also this makes target type research and use easier.
2011-08-16 19:42:36 +02:00
QAston
d4b90d1f86
Core/Spells: Remove OriginalVictim parameter from Unit::CastSpell(x,y,z) - setting unit target was enough for all spells which used it, there's never a need to cast with both unit and dest target on retail (in such cases unit target + DEST_TARGET target types are used).
2011-08-16 16:53:29 +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
Lopin
8ae5750c15
Core/Maps: Changed InstanceSave error message to show also Name & GUID of player and Entry & Name & InstanceId of instance map
2011-08-16 15:42:32 +02:00
QAston
e0d43388af
Core/Spells: define SPELL_ATTR2_CAN_TARGET_NOT_IN_LOS and SPELL_ATTR6_CAN_TARGET_INVISIBLE (big thanks to joschiwald for the second one)
2011-08-16 15:11:07 +02:00
QAston
961b2629c5
Merge pull request #2593 from fredi/clean
...
Core/Account: Code style and cleanups in AccountMgr
2011-08-16 04:47:31 -07: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
Machiavelli
826ec0582a
Core/GameObject: Fix GameObject::Use log error message
2011-08-15 15:41:06 +02:00
Fredi Machado
12fc1d58e7
Core/Account: Code style and cleanups in AccountMgr
2011-08-15 10:12:30 -03:00
Machiavelli
b560090692
Core/GameObject: Fix interaction distance with GameObjects in all corner cases by overriding Object:_IsWithinDist. Distance calculation to GO's need to take in account GameObjectDisplayInfoDBC entries, otherwise distance would not be calculated from the edges properly and ie. quest interaction with large gameobjects would fail.
2011-08-15 14:09:20 +02:00
Souler
948a119fa3
Core/Tools: Restore .pdump load command
2011-08-15 14:50:46 +03:00
Spp
0c30139527
Cosmetic: Some cosmetic changes here and there
2011-08-15 11:46:48 +02:00
hacknowledge
c0326e3170
Crashfix. Added missing check for NULL of victim parameter
2011-08-14 21:51:52 +02:00
XTZGZoReX
4276c73be8
Core: Cosmetic cleanups and additional comments in ScriptMgr.
2011-08-14 13:45:42 +02:00