Commit Graph

7107 Commits

Author SHA1 Message Date
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
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 <dnpd.dd@gmail.com>
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 <dnpd.dd@gmail.com>
2012-06-17 23:13:48 +01:00
dr.skull
b5a072855e Fix added check for IsImmunedToSpell
Signed-off-by: dr.skull <dr.skull@centrum.sk>
2012-06-17 23:19:32 +02:00
Nay
d61f9fb40c Fix build in GCC
Signed-off-by: Nay <dnpd.dd@gmail.com>
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 <dnpd.dd@gmail.com>
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 <dr.skull@centrum.sk>
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
Vincent-Michael
c6dd149f1b Core/Spells: Fix Curse of Doom (thx to Warpten / joschiwald for helping) 2012-06-14 21:11:37 +02: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 <dr.skull@centrum.sk>
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
Kandera
5daa540d3a Core/Spells: handle SPELL_AURA_MOD_DEBUFF_RESISTANCE only for auras. fixes sacred cleansing causing the whole spell to be resisted. 2012-06-13 12:34:59 -04:00
Vincent-Michael
6b5d455023 Core/Spells: Fix no combo points after Mind Control 2012-06-13 14:06:35 +02:00
kaelima
9cdf3fb4c0 Core/DungeonFinder:
- Corrections to c6c23b7f7e: Properly fixed #6748 after misunderstanding the issue.
- Display proper error message when teleportating as fatigued
2012-06-13 08:21:29 +02:00
Subv
e8f4eb28f5 Core/DF: Add Dungeon Deserter debuff when leaving an incomplete DF match, and implemented Dungeon Cooldown for random dungeons 2012-06-12 16:33:43 -05:00
Shauren
15eb5f0749 Core/SmartAI: Allow calling talk action on targeted creature even if scripted object itself is not a creature 2012-06-12 22:22:18 +02:00
Shauren
b24c15740f Build fix 2012-06-12 20:17:55 +02:00
kaelima
c6c23b7f7e Core/DungeonFinder:
- Prevent players from vote kicking in combat (basic implementation, still needs a timer) partially closes #2563
- Prevent players from teleporting to a finished dungeon using macro commands. Closes #6748

Also add a missing change for ff77610e1d thanks 2010phenix for the hint.
2012-06-12 18:14:52 +02:00
Kandera
a2848f543e Core/Spells: use calculated basepoints for mechanic_immunity_mask aura effect. 2012-06-12 08:53:21 -04:00
Kandera
b80621838a Core/Spells: Correctly fix basepoint calculation for adding extra attacks. 2012-06-11 13:26:30 -04:00
Kandera
cdb3ab809b Core/Pets: removed logerror from previous commit 2012-06-11 12:29:26 -04:00
Kandera
9fe66cafbe Core/Pets: add ghoul reactions to owner emotes. thx joshwhedon 2012-06-11 12:26:20 -04:00
Kandera
042f825400 Core/Spells: use raw basepoint value for extra attacks. damage gets fuddled somewhere for this spell. fixes hardened steel berserker doing insane damages! 2012-06-11 12:22:32 -04:00
Subv
38f6f9d8cb Core/SAI: Missing change from previous commit 2012-06-11 11:15:33 -05:00
Shauren
28f8e42a69 Core/AI: Added EventInform hook for GameObjectAI and implemented it in SAI 2012-06-11 11:10:46 +02:00