Commit Graph

305 Commits

Author SHA1 Message Date
Malcrom
d5687a1003 Core/Scripting: Few minor fixes for Shattered Halls. 2013-07-09 18:42:52 -02:30
Malcrom
fb783fb098 Core/Scripting: A couple fixes for shattered Halls 2013-07-09 18:27:03 -02:30
Malcrom
17398a4043 Core / Scripting: Coverted a couple Shattered Halls npc scripts to use events 2013-07-09 07:10:48 -02:30
Malcrom
ebe1ef2492 Core / Scripting: Updates to Shattered Halls and added Instance save. 2013-07-08 23:29:55 -02:30
Vincent-Michael
e464d2bd2c Scripted: Some cleanups + ninja changes 2013-07-08 21:15:23 +02:00
Malcrom
d8b39e9bae Core/Scripting: Fix some errors in Shade of Akama script. 2013-07-08 16:31:29 -02:30
Malcrom
ac85fac977 Core / Scripting: fix a few warnings. 2013-07-08 14:44:10 -02:30
Malcrom
92eec6831a Core: Scripting: Shade of Akama WIP 2013-07-08 12:39:32 -02:30
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
Vincent-Michael
6079f369af Scripted/Misc: Some cleanup 2013-07-06 01:00:05 +02:00
Vincent-Michael
b4d4e04f53 Scripts/Misc: Rename creatures with mob_ / mobs_ in npc_
Note: Have fun :P
2013-07-04 22:11:47 +02:00
Malcrom
19aeac3abd Core/Scripting: Fix Gossip option select for npc_spirit_of_olum 2013-07-02 00:09:33 -02:30
Malcrom
b77eb5e527 Core/Scripting: Fix error in previous commit. 2013-07-01 20:21:15 -02:30
Malcrom
9e2083b4c8 Core/Scripting: Update spirit of Olum to use db gossip. 2013-07-01 19:43:35 -02:30
Malcrom
8d213fdea2 Core/Scripting: Move most if Illidan script text to creature text. 2013-07-01 18:48:42 -02:30
Vincent-Michael
e6185c92fc Scripts: Convert DoCast(me->GetVictim(), SPELL_XXXXX); in DoCastVictim(SPELL_XXX); 2013-06-22 16:53:13 +02:00
Vincent-Michael
a0fad6faa9 Core: Fix warnings and some cleanup 2013-06-21 18:06:38 +02:00
kaelima
a50fef2336 Scripts: Prevented several KilledUnit texts to yelled for non-players such as pets 2013-06-19 00:41:40 +02:00
Shauren
b6aadc6698 Scripts/Misc: Use new movement flag setting methods in scripts 2013-06-18 16:48:46 +02:00
Malcrom
b3237630ec Script: Updated Murmur to use events. 2013-06-15 21:22:37 -02:30
Malcrom
cb9bb4e959 Scritp: Updated Boss_Blackheart_the_Inciter to use events. 2013-06-15 20:02:41 -02:30
Malcrom
beed499770 Script: Update Boss_Grandmaster_Vorpil script to use events. 2013-06-15 19:03:09 -02:30
Malcrom
ec474a62e5 Core: More Function Renaming. 2013-06-11 21:25:12 -02:30
Malcrom
66978cfc3b Core: Some function renaming. 2013-06-11 19:54:27 -02:30
Shauren
8633452f8d Scripts/Misc: Fixed many scripts not executing one of their actions because of an event with id = 0 2013-05-19 10:52:39 +02:00
Spp
d1677b2db0 Core/Logging: Performance-related tweaks to logging system
All sLog->out* functions (except outCommand atm) are replaced with TC_LOG_* macros.
    Memleak fix
2013-05-13 15:07:36 +02:00
Pitcrawler
6521b1aad6 DB/SAI: Convert a core script to SAI. Fixes issues when abandoning the quest.
Thanks @dr-j for the initial work.
2013-04-11 02:14:49 +02:00
Spp
7c36e3a298 Core/Misc: Minor optimizations (+ code changes to reduce differences with 4.3.4 branch) 2013-03-25 10:36:30 +01:00
Spp
156fb824a4 Core/Scripts: Removed CAST_CRE define 2013-03-21 13:48:36 +01:00
Spp
355029fb4f Core/Scripts: Removed CAST_PLR define 2013-03-21 13:07:10 +01:00
Gacko
9ae1ef2cf8 Script/Spell: Unlocking Zuluhed's Chains
Closes #996
2013-03-13 18:45:31 +01:00
Nefarion
49fd11ab5a First step of comment style refactoring to doxygen-style. 2013-03-08 21:55:37 +01:00
Shauren
5b414bb813 Core/Scripts: Removed useless const modifier on method parameters accepting primitive types passed by value 2013-02-19 17:35:27 +01:00
Nay
028c72a9f2 Core/NPCs: Refactor equipments
- creature_template.equipment_id deleted
- creature_equip_template.entry == creature_template.entry
- id field added to creature_equip_template -> PK(entry, id)
- id field in creature_equip_template starts at 1
- creature.equipment_id references id of creature_equip_template
- creature.equipment_id = 0 means no equipment at all (default 1)
- creature.equipment_id = -1 means pick a random equipment from creature_equip_template
- add equipment info to .npc info command

While table creature_equip_template got bigger in size, this system is easier to mantain and allows creatures to have a random template from a group of equipments
2013-02-18 12:24:18 +00:00
click
75994b3dd3 Core: Clean up whitespace, and remove a silly warning in boss_lurker_below.cpp 2013-02-07 00:19:19 +01:00
m7nu3l
f9654d52e0 Core/AI: Removed Scripted_NoMovementAI which has become obsolete. Use ScriptedAI::SetCombatMovement(false); to get the same functionality. 2013-02-04 19:18:48 -03:00
Vincent_Michael
1cdfc65959 Script: Fix warning for craping script -.- 2013-02-03 01:32:14 +01:00
Vincent_Michael
847cafc121 Scripts/Misc: Some code optimisations 2013-02-03 00:38:34 +01:00
w1sht0l1v3
f0800d3926 Scripts/ShadowmoonValley: Fixup script for Lord Illidan Stormrage quest to be doable.
Notice: this whole script needs a proper rewrite(contains wrong Illidan npc id,bad dialogues,etc).
2013-01-26 19:19:55 +02:00
Spp
802657250c Core/Misc: Apply codestyle to multiple files 2013-01-14 09:50:59 +01:00
Malcrom
d7383717ea Core/Scripting: Misc Cleanup. 2013-01-13 01:38:28 -03:30
Vincent_Michael
abe4b656c8 Scripts/Mechanar:
* cleanup for door system
* Convert mechano lord capacitus in c++
2013-01-13 01:07:11 +01:00
Malcrom
df2e54f587 Core/Scripting: More cleanup to Mechanar scripts. Added missing doors and handling to instance. 2013-01-12 19:35:14 -03:30
Vincent_Michael
bf7f58365f Scripts/Misc: Some cleanups 2013-01-12 19:35:32 +01:00
Vincent_Michael
a02fa868a8 Core: Fix build 2013-01-12 19:01:49 +01:00
Malcrom
1993544103 Core/Scripting: More updates to Mechanar 2013-01-12 14:04:25 -03:30
Malcrom
0b6997b8af Core/Scripting: Move Boss_Gatewatcher_Gyrokill to c++ scripting. Additional cleanup in Mechanar. 2013-01-12 00:14:12 -03:30
Malcrom
43d73bebd0 Core/Scripting: Some cleanup 2013-01-07 22:48:40 -03:30
Malcrom
70977f3097 Core/Scripting: Misc fixes 2013-01-07 20:18:47 -03:30
Malcrom
1c77eee917 Core/Scripting: Move Text for Shirrak the Dead Watcher to creature text 2013-01-07 19:50:31 -03:30