ededca3311
Core/Spells: Fixed quest Stopping the Spread
Lopin2011-08-24 15:57:14 +02:00
0c410bda43
Core/Logs: Added some more log informations to certain logs
Lopin2011-08-24 13:37:05 +02:00
1965616baa
DB/Game Event: Syncronise Darkmoon Faire to current retail dates
Aokromes2011-08-24 11:51:08 +02:00
5cd4f9e513
Core/Spells: fix TARGET_DEST_TARGET_* targets after 7f30ac5a95QAston2011-08-24 10:35:41 +02:00
1178cee836
Core/Spells: Small correction to: 7f30ac5a95 - TARGET_DEST_TRAJ targets should require both src and dst target provided.
QAston2011-08-24 08:53:26 +02:00
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.
QAston2011-08-24 08:07:59 +02:00
5df029f88d
Implement Power Twin's Spell on Twin Val'kyr Script
Nevan2011-08-24 07:47:52 +02:00
7a5537b156
Implement Powering Up Spell on Twin Val'kyr Script
Nevan2011-08-24 07:31:52 +02:00
9f7a557c05
Merge pull request #2721 from Chaplain/cleanup
QAston2011-08-23 21:01:54 -07:00
5819cb084f
Merge pull request #2715 from elecyb/diminish
QAston2011-08-23 21:01:35 -07:00
5ef9f7dd1c
Merge pull request #2728 from Kapoeira/master
QAston2011-08-23 21:00:34 -07:00
923d5761ce
Core/Spells: Fixed Survival of the Fittest armor increase bonus while in Dire Bear or Bear form. Closes#2724Cron2011-08-24 00:44:50 -03:00
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()
Chaplain2011-08-23 18:05:01 +03:00
6e79510bc5
Core/Commands: Added output to .baninfo character <name> even when character has never been banned. Closes#2699Lopin2011-08-22 11:22:26 +02:00
cb9985c054
Core/Spells: Check SPELL_AURA_PREVENT_RESSURECTION on targets for resurrection spells
Shauren2011-08-21 19:03:24 +02:00
7cea5a1f5b
Core/SpellMgr: Corrected indentation in SpellMgr::LoadDbcDataCorrections
Shauren2011-08-21 15:01:40 +02:00
ce27105a68
Core/Spells: Also prevent using self-resurrection spells like Reincarnation when under effect of SPELL_AURA_PREVENT_RESSURECTION
Shauren2011-08-21 14:38:21 +02:00
738214f8e5
Core/Spells: add some const modifiers to functions, fixes build.
QAston2011-08-21 13:57:15 +02:00
c453d78b07
Core/Spells: Fix mind controll after recent target requirement changes.
QAston2011-08-21 13:01:04 +02:00
0a7c622305
Db: remove command no longer present in scripts - thanks Whiroph.
QAston2011-08-21 12:59:45 +02:00
3476767eb0
Fix warnings from merged pull requests.
QAston2011-08-21 11:59:06 +02:00
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]]])
Joeri Thissen2011-08-21 10:40:02 +02:00
0946843875
Merge pull request #2682 from Fredi/clean
QAston2011-08-21 01:04:08 -07:00
396a2e588b
Merge pull request #2678 from Kapoeira/master
QAston2011-08-21 01:00:00 -07:00
8e8fa083b2
Merge pull request #2636 from LihO/master
QAston2011-08-21 00:58:55 -07:00
a10eb53598
Merge pull request #2672 from Chaplain/master
QAston2011-08-21 00:54:14 -07:00
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.
QAston2011-08-21 09:39:53 +02:00
73b1448f29
Core/AI: English correction thanks u2blah for pointing
Fredi Machado2011-08-21 00:07:38 -03:00
8494f2dc93
Scripts/Naxxramas: Fixed reseting of Just Can't Get Enough achievement. Thanks to Shauren for notice
Lopin2011-08-20 13:18:17 +02:00
a76f023002
Core/Spells: remove one now obsolete check which prevents spells with SPELL_ATTR6_CAST_BY_CHARMER from being cast.
QAston2011-08-20 13:14:14 +02:00
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.
Chaplain2011-08-20 13:38:20 +03:00
feb3d9ce20
Scripts/Naxxramas: Fixed achievement Just Can't Get Enough
Lopin2011-08-20 12:16:25 +02:00
b838aad7d0
Core/Spells: check UNIT_FLAG_OOC_NOT_ATTACKABLE only for AOE spells targeting enemies, fixes some interactions with npcs.
QAston2011-08-20 12:08:37 +02:00
919a8ecf0e
Core/Spells: Allow to explicitly target crowd controlled targets for spells with SPELL_ATTR6_CANT_TARGET_CROWD_CONTROLLED (Shield of Righteousness for example).
QAston2011-08-20 11:45:23 +02:00
511db66297
Core/Spells: Remove some duplicate checks from Spell::CheckPetCast
QAston2011-08-20 10:23:28 +02:00
b0602b3153
Core/Spells: Use spell target flags to determine if spell can target dead targets - fixes skinning. Also, fix build once again
QAston2011-08-20 10:01:57 +02:00
580a68573f
Core/Spells: fix a crash.
QAston2011-08-20 09:49:18 +02:00
03f3a2a636
Core/SpellScripts: Add possibility to access real damage/healing done by SpellScript from AfterHit hooks.
QAston2011-08-20 00:45:34 +02:00
e2d8faea09
Core/Spells: move Cannibalize and Carrion Feeder cast checks to SpellScripts.
QAston2011-08-20 00:29:57 +02:00
cd03dadb7f
Core/Misc: Minor code cleanup and code style fix
tobmaps2011-08-20 04:43:01 +07:00
e1e91bacbe
Core/Spells: Prevent apply spell power coefficients at bonus given by some "taken" damage mods
tobmaps2011-08-20 03:06:15 +07:00
f94bd733e3
Core/GameObject: Fixed build on Linux
Lopin2011-08-19 21:09:12 +02:00
fb2fe345bf
Scripts/Blackrock Depths: Fixed reseting of Moira after Emperor Dagran is dead. Closes#2658Lopin2011-08-19 19:54:12 +02:00
8166e338ad
Core/Logs: Added some useful informations to certain logs, part #1. Requested by Aokromes
Lopin2011-08-19 19:17:39 +02:00
60568f67af
Fix diminishing for spells with group DIMINISHING_LIMITONLY, partially reverts b0fe236265elecyb2011-08-19 13:33:53 -03:00
d2f2c4dee5
Core/InstanceScript: Function DoRemoveAurasDoToSpellOnPlayers() will also remove those auras from players' pets
Lopin2011-08-19 18:17:04 +02:00
9cfe17cf21
Scripts/Ulduar: Steelbreaker will add another stack of Electrical Charge when player dies because of Meltdown
Lopin2011-08-19 18:16:02 +02:00
e8240fbc02
Fix a typo in last commit.
QAston2011-08-19 16:34:26 +02:00
393b436a0c
Fix a typo in last commit.
QAston2011-08-19 16:34:00 +02:00
fc5e924138
Core/Spells: Implement recently discovered target check attributes and move most of target checks to SpellInfo::CheckTarget function.
QAston2011-08-19 14:53:40 +02:00
1bbab51284
Core/Pets: When pet attacks, owner should be in combat as well. Closes#2601Lopin2011-08-19 14:52:11 +02:00
2653ef3e94
Merge pull request #2630 from Ramusik/master
Lopin2011-08-19 03:49:54 -07:00
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
Machiavelli2011-08-19 12:19:01 +02:00
868c1c53f2
Core/GameObjects: Unrevealed GO_FLAG_UNK1. Now GO_FLAG_NOT_SELECTABLE makes gameobjects to be unselectable even in GM mode
Lopin2011-08-19 11:45:49 +02:00
dad2fc78e2
Core/Logs: Added Difficulty output to InstanceMap::SetResetSchedule error message. Requested by Aokromes
Lopin2011-08-19 10:47:56 +02:00
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).
Machiavelli2011-08-18 20:24:46 +02:00
b4ee9ebfc8
Scripts/The Pit of Saron
tobmaps2011-08-18 23:07:29 +07:00
b7bf9045de
Scripts/The Pit of Saron: Prevent heroic final achievement gain in normal mode
horn2011-08-18 22:42:32 +07:00
69433862cb
Core/Spells: Changed CHAIN_SPELL_JUMP_RADIUS down from 10y to 8y
Payn2011-08-18 14:42:09 +02:00
a71e7275e8
DB/SQL: Fixed naming of last SQL file...
Lopin2011-08-18 14:20:19 +02:00
701649cb3f
Scripts/Storm Peaks: Fix some (embarassing) errors in npc_hyldsmeet_protodrake (script is working now) and correct seat ID in vehicle_template_accessory.
Machiavelli2011-08-18 13:13:30 +02:00
fdbfa5156c
Core/DBLayer: Possible crash fix for ProcessQueryCallbacks on GCC builds. Ref issue #2136#1422#1335.
Machiavelli2011-08-18 12:41:46 +02:00
e21b306113
DB/Quests: Fixed quest You'll Need a Gryphon
kiper2011-08-18 12:26:28 +02:00
dc3a3772ba
Merge pull request #2617 from Chaplain/master
QAston2011-08-18 03:03:00 -07:00
1de095f7cf
Core/Spells: Add required and implicit target object type data for spell effects - will be used in future patches.
QAston2011-08-18 11:50:00 +02:00
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
Lopin2011-08-17 18:47:34 +02:00
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.
Chaplain2011-08-17 16:11:38 +03:00
a44e1c505e
Core/Spells: Add new spell implicit target categories data - will be used in future patches.
QAston2011-08-17 11:30:05 +02:00
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
tobmaps2011-08-17 04:09:12 +07:00
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.
QAston2011-08-16 19:44:18 +02:00
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.
QAston2011-08-16 19:42:36 +02:00
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).
QAston2011-08-16 16:53:29 +02:00
73bbc3aca8
Core/Spells: Update some targeting related attribute definitions to make them more clear and consistent.
QAston2011-08-16 16:05:24 +02:00
8ae5750c15
Core/Maps: Changed InstanceSave error message to show also Name & GUID of player and Entry & Name & InstanceId of instance map
Lopin2011-08-16 15:42:32 +02:00