Commit Graph
13208 Commits
Author SHA1 Message Date
Shauren 7cea5a1f5b Core/SpellMgr: Corrected indentation in SpellMgr::LoadDbcDataCorrections 2011-08-21 15:01:40 +02:00
Shauren ce27105a68 Core/Spells: Also prevent using self-resurrection spells like Reincarnation when under effect of SPELL_AURA_PREVENT_RESSURECTION 2011-08-21 14:38:21 +02:00
QAston 738214f8e5 Core/Spells: add some const modifiers to functions, fixes build. 2011-08-21 13:57:15 +02:00
QAston c453d78b07 Core/Spells: Fix mind controll after recent target requirement changes. 2011-08-21 13:01:37 +02:00
QAston 0a7c622305 Db: remove command no longer present in scripts - thanks Whiroph. 2011-08-21 13:01:36 +02:00
Shauren 5f6c6d3925 Core/Auras: Implemented SPELL_AURA_PREVENT_RESSURECTION 2011-08-21 12:42:22 +02:00
QAston 3476767eb0 Fix warnings from merged pull requests. 2011-08-21 11:59:06 +02:00
Joeri Thissen 4f1864cfe9 Scripts/Commands: Unify .go xy and .go xyz commands, also add orientation parameter to the .go xyz command (so the command is now: .go xyz #x #y [#z [#mapid [#orientation]]]) 2011-08-21 10:40:29 +02:00
QAston 0946843875 Merge pull request #2682 from Fredi/clean
Core/AI: Cleaning up hungarian notation
2011-08-21 01:04:08 -07: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 8e8fa083b2 Merge pull request #2636 from LihO/master
Core/Auras: Check amount of total ticks to avoid division by zero (and crash) in Unit::GetRemainingPeriodicAmount.
2011-08-21 00:58:55 -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
Fredi Machado 73b1448f29 Core/AI: English correction thanks u2blah for pointing 2011-08-21 00:07:38 -03:00
Fredi Machado 78e10e9cd0 Core/AI: Cleaning up hungarian notation 2011-08-20 20:31:31 -03: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
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
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
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
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
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