Commit Graph

134 Commits

Author SHA1 Message Date
QAston
3137a82c7c Core/Spells: Cleanup in Spell.h:
- Codestyle (fix function naming) and cleanup changes in SpellCastTargets class, also access variables of this class by getters/setters
 - Move IsQuestTameSpell function to SpellMgr.h
 - Move UnitList typedef to Unit.h
Additionally - add missing copyright notice to SpellAuraEffects.h
2011-06-23 13:28:52 +02:00
click
f16df538ee Core: More codestyle cleanups 2011-06-12 01:47:45 +02:00
click
158966dc79 Core: Codestyle cleanup 2011-06-11 22:35:29 +02:00
Az@zel
72b73d2cb9 Scripts/Scarlet Enclave: fix stolen effect for DK quest, which allowed to hang server by spawning unlimited number of mobs 2011-06-08 11:59:45 +06:00
kaelima
ae0d349a3c Core/Defines: Update enum TextEmotes, values and names from client. (These emotes comes in CMSG_TEXT_EMOTE). 2011-05-30 22:57:37 +02:00
Shauren
a644206f88 Scripts: Removed SEND_VENDORLIST and SEND_TRAINERLIST defines 2011-05-26 23:31:46 +02:00
Shauren
9cc7f25b9a Scripts: Removed CAST_PET and CAST_INST 2011-05-25 16:22:13 +02:00
Shauren
64adce7b8b Scripts: Removed CAST_SUM define 2011-05-25 15:55:14 +02:00
Nay
8f9e3a7a86 Scripts/Zul'aman: Fix Zul'jin weapon display
Closes #1613
2011-05-22 11:46:27 +01:00
Supabad
fd1ed09752 Scripts/Zulaman: remove hack from script and use correct spell 2011-05-16 16:06:23 +02:00
johnholiver
58aa146a47 Core/Scripts: Remove a small debug message from Brutallus code. 2011-05-06 21:49:55 -03:00
leak
1003f30448 Add spaces after commas 2011-04-29 20:47:02 +02:00
leak
c51c817a45 Core/ObjectMgr: Refactor sCreatureStorage 2011-04-28 22:57:08 +02:00
click
9762c17833 Core/Buildsystem: Update copyright-headers for 2011, and adjust with the correct teamname as well. 2011-04-27 18:17:00 +02:00
Shauren
8898db8b27 Core: Corrected NULL usage, it should only be used with pointers, not integers 2011-04-23 15:53:48 +02:00
Malcrom
5a5d266e00 DB/SAI: Add 6172 & 6177 & 33788 scripts and remove their core scripts. 2011-04-22 19:56:16 +01:00
Shauren
7a03861715 Scripts/Molten Core: Fixed core freezes caused by this script
Closes #1217, #798, #905
2011-04-16 13:59:34 +02:00
Supabad
3a2fb99f1f Core/BlackrockSpire: add support for non-PCH compile
also add instance files to scriptloader
2011-04-15 10:36:47 +02:00
Supabad
35645abfc6 Scripts/BlackRockSpire: Cleanup boss scripts. add instance script and header 2011-04-07 18:49:49 +02:00
Shauren
3fcb49c685 Core/Scripts: Removed double calls to InstanceScript's Initialize methods 2011-04-03 21:24:22 +02:00
Shauren
e1bacef346 Core: Removed unused functions (leftovers from sd2, was needed when scripts were built as separate dll) 2011-04-01 20:31:15 +02:00
Shauren
2f79b0f266 Core: Removed all double (and more) empty lines 2011-03-21 10:52:14 +01:00
Shauren
3b343ac497 Core/Scripts: Code style cleanup in AI base classes, removed duplicate DoAction method 2011-03-19 19:41:42 +01:00
Shauren
c2c40a4750 Scripts: Removed duplicate target selection function (SelectUnit), there is only SelectTarget now 2011-03-09 21:32:04 +01:00
Shauren
e5347a3bda Core: Fixed warnings:
C4100: 'variable' : unreferenced formal parameter
C4701: potentially uninitialized local variable
C4389: '!=' : signed/unsigned mismatch
C4245: 'argument' : conversion from 'X' to 'Y', signed/unsigned mismatch
2011-03-08 16:42:00 +01:00
kaelima
00f2ded757 Scripts/Scarlet Enclave: Fix model for scarlet mine cart. 2011-03-08 09:43:38 +01:00
Shocker
98f6c2fe80 Scripts/Alterac Valley: Fix some out of range text entries 2011-02-25 19:52:26 +02:00
Machiavelli
5236bf4511 Fix build with scripts included 2011-02-20 21:19:32 +01:00
Machiavelli
c1445cd475 Fix build with scripts included 2011-02-20 21:07:03 +01:00
Shauren
2b603ec28f Scripts/Quests: Fixed "True Masters of the Light" (id 9737) 2011-02-05 12:46:53 +01:00
Shauren
1740df0fac Fixed typo (and compile) 2011-02-03 22:38:33 +01:00
Shauren
c2b0bcbd6c Core/Instances: Implemented DungeonEncounter.dbc for creating completed encounters mask to use in packets
Core/Dungeon Finder: Implemented new way of giving random dungeon rewards, linked to DungeonEncounter.dbc
2011-02-03 22:20:40 +01:00
Shauren
7ea8bad07f Scripts/Molten Core: Huge cleanup in instance script, converted all bosses to use BossAI, cleaned code style
Scripts/Molten Core: Implemented saving boss states to database, now it is possible to continue the instance after core restart
2011-02-03 21:59:07 +01:00
Shauren
08f251bdb0 Scripts/Stratholme: Cleaned up instance script a bit 2011-01-31 14:04:51 +01:00
Shauren
bf61400558 Scripts/Quests: Fixed incorrectly named hooks 2011-01-29 14:59:59 +01:00
leak
137b079eea Core: Generic cleanup (tab2spaces/trailing whitespace removal) 2011-01-26 01:03:35 +01:00
Machiavelli
d399daab59 Core/Quests: Resolve ambiguity between QUEST_STATUS_COMPLETED and rewarded state by implementing QUEST_STATUS_REWARDED. The latter is not used in the database explicitly, only in the core. This is to prevent overhead by iterating over the rewarded quests storage multiple times.
All relevant upper level code has been updated accordingly to the best of my ability.
2011-01-13 23:06:59 +01:00
Spp
bd2728eb74 Core: Fix some warnings 2011-01-11 11:18:00 +01:00
Shocker
de56044b13 Scripts/Zul'Gurub: Fix in 34aae56104 should include leech auras too 2011-01-11 01:54:53 +02:00
Sarjuuk
34aae56104 Scripts/Zul'Gurub: High Priest Thekal will no longer die inbetween his two phases
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-01-06 21:41:57 +01:00
Ottowayne
4a052cb444 Scripts/Scarlet Enclave: Quest 12801 - Respawn required Adds on Mograine Respawn
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-01-06 21:16:46 +01:00
Machiavelli
f832990678 Scripts/Molten Core: Remove a redundant health-check in majordomo executus script.
Thanks to Lopin for pointing out.
2011-01-06 20:59:58 +01:00
sarjuuk
855e910298 Scripts/Molten Core: Ragnaros gets spawned after Majordomus dies. Majordomus gets spawned by killing everything else.
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-01-06 19:07:52 +01:00
Shauren
9c0cd63e93 Core/Scripts: Added wrapper method for despawning creatures DespawnOrUnsummon 2011-01-02 21:33:37 +01:00
Machiavelli
957c69de83 Update copyright note for 2011.
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren
928443d899 Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Shauren
0f3b9019a8 Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
linencloth
59da698189 Core: Rename spell attributes, use more general names
--HG--
branch : trunk
2010-12-19 05:15:47 +01:00
Shauren
82f45966fc Core/Unit: Renamed addUnitState/hasUnitState/clearUnitState to AddUnitState/HasUnitState/ClearUnitState
Core/Vehicles: Allow the vehicle to always damage the passenger (removed unneded dbc hacks from scripts)

--HG--
branch : trunk
2010-12-17 13:43:24 +01:00
Anubisss
6d9029c12e Make some cleanup.
My thank goes to Az@zel for the code analysis.

--HG--
branch : trunk
2010-12-16 18:08:23 +01:00