Commit Graph

4276 Commits

Author SHA1 Message Date
Shauren
577d5b4fd1 Core/SmartScript: Corrected size of pointId parameter for MOVE_TO_POS SAI action 2012-07-03 16:22:14 +02:00
Shauren
537caf33e9 Core/SpellScript: Implemented OnObjectTargetSelect hook for use with spell target that selects a single object 2012-07-03 12:35:06 +02:00
Shauren
96014a70cb Core/Units: Fixed crash added in 7f960fed73 2012-07-03 11:45:19 +02:00
Subv
d28f348caf Core/Spells: Removed some old code that was breaking Grounding Totem.
Please report feedback
2012-07-02 18:53:14 -05:00
Subv
1292b732f7 Core/Spells: Fixed Evasive Maneuvers and Stop Time, spells from the Oculus drakes.
Closes #6670
Closes #6675
2012-07-02 16:41:25 -05:00
Kandera
c49bc934b8 Core/Spells: correctly get magnet target. (subv fixed it) Closes #6674 2012-07-02 15:01:39 -04:00
LordJZ
72fd203688 Fixed CHAR_SEL_PETITION_SIG_BY_GUID_TYPE. 2012-07-02 20:35:28 +04:00
Kandera
a73ad7170e Core/Battleground: move check from f454b6722c to correct location. 2012-07-02 11:42:11 -04:00
Discover-
5edeb06f66 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2012-07-02 17:34:07 +02:00
Discover-
f454b6722c Core/Battlegrounds: Don't reward killing blows if the killer is also the victim. Reason could be stuff like warlock's Hellfire spell or fall damage. 2012-07-02 17:33:17 +02:00
Kandera
93cec76cdb Core/Spells: small change for previous commit. fixes typos 2012-07-02 11:33:12 -04:00
Kandera
7f960fed73 Core/Spells: fix damage bonus calculations for sanctified wrath talent. 2012-07-02 10:09:41 -04:00
Subv
8eba4aebfb Core/Units: Removed deprecated code 2012-07-01 18:29:59 -05:00
Subv
ae13832efc Merge pull request #6490 from Vincent-Michael/notEvenAScratch
Battleground/Strand of the Ancients: Fix Achievement: Not Even a Scratch
2012-07-01 14:10:36 -07:00
Subv
80898c1d0c Merge pull request #6884 from Vincent-Michael/resetCommand
Core/Commands: Convert reset commands in commandscript
2012-07-01 14:02:59 -07:00
Shauren
2bee0e6e37 Core/SpellScript: Corrected when OnObjectAreaTargetSelect hooks are called (must be before splitting unit/go targets) 2012-07-01 21:05:53 +02:00
Shauren
bd8226414d Missed change for previous commit 2012-06-30 23:22:51 +02:00
Shauren
c8d20004a5 Core: Minor code style corrections 2012-06-30 16:07:09 +02:00
QAston
469c7a0955 Core/Scripts: fix a crash from e0997874f5 2012-06-30 10:43:34 +02:00
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 <dnpd.dd@gmail.com>
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