Commit Graph

290 Commits

Author SHA1 Message Date
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
Malcrom
a8374bd001 Core/Scripting: Some cleanup 2013-01-07 18:39:30 -03:30
Malcrom
38c55a15ad Core/Scripting: Rename zone scripts. 2013-01-02 14:52:13 -03:30
Malcrom
2fd10b5d15 Core/Scripting: Properly name boss_thorngrin_the_tender file. 2013-01-02 14:11:39 -03:30
Vincent_Michael
e0db317530 SQL: Fix sql import problem 2013-01-02 03:06:55 +01:00
Malcrom
1062a0b40f Core/Scripts: Added spell scripting for Commander Sarannis. Added Instance Template for The Botanica.
Thanks to Vincent Michael
2013-01-01 22:28:29 -03:30
Vincent_Michael
56096b7704 DB/Creatures: Some fix for Wyrmrest Skytalon
Closes #8733
2013-01-02 02:43:41 +01:00
Vincent_Michael
88e6071ff6 Core: Fix build 2013-01-02 02:28:00 +01:00
Malcrom
596ef0efd7 CORE/Scripting: Forgot new lines at end of file. 2013-01-01 21:41:37 -03:30
Malcrom
f7e7f5fe26 CORE/Scripting: Move Commander Sarannis & Thorngrin the Tender to cpp scripting. Add instance script.
Thanks to Vincent Micheal for the help :)
2013-01-01 21:36:21 -03:30
Vincent_Michael
cc65aba789 Update copyright note for 2013.
Happy new year.
2013-01-01 00:41:01 +01:00
Gacko
edb90f957b Core/DB: Haaleshi Altar
- Prevent crash due to spamming GossipHello
- Convert core script to SAI
- Solves #8220
2012-12-31 15:03:19 +01:00
Nay
7ccef51c8c Merge pull request #8518 from ille/goreset
scripts/gameobject: correct reset of gameobjects (cages/prisons), move command out of if statement
2012-12-27 18:50:35 -08:00
Malcrom
30e2ab8e0f DB/SCRIPTS: Fix text for High Botanist Freywinn and remove creature_ai_texts. 2012-12-26 11:52:05 -03:30
Gacko
40292d9a19 Core/DB: Assign texts to correct creatures
Also convert some never used script texts to creature text for future use.
Some scripts or Talk() calls need to be implemented first.

Solves #8659
2012-12-18 15:19:13 +01:00
CeIa
b87cc31106 Scripts/Events/Achievement: fix 'Out With It'
Credits to @darkman1983

Closes #8211
Closes #8126

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-12-14 01:23:53 +00:00