Commit Graph
4307 Commits
Author SHA1 Message Date
Shauren 067c27d299 Core/SpellScript: Corrected error messages and in-source documentation for OnObjectAreaTargetSelect hook and allow using that hook only for area spell targets 2012-06-30 00:06:17 +02:00
Shauren e0997874f5 Core/SpellScripts: Changed OnUnitTargetSelect hook to OnObjectAreaTargetSelect, it will now work with WorldObject instead of only Units and call it even for empty target lists 2012-06-29 21:53:35 +02:00
Elron103 dfdbc91e90 Core/Spells: Fix spell casting time reduce / increase effects for players and creatures 2012-06-29 00:11:05 +02:00
Faq e5adb05844 missed break :/ 2012-06-27 00:28:59 +03:00
Faq e43b50b415 Death Knight T10 Tank 2P Bonus. Thnx Shauren 2012-06-27 00:12:07 +03:00
Shauren bf5002a4d1 Core/Items: Remove item from tradeable list when clearing the flag on enchanting/gemming 2012-06-23 12:31:46 +02:00
Shauren d0fa012e1d Core/Auras: Properly initialize mechanic immunity mask for SPELL_AURA_MECHANIC_IMMUNITY_MASK 2012-06-23 12:16:52 +02:00
Shauren ea9339b171 Core/SmartAI: Fixed SMART_ACTION_SET_RANGED_MOVEMENT parameters 2012-06-23 12:15:52 +02:00
horn 96286790e7 Core/Mails: Allow GMs to send emails without money 2012-06-23 01:22:09 +02:00
Kandera f63328dcbe Core/LFG: commented out a previous change that was causing issues with lfg dungeon locks. 2012-06-22 12:23:53 -04:00
kandera 3b808cd431 Merge pull request #6897 from Xees/master
Core/Item: Modify IsCurrencyToken to use IsCurrencyToken in item template
2012-06-22 06:35:45 -07:00
Abdollah Hasan 24a395c82d Core/Item: Modify IsCurrencyToken to use IsCurrencyToken in item template.
Changed all BAG_FAMILY_MASK_CURRENCY_TOKENS to IsCurrencyToken.
2012-06-22 16:34:06 +03:00
kandera fc10517c6e Merge pull request #6896 from Xees/master
Core/Item: Add IsCurrencyToken to override use of default ugly method.
2012-06-22 06:08:09 -07:00
Abdollah Hasan b859deed80 Core/Item: Add IsCurrencyToken to override use of default ugly method. 2012-06-22 16:06:02 +03:00
Machiavelli cfb53dbf42 Merge pull request #6885 from Chaplain/clean
Core/Misc: Code-style + some const methods.
2012-06-22 05:31:04 -07:00
Abdollah Hasan 69285b1a4d Core/Player: Modify GetItemByEntry to include Currency. 2012-06-22 15:19:47 +03:00
Vincent-Michael df7bbf2034 Core/Commands: Add missing scriptLoader for d3bf4626d0 2012-06-21 23:44:02 +02:00
Vincent-Michael 5de44b3632 Core/Commands: Convert reset commands in commandscript 2012-06-21 23:41:03 +02:00
Chaplain 716e2db0e1 Core/Misc: Code-style + some const methods. 2012-06-21 21:05:45 +03:00
Vincent-Michael d3bf4626d0 Core/Commands: Convert list commands in commandscript 2012-06-21 17:21:23 +02:00
QAston c22988e14f Merge pull request #6872 from Elron103/pull-requests
Scripts/Miscellaneous: Enable const-ness for various functions in ScriptedAI (Author: DorianGrey)
2012-06-20 23:18:58 -07:00
Nay 874dff2050 Scripts/Commands: No one likes tabs :( 2012-06-21 01:38:55 +01:00
Xees a312cd4ba1 Scripts/Commands: Convert character and server commands to commandscript
Closes #6856

Signed-off-by: Nay <[email protected]>
2012-06-21 00:11:11 +01:00
Elron103 f3aacb669c Scripts/Miscellaneous: Enable const-ness for various functions in ScriptedAI (Author: DorianGrey)
- Improve codestyle, since objects internal state is not changed here
- Make these functions available for inherited CanAIAttack() function
2012-06-20 21:29:41 +02:00
Vincent-Michael ef4d9dd4ae Core/Spells:
* Fix bloodthirst Heal
* Move bloodthirst damage calculation in Spell script
* Fix some codestyle
2012-06-20 18:06:29 +02:00
QAston a05752582b Merge pull request #6837 from Vincent-Michael/castCommand
Core/Commands: Convert cast commands in commandscript
2012-06-19 19:12:48 -07:00
QAston 28faf41471 Merge pull request #6853 from Elron103/pull-requests
Core/Movement: Implement speed changes for PointMovementGenerator
2012-06-19 19:12:03 -07:00
Elron103 35b444fdb8 Core/Movement: Implement speed changes for PointMovementGenerator 2012-06-20 01:52:31 +02:00
Vincent-Michael c19f13e6fc Core/Commands: Convert cast commands in commandscript 2012-06-19 20:42:11 +02:00
Discover- e190a202ca Core/CreatureAI: Implement an OnSpellClick hook instead of the ugly way that uses DoAction with EVENT_SPELLCLICK.
Core/SmartAI: Implement SMART_EVENT_ON_SPELLCLICK. Parameter is the clicker.

If someone could update the wiki accordingly for SAI I would appreciate that. Thanks to @Shauren for some help!
2012-06-19 00:07:20 +02:00
Shauren 29f1ab2438 Core/Achievements: Corrected map requirement for Once Bitten, Twice Shy (10 player) - was requiring Ulduar 2012-06-18 19:05:25 +02:00
QAston 6d85b7c525 Merge pull request #6798 from Vincent-Michael/instanceCommand
Scripts/Commands: Convert instance commands in commandscript
2012-06-17 19:08:57 -07:00
Nay 53b561f550 Core/SAI: Remove some unused conditions related code
SAI conditions were implemented in a different way than initially planned

Signed-off-by: Nay <[email protected]>
2012-06-18 00:42:37 +01:00
QAston a9b6a0c103 Merge pull request #6827 from drskull/master
Core/Spells: Small fix IsImmunedToSpell
2012-06-17 15:20:38 -07:00
Nay 0e4d6bf4df Missing break on 8c16cc2260
Signed-off-by: Nay <[email protected]>
2012-06-17 23:13:48 +01:00
dr.skull b5a072855e Fix added check for IsImmunedToSpell
Signed-off-by: dr.skull <[email protected]>
2012-06-17 23:19:32 +02:00
Nay d61f9fb40c Fix build in GCC
Signed-off-by: Nay <[email protected]>
2012-06-17 22:11:27 +01:00
Nay 8c16cc2260 Core/SAI: Implement SMART_EVENT_ACTION_DONE (72, DoAction)
Param1 is event id
This event is triggered on spellclick (id=1001), fall on ground (id=1002) and charge (id=1003)

Signed-off-by: Nay <[email protected]>
2012-06-17 21:50:01 +01:00
QAston 33873cc37c Merge pull request #6820 from Elron103/pull-requests
Core/Combat: Fix CanAIAttack implementation
2012-06-17 03:20:44 -07:00
dr.skull 3f8efb21cd add IsEffect() check to correct IsImmunedToSpell
Signed-off-by: dr.skull <[email protected]>
2012-06-17 02:23:47 +02:00
Elron103 f0d14c372c Core/Entities: Fix possible variable overflows in health calculation functions 2012-06-17 00:50:21 +02:00
Elron103 3164ba627b Core/Combat: Fix CanAIAttack implementation 2012-06-16 20:55:07 +02:00
Faq d77a8568b7 Fixing Death Knight T8 Melee 4P Bonus (darkruned set). tibbi 2012-06-14 22:36:56 +03:00
QAston aae45460ed Merge Pull Request #6744 'EmpoweredRenew'
Core/Spells: Fix Empowered Renew calculation
Closes #6744
2012-06-14 19:25:50 +02:00
QAston e53b44b6ba Merge pull request #6491
Core/Spells: convert some spell effects to SpellScripts
Closes #6491
2012-06-14 19:12:03 +02:00
Vincent-Michael 0e8889415d Core/Chat: Convert instance commands in commandscript 2012-06-14 17:33:46 +02:00
QAston 56c3811365 Merge pull request #6685 from mweinelt/master
Core/Battlegrounds: Introduce Arena.RatedUpdateTimer to configure time between checks for matchups in rated arena
2012-06-14 03:26:30 -07:00
dr.skull 63dd625154 Fix wrong magnet aura takeCharges when spell hit not magnet unit
This will fix issue 3151 second problem

Signed-off-by: dr.skull <[email protected]>
2012-06-14 00:40:33 +02:00
Vincent-Michael 62c64920f1 Core/Spells: Fix Empowered Renew calculation 2012-06-13 22:26:35 +02:00
click 50bd43661c Core: Remove a few silly warnings here and there (and adjust a comment to allow System.cpp to show properly in the nano-editor) 2012-06-13 18:38:21 +02:00