Commit Graph

11126 Commits

Author SHA1 Message Date
Lopin
8ae290c6d1 Core/Spells: Fixed quest Salvaging Life's Strength 2011-08-24 16:45:49 +02:00
Lopin
ededca3311 Core/Spells: Fixed quest Stopping the Spread 2011-08-24 15:57:14 +02:00
Lopin
0c410bda43 Core/Logs: Added some more log informations to certain logs 2011-08-24 13:37:05 +02:00
QAston
5cd4f9e513 Core/Spells: fix TARGET_DEST_TARGET_* targets after 7f30ac5a95 2011-08-24 10:35:41 +02:00
QAston
1178cee836 Core/Spells: Small correction to: 7f30ac5a95 - TARGET_DEST_TRAJ targets should require both src and dst target provided. 2011-08-24 08:53:26 +02:00
QAston
7f30ac5a95 Core/Spells: Add a generic way of selecting spell explicit targets. Make explicit targets independant of calling convention in core - this makes targets sent to client to be much more blizzlike than before (for example CastSpell(Unit*) won't set TARGET_FLAG_UNIT for spells which are not using explicit unit target) for SMSG_SPELL_START packets. Also remove hacks, which became obsolete with this commit. 2011-08-24 08:08:33 +02:00
QAston
9f7a557c05 Merge pull request #2721 from Chaplain/cleanup
Core: Clean up here and there.
2011-08-23 21:01:54 -07:00
QAston
5819cb084f Merge pull request #2715 from elecyb/diminish
Core/Spells: Fix duration of some spells in PvP
2011-08-23 21:01:35 -07:00
Cron
923d5761ce Core/Spells: Fixed Survival of the Fittest armor increase bonus while in Dire Bear or Bear form. Closes #2724 2011-08-24 00:44:50 -03:00
Chaplain
fb27848510 Core: Clean up here and there.
*replase postfix iterator increment\decrement with prefix in cycles
*replase strlen(*char) != 0 with *char[0] != '\0'
*replase strlen(rStr.c_str()) with rStr.length()
2011-08-23 18:09:08 +03:00
QAston
0365feb069 Core/Entities: Make dead units not targetable for attack again (after fc5e924138). 2011-08-23 14:47:26 +02:00
QAston
e7468b2e2c Core/Spells: Do not apply spellmods to spells with SPELL_ATTR3_NO_DONE_BONUS attribute. 2011-08-23 14:30:26 +02:00
Shauren
730f3cd7e9 Core/Weather: Added one more weather state 2011-08-23 14:23:27 +02:00
Lopin
b92d6f3d20 Core/Commands: Added TrinityString instead of hardcoded string 2011-08-22 12:07:27 +02:00
Lopin
6e79510bc5 Core/Commands: Added output to .baninfo character <name> even when character has never been banned. Closes #2699 2011-08-22 11:22:26 +02:00
Shauren
cb9985c054 Core/Spells: Check SPELL_AURA_PREVENT_RESSURECTION on targets for resurrection spells 2011-08-21 19:03:24 +02:00
click
d5fbd223c6 Core: Fix non-PCH build 2011-08-21 17:07:32 +02:00
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
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