Commit Graph

11092 Commits

Author SHA1 Message Date
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
Shauren 7b95bbd2c1 Scripts/Naxxramas: Removed unneeded lines 2011-08-20 15:45:25 +02:00
Lopin fa986de37b Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2011-08-20 13:18:49 +02:00
Lopin 8494f2dc93 Scripts/Naxxramas: Fixed reseting of Just Can't Get Enough achievement. Thanks to Shauren for notice 2011-08-20 13:18:17 +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
Lopin feb3d9ce20 Scripts/Naxxramas: Fixed achievement Just Can't Get Enough 2011-08-20 12:16:25 +02: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
Lopin f94bd733e3 Core/GameObject: Fixed build on Linux 2011-08-19 21:09:12 +02:00
Lopin fb2fe345bf Scripts/Blackrock Depths: Fixed reseting of Moira after Emperor Dagran is dead. Closes #2658 2011-08-19 19:54: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
Lopin d2f2c4dee5 Core/InstanceScript: Function DoRemoveAurasDoToSpellOnPlayers() will also remove those auras from players' pets 2011-08-19 18:17:04 +02:00
Lopin 9cfe17cf21 Scripts/Ulduar: Steelbreaker will add another stack of Electrical Charge when player dies because of Meltdown 2011-08-19 18:16:02 +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 ce7cc421f5 Core/Spells: Fixed Magic Eater Food. Closes #2619 2011-08-19 13:34:05 +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 fb87b41a75 Script/Spells: Fix spell 64414 / Load into catapult
Also fix SQL file naming from this morning.
2011-08-18 20:47:36 +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
Fredi Machado 0b64d726c2 Core/AI: Code style and cleanups 2011-08-18 14:55:59 -03:00
Payn 69433862cb Core/Spells: Changed CHAIN_SPELL_JUMP_RADIUS down from 10y to 8y 2011-08-18 14:42:09 +02:00
Machiavelli 701649cb3f Scripts/Storm Peaks: Fix some (embarassing) errors in npc_hyldsmeet_protodrake (script is working now) and correct seat ID in vehicle_template_accessory. 2011-08-18 13:13:30 +02:00
Machiavelli fdbfa5156c Core/DBLayer: Possible crash fix for ProcessQueryCallbacks on GCC builds. Ref issue #2136 #1422 #1335.
There's no need for an explicit ACE_Thread_Mutex in the ACE_Refcounted_Auto_Ptr objects since concurrent read/write access is guarded by ACE_Future's implicit ACE_Recursive_Thread_Mutex. Perhaps the double locking was the reason the reference count's atomic incrementing crashing.
Please try to test and confirm.
2011-08-18 12:43:42 +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