Commit Graph

409 Commits

Author SHA1 Message Date
Nefarion
49fd11ab5a First step of comment style refactoring to doxygen-style. 2013-03-08 21:55:37 +01:00
Shauren
6ccad9adc4 Scripts/Blackwing Lair: Fixed crash happening with Shadows of Ebonroc 2013-02-26 22:20:15 +01:00
Nay
4540a1d24b Merge pull request #9168 from Kirkhammett/Ebonroc_Bwl
Npc/Core: Was using Onyxia's Wing Buffet spell which can 1 shot lowbies...
2013-02-19 15:11:27 -08: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
Vincent_Michael
166a2092fd Scripts/BWL: Fix build no. 2 2013-02-16 18:15:32 +01:00
Nay
f95ce01b15 Scripts/BWL: Fix build 2013-02-16 17:12:10 +00:00
Nay
a614dd775c Say NO to whitespace 2013-02-16 17:04:44 +00:00
Gigatotem
2e08db9ce9 Scripts/BWL: Fix typo in recent commit. 2013-02-16 16:56:06 +00:00
Gigatotem
920cd0e923 Scripts/Blackwing Lair: Broodlord Lashlayer clean-up. 2013-02-16 16:42:17 +00:00
Kirkhammett
f7944aaedf Fixup for last commits. 2013-02-12 14:59:44 +01: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
847cafc121 Scripts/Misc: Some code optimisations 2013-02-03 00:38:34 +01:00
Gacko
dbecf05e39 Core: Logical fixes and improvements in EventMap 2013-01-30 18:39:34 +01:00
Vincent_Michael
8814d8c136 Script/ToCr: Fix crash for lord jaraxxus Mistress Kiss + cleanup 2013-01-30 18:06:19 +01:00
Spp
8cd408ae6c Core/Misc: Some changes to minimize differences with 4.3.4 branch 2013-01-30 10:34:18 +01:00
Gacko
29cd1dbec1 Core/Quest: Bloody Breakout
Closes #641
2013-01-28 19:50:01 +01:00
Vincent_Michael
367e1f7b2b Core: Fix warnings 2013-01-21 10:11:46 +01:00
Aokromes
321b425f36 Update COPYING
Signed-off-by: Nay <dnpd.dd@gmail.com>
2013-01-21 02:47:51 +00:00
Nay
3523d84a91 Shooting myself in 3... 2... 2013-01-21 02:34:43 +00:00
Nay
2363552655 Scripts/ZG: Fix a warning and a compile error introduced in previous commit
Personal opinion: BossAI should not have a public field named "instance"
2013-01-21 02:24:25 +00:00
Nay
c6c23d67b8 Scripts/ZG: Fix some code style issues and logic errors 2013-01-21 02:10:01 +00:00
Malcrom
33b7685696 Scripting/ZulGrub: Fix last commit 2013-01-20 18:20:46 -03:30
Malcrom
b7dbc8d746 Scripting/Zulgrub: Updated Boss Arlokk Script. 2013-01-20 18:04:06 -03:30
Vincent_Michael
ed44eea699 Core: Fix warnings 2013-01-19 20:28:29 +01:00
Malcrom
b115abde31 Script/Scholomance: Update Kirtonos the Herald script. 2013-01-17 19:50:11 -03:30
Warpten
faccbef869 Scripts/ZulGurub: I can do this!
Commiting stuff one hour after waking up is no good.
2013-01-16 07:18:47 +01:00
Warpten
3df4075a04 Scripts/ZulGurub: Fixed Hakkar's aspects. 2013-01-16 07:16:22 +01:00
Warpten
797be8d9ff Scripts/ZulGurub: Missing mass replace changes and typo/codestyle fixes. 2013-01-16 07:07:48 +01:00
Warpten
26bf10365e Scripts/ZulGurub: Forgotten change to previous commit. Damned Ctrl+S. 2013-01-16 06:55:46 +01:00
Warpten
803bf2f9cc Scripts/ZulGurub:
* Fixed non-PCH compile.
* Changed some codestyle on Mandokir.
* Fixed compile warnings and a few typos.
* Remove instance checks and use a wrapper to get AIs.
2013-01-16 06:51:59 +01:00
Malcrom
ace7bbeddf Core/Zul'Grub: Fix up Mandokir Boss 2013-01-16 00:41:03 -03:30
Malcrom
b138d7fdf4 Core/Scripting: Bosses should now work in ZG.
Note: Mandokir is being rewritten blizzlike and not everything is working properly yet.
2013-01-15 13:23:33 -03:30
Spp
802657250c Core/Misc: Apply codestyle to multiple files 2013-01-14 09:50:59 +01:00
Malcrom
83c753f607 Core/Scripting: more Zul'Grub updates 2013-01-13 20:58:48 -03:30
Malcrom
114617fcb0 Core/Scripting: Fix build 2013-01-13 19:59:09 -03:30
Malcrom
0759f6c910 Core/Scripting: More Zul'Grub updates 2013-01-13 19:48:25 -03:30
Malcrom
0a4cfd04bb Core/Scripting: Update boss Mar'li script 2013-01-13 17:42:16 -03:30
Malcrom
63488f3a86 Core/Scripting: Fix Zul'Grub Instance 2013-01-13 17:23:46 -03:30
Malcrom
cdafb60f0c Core/Scripting: Clean up boss Jin'do 2013-01-13 15:05:31 -03:30
Malcrom
71bfda55c3 Core/Scripting: Improve boss Thekal script and misc cleanup. 2013-01-13 13:44:11 -03:30
Malcrom
a47164b3dd Core/Scripting: Update script for boss thekal, Zul'Grub 2013-01-13 12:08:40 -03:30
Gacko
0b07912622 Fix nonpch build and warning. Move script to spell_quest.cpp 2013-01-13 15:37:01 +01:00
Malcrom
7abdab74ef Core/Scripting: Some updates to Zul'Grub 2013-01-13 09:52:43 -03:30
Gacko
fdd853366a Core/Script: Uldaman - Altar of the Keepers
... and some codestyle changes.
2013-01-13 11:54:05 +01:00
Malcrom
d7383717ea Core/Scripting: Misc Cleanup. 2013-01-13 01:38:28 -03:30
Malcrom
0fe10ce283 Core/Scripting: Updates to Zul'Grub Instance. 2013-01-13 01:07:35 -03:30
Vincent_Michael
bf7f58365f Scripts/Misc: Some cleanups 2013-01-12 19:35:32 +01:00
Vincent_Michael
cc5e40e8ee Scripts/Scholomance: Fix warning 2013-01-12 13:54:14 +01:00