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
Gacko
8fbec4156b
Core/DB: Creature text for 22 script files
2012-12-07 10:04:40 +01:00
Gacko
f9c0e3c91b
Core/DB: Creature text for 53 script files
2012-12-06 18:08:21 +01:00
ille
8f9ee58e63
scripts/gameobject: correct reset of gameobjects (cages/prisons), move command out of if statement
2012-11-30 18:57:56 +01:00
Spp
7bef4ce401
Core/Misc: Reduce header dependencies - Step III
2012-11-20 15:03:56 +01:00
Spp
81606e5d1e
Core/Misc: Define some methods const
2012-11-20 09:29:52 +01:00
Spp
bf8b642a47
Fix compile without PCH (Also added some minor changes to minimize differences with 4.3.4)
2012-11-19 12:02:33 +01:00
Spp
b99c347747
Core: Remove Player.h dependency from all the possible headers
2012-11-17 05:18:37 +01:00
Spp
876ad50dcd
Core/Misc: Tweaked ThreatContainer internals
...
(and many cosmetic changes here and there)
2012-10-26 14:31:19 +02:00
Spp
663db1cee3
Core/Misc: Add default count param to HasItemCount
2012-10-23 13:11:57 +02:00
Spp
7831ecdb18
Core: "Initial support for C++11 compilers"
2012-10-02 15:06:19 +02:00
Spp
380db44583
Core/Utilities: Use generic templates with AddPct, ApplyPct and CalculatePct
2012-10-02 12:17:42 +02:00
Gacko
e9a2b3f10e
Scripts/Sm: Fix quest I was a lot of things
...
(Modified - Nayd)
Closes #6295
Closes #7577
2012-09-22 02:26:55 +01:00
w1sht0l1v3
2ff0910d67
Core/Scripts: Reliquary of Souls: fix encounter start and essence phases.
2012-09-13 03:40:17 +03:00
Nay
21d43781ac
Tabs to spaces...
2012-09-07 03:33:16 +01:00
kaelima
7c971be3c5
Core/Misc: Fix some warnings and logic mistakes found by static code analysis
2012-09-05 17:18:05 +02:00
Shauren
1e9fc84a12
Core: Warning fixes
...
C4100: 'x' : unreferenced formal parameter
C4310: cast truncates constant value
C4389: '==' : signed/unsigned mismatch
C4668: 'x' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C4701: potentially uninitialized local variable 'x' used
C4826: Conversion from 'HMODULE' to 'DWORD64' is sign-extended. This may cause unexpected runtime behavior.
C6067: Parameter '3' in call to 'sprintf' must be the address of the string
C6387: 'argument 1' might be '0': this does not adhere to the specification for the function 'CloseHandle'
2012-09-04 14:40:41 +02:00