Commit Graph

91 Commits

Author SHA1 Message Date
Shauren d91964912e Core/Skills: Fixed spells automatically learned from skill lines adding more skill lines 2014-07-12 17:27:26 +02:00
untaught f64add02e8 Core/Spells: fixed Fate Rune of Unsurpassed Vigor 2014-07-07 16:27:09 +02:00
Trisjdc 4793f20506 Core/Spells: Nitro Boost should not fail in dungeon maps 2014-05-22 14:40:21 +01:00
Shauren f9c7bb4171 Partially revert f296095191 "Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic."
Visual studio does not support constexpr
Made semicolon after "Prepare*Script" mandatory - workaround for dumb IDEs inserting extra indentation level after newline
2014-05-18 12:50:10 +02:00
Praetonus f296095191 Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic.
-Fix warnings from -Woverflow on implicit constant conversion.
-Fix warnings from -pedantic.
-Fix warnings from -pedantic.
-Fix warnings from -Wformat.

Two minor changes in addition :

-Replace a defined value equal to 2^31 - 1 by std::numeric_limits<int>::max().
-Remove useless null-check on pointer returned by new. New doesn't returns nullptr on failure, it throws std::bad_alloc.
2014-05-15 21:32:47 +02:00
Dehravor 24ae6a6802 Core/Misc: Remove obsolete C++11 backward compatibility macros
OVERRIDE, FINAL, DELETE_MEMBER
2014-04-29 16:35:11 +02:00
joschiwald fbddda52e7 Core/Spells: move more spells to spellscripts 2014-01-26 02:24:57 +01:00
Vincent_Michael 20004050bc Update copyright note for 2014.
Happy new year.
2014-01-01 00:07:53 +01:00
Vincent_Michael 9802c7b891 Scripts/Misc: Coding Style unification? (by Aokromes) 2013-10-22 20:24:05 +02:00
joschiwald 0667e89005 Scripts/DrakTharonKeep: add some spellscripts, add yells to novos, and do some cosmetic changes 2013-08-07 17:31:36 +02:00
Nay 1bb3c4a2b4 Misc: Fix warnings and build
Closes #10396
2013-07-29 14:24:53 +01:00
joschiwald 99c67c103d Scripts/Spells: backport some SpellScripts from 4.3.4 branch
- Fix Earth Shield
- Fix Necrotic Touch
- Fix Reflective Shield

Closes #9145, #9163, #9665
2013-07-24 02:13:49 +02:00
Nay 3561ab98ba Misc: Use override and final C++11 keywords in a few places (mostly scripts)
OVERRIDE and FINAL are TC macros (expand to nothing if compiler does not  support C++11)
2013-07-06 20:21:45 +01:00
Shauren 112bc49c9a Core/Units: Removed most calls to SendMovementFlagUpdate for creatures 2013-06-30 16:31:24 +02:00
Malcrom 66978cfc3b Core: Some function renaming. 2013-06-11 19:54:27 -02:30
Malcrom 047608e7de Core/SAI: Add check so npc will not send text to pet. Also updated isPet() to IsPet(). 2013-06-11 18:39:51 -02:30
Gacko ccb95c7462 Script/Spell: Apply Shadow's Fate to Sindragosa
Sindgragosa is summoned in instance script and would not pass the modified check otherwise

Related to: #9487
2013-03-22 21:36:25 +01:00
Shauren e49aaab6f6 Scripts/Icecrown Citadel: Improvements to Shadowmourne quest line 2013-02-17 02:10:08 +01:00
zwerg e5e970baec Core/Spells: Fix cooldown problems for Val'anyr, Hammer of Ancient Kings
Closes #9162
2013-02-09 23:19:18 +01:00
joschiwald af50ce6223 Core/Spell: convert more spells to SpellScripts 2013-01-22 23:36:51 +01:00
joschiwald c38d95ac33 Core/Spells: convert some spells to SpellScripts 2013-01-20 04:30:17 +01:00
Spp 802657250c Core/Misc: Apply codestyle to multiple files 2013-01-14 09:50:59 +01:00
Vincent_Michael cc65aba789 Update copyright note for 2013.
Happy new year.
2013-01-01 00:41:01 +01:00
Spp b99c347747 Core: Remove Player.h dependency from all the possible headers 2012-11-17 05:18:37 +01:00
Nay abe81119b4 Core/Script: Fix item unusual compass.
By Kaelima and Retriman

Closes #8039
2012-10-12 01:28:37 +02:00
Vincent-Michael 6f38fb1011 Core: Fix some code style 2012-09-07 02:21:38 +02:00
Vincent-Michael 5954011a90 Core/Spells: clean up some code and move to spell script. Closes #7195 2012-09-06 11:00:37 -04:00
w1sht0l1v3 4a85def47e DB/SAI: Fix Quest 12828 (Ample Inspiration). 2012-06-26 00:45:07 +03:00
kandera 624a5629b9 Merge pull request #6040 from w1sht0l1v3/borean_tundra
Core/DB: Quest The Emissary
2012-05-24 07:31:10 -07:00
4m1g0 524e30e57b Scripts/kalimdor: Use proper headers to optimize compile, code style and general cleanup.
Closes #6419 (pr)
2012-05-19 15:11:09 +01:00
Kandera edf1de6d93 Core/Spells: move rocket boots spell cast check to spell script. add event for checkcast for deathcoil (dk) heh i forgot it >.< 2012-05-18 11:56:23 -04:00
Malcrom 5709929d2b Core/Threat: Fix by faq.
Turning gm on, now drops threat.
Dead mobs no longer holds threat on player.
Also fixed some Engrish.
2012-05-13 11:33:42 -02:30
Kandera 61bc8e1c6f Core/Spells: added function to initiation script.
DB/SAI: added rest of quest to database for Greatmother's Soulcatcher
2012-04-24 11:59:08 -04:00
Shauren 1851a2e9e3 Scripts: Replaced calls to ForcedDespawn with DespawnOrUnsummon (calls appropriate AI hooks in case of temporary summons) and made ForcedDespawn private 2012-04-24 16:53:37 +02:00
Kandera b07341f998 Core/Spells: Fix spell cast of greatmother's soulcatcher. closes #1882 2012-04-23 14:35:12 -04:00
Kandera 5da5021464 Core/Spells: fix rocket boots extreme (+lite) spell cooldown issue. 2012-04-23 13:42:54 -04:00
w1sht0l1v3 8cf7d91857 Core/DB: Quest The Emissary.
Fix condition in item spell(usable only when npc is above 95% hp).
Added correct faction,unit_flags and emote to Leviroth.
2012-04-22 13:58:22 +03:00
Gyx e050945c91 Core/Script: Code style and remove unused core.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-28 11:13:37 +08:00
Gyx e5afa4a950 Core/Script: Clean-Up in Scripts.
Item* pItem -> Item* item

Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16 20:57:13 +08:00
leak 2a5caef4a6 Revert "Core: more more cleanup" - Build test anyone?
This reverts commit 20cd4c71ee.
2012-03-14 18:51:51 +01:00
thomas33 20cd4c71ee Core: more more cleanup 2012-03-14 17:51:11 +01:00
QAston ccbe209ded Merge pull request #5343 from kandera/fix_spell_script_stuff
fix a few issues with the spell scripts i made.
2012-02-23 09:35:10 -08:00
Kandera c27a0333ce Core/Scripts: script despawn for dummy effect of muisek vessels 2012-02-23 12:18:51 -05:00
Spp 1e246cb66c Fix build (gcc) and fix warnings 2012-02-22 09:15:57 +01:00
Kandera 3d85e099e2 fix a few issues with the spell scripts i made. 2012-02-21 10:55:30 -05:00
click dce3bc01ac Core: Fix non-PCH building 2012-02-19 16:57:07 +01:00
vincent-michael 34a41d0152 Scripts/Spells: Use correct spell and fix crash in spell_item_impale_leviroth 2012-02-18 21:18:02 +00:00
click 5411e1ce52 Core: Clean up whitespace and tabs in the base sourcetree 2012-02-18 16:52:08 +01:00
Kandera c517806a23 Scripts/Spells: Convert code from Spell::EffectDummy to spell scripts. 2012-02-18 12:12:49 +01:00
Discover- 126d3c8339 Scripts/Spells: Script spell Refocus 2012-01-24 21:23:05 +01:00