Trisjdc
eb414532fe
Core/CreatureAI: Implement CreatureAI::TalkToMap for all your map-wide talking needs. Could also replace Battleground::SendChatMessage
2014-06-09 23:10:33 +02:00
Sebastian Valle Herrera
d41779f8fa
Merge pull request #12135 from Trisjdc/event_map_extension
...
Core/Util: A couple useful new functions for EventMap
2014-06-02 18:10:08 -05:00
Trisjdc
8db02c52ac
Core/Util: A couple useful new functions for EventMap, as well as getting rid of some old junk
2014-06-02 23:59:35 +01:00
Gacko
26370223a0
Script/Shadowmoon Valley: Remove hack in npc_shadowmoon_tuber_node.
...
This script will be converted to SAI (if possible) later.
2014-06-01 19:39:57 +02:00
Gacko
8ef34535a4
Scripts: Remove unused variables (kept as comment)
2014-06-01 19:34:34 +02:00
Trisjdc
0e32789cd2
Core/Spells: Missing target conditions for Divine Hymn/Hymn of Hope's second effect
2014-05-26 20:42:53 +01:00
Trisjdc
ea1c4a355c
Core/Spells: Sniper Training should refresh every 6 seconds if all conditions are met
2014-05-24 18:57:26 +01:00
jackpoz
f091713086
Core/Misc: Fix typo
...
Fix typos about the word "Resurrect"
2014-05-24 18:25:53 +02:00
Discover-
8f42dd3fab
Merge pull request #12111 from MitchesD/commands
...
Scripts/Commands: added option to show InhabitType in .npc info command
2014-05-24 00:45:06 +02:00
MitchesD
007e903753
Scripts/Commands: added option to show InhabitType in .npc info command
2014-05-23 20:51:22 +02:00
joschiwald
3c97735056
Scripts/PoS: fixed rimefang icy blast
...
Closes #632
2014-05-23 16:16:31 +02:00
Trisjdc
4793f20506
Core/Spells: Nitro Boost should not fail in dungeon maps
2014-05-22 14:40:21 +01:00
jackpoz
1083dbb993
Core/Misc: Remove Unit::Get* wrappers for ObjectAccessor::Get*
2014-05-20 21:21:33 +02:00
joschiwald
37073a8817
Merge pull request #12082 from MitchesD/misc_2
...
Scripts/Krystallus: converted to EventMap, removed useless code
2014-05-19 02:48:41 +02:00
MitchesD
fa1358afce
Scripts/Krystallus: converted to EventMap, removed useless code
2014-05-18 13:48:09 +02:00
Shauren
f9c7bb4171
Partially revert f296095191 "Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic."
...
Visual studio does not support constexpr
Made semicolon after "Prepare*Script" mandatory - workaround for dumb IDEs inserting extra indentation level after newline
2014-05-18 12:50:10 +02:00
Praetonus
f296095191
Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic.
...
-Fix warnings from -Woverflow on implicit constant conversion.
-Fix warnings from -pedantic.
-Fix warnings from -pedantic.
-Fix warnings from -Wformat.
Two minor changes in addition :
-Replace a defined value equal to 2^31 - 1 by std::numeric_limits<int>::max().
-Remove useless null-check on pointer returned by new. New doesn't returns nullptr on failure, it throws std::bad_alloc.
2014-05-15 21:32:47 +02:00
jackpoz
d32180df17
Merge pull request #12058 from Trisjdc/sunwell
...
Scripts/SWP: Sathrovarr will no longer cause player teleports on grid load
2014-05-13 20:48:23 +02:00
Trisjdc
593fb9b68a
Scripts/SWP: Sathrovarr will no longer cause player teleports on grid load
2014-05-13 11:32:56 +01:00
jackpoz
b17e3246fe
Core/Misc: Fix static analysis issues
...
Fix uninitialized values spotted by coverity.
Remove unused "dynamic analysis" code, use Valgrind or another dynamic analysis tool instead if needed.
2014-05-12 21:18:59 +02:00
joschiwald
de6eddaa35
Scripts/HoR: fixed conflict between multiple classes with same name
...
Closes #12051
2014-05-11 18:13:02 +02:00
Gacko
b76bcad46e
Script/ICC: Use existing method for getting GO auto-close-time
2014-05-11 15:15:43 +02:00
MitchesD
8e7cf15dd1
Scripts/HallsOfReflection: Major changes
...
* corrections to Intro Event (Falric, Marwyn etc.)
* fixed issues with Frostsworn General
* improved the whole Wrath of the Lich King event
* implemented outro gunship
* optimalization code and cleanup and fixed some typos
* Big thanks to @joschiwald, he is author too ;-)
2014-05-10 21:37:33 +02:00
MitchesD
eabec73d98
Scripts/Duskwood: prevention to spawn multiple Twilight Corrupter and fixed some issues there
2014-05-09 16:59:55 +02:00
Dehravor
109495ac9b
Scripts/Ulduar: Fix crash when Algalon's Big Bang is casted by player
2014-05-04 20:30:19 +02:00
Dehravor
cbd36d5a4e
Core/Misc: Remove remaining COMPILER_HAS_CPP11_SUPPORT related macros
2014-05-01 11:19:32 +02:00
Dehravor
24ae6a6802
Core/Misc: Remove obsolete C++11 backward compatibility macros
...
OVERRIDE, FINAL, DELETE_MEMBER
2014-04-29 16:35:11 +02:00
jackpoz
d0cc723d2d
Scripts/Commands: Fix crash in ".wp modify wpadd"
...
Remove the old unsupported "wpadd" subcommand of ".wp modify" .
Closes #11955
2014-04-28 20:50:47 +02:00
joschiwald
84bff76ba0
Core/Misc: remove some obsolete parameters
2014-04-28 20:05:36 +02:00
joschiwald
f388020366
Merge pull request #11948 from MitchesD/misc
...
Scripts/Azuregos: converted to EventMap and WorldBossAI
2014-04-28 19:58:17 +02:00
MitchesD
0c0d0ed9e5
Scripts/Azuregos: converted to EventMap and WorldBossAI
2014-04-28 19:52:08 +02:00
Vincent-Michael
57cf043aec
Core/Creature: Missed changes in c536305e3a
2014-04-28 09:19:37 +02:00
Kinzcool
c536305e3a
Core: Droped faction_H field -- only one faction table is necessary
2014-04-27 18:13:55 -04:00
w1sht0l1v3
c20d0cb77e
Scripts/Sholazar Basin: Reconnaissance Flight (12671)
...
Add workaround for the player/accessory mounting issue.
Some small additions.
Closes: 9443
2014-04-27 02:23:33 +03:00
Vincent-Michael
c81d6e9b4b
Core/Texts:
...
* Enable some BroadcastTexts stuff (is not finish)
* Added reload command for broadcast_text table
ToDo:
- Enable: Sound/Emote stuff, etc.
- Auth base need refresh
2014-04-25 23:25:59 +02:00
jackpoz
f27057bf24
Core/Misc: Fix build warnings
2014-04-25 21:46:43 +02:00
jackpoz
2585e799f9
Core/Misc: Change how Position struct is retrieved
...
Update Position::GetPosition() and similar methods signatures to reflect 2a4c9bcaf9 changes by return a Position object instead of accepting a Position parameter by reference.
2014-04-25 21:19:30 +02:00
velinath
3a3c332436
Correct display of output for .rbac account list command. (thanks Spp-)
2014-04-23 08:05:29 -04:00
joschiwald
805a026c6c
DB/CreatureText: readd accidentally deleted text
2014-04-22 16:07:27 +02:00
joschiwald
6c0ff5717f
Scripts/Gnomeregan: moved Blastmaster Emi gossip to db
2014-04-21 21:39:51 +02:00
warmech
12b895e5ba
Fixed spelling typo in gnomeregan.cpp script.
...
Fixed a typo on line 32 where [GOSSIP_START_EVENT "I am ready to being"] should read [GOSSIP_START_EVENT "I am ready to begin."]
2014-04-20 23:00:32 -05:00
jackpoz
fb6365ac68
Core/Misc: Check GetVictim() for NULL before dereferencing it
...
Add additional NULL checks all around the code before dereferencing GetVictim() result.
Keep in mind UpdateVictim() result has nothing to do with GetVictim() result and the caller shouldn't assume anything about GetVictim() based on UpdateVictim().
2014-04-20 00:38:25 +02:00
jackpoz
8ca6371793
Core/Misc: Ensure GetVictim() returns a valid reference when expected
...
Add a new method EnsureVictim() which asserts a valid not NULL reference will be returned to the caller. Use this whenever the GetVictim() would be dereferenced .
2014-04-19 21:48:22 +02:00
Warpten
d9493d9cc9
Scripts/Ruby Sanctum: Fixed corporeality scaling changes.
...
Thanks to Unholychick.
P.S.: #9231 if still valid will be fixed soon (tm)
2014-04-19 19:18:51 +02:00
Unholychick
574fa30ea6
Core/Spells: Convert Avenging Wrath to spellscript
...
Closes #11896
Closes #3464
2014-04-18 20:21:05 +02:00
Vincent-Michael
89cc056a50
Fix
2014-04-18 17:02:04 +02:00
joschiwald
8877a87c99
Merge pull request #11614 from MitchesD/kelthuzad
...
Scripts/Kelthuzad: move spells into spelldifficulty_dbc and cleanup
2014-04-17 02:02:51 +02:00
joschiwald
fa472c6142
Merge pull request #11787 from MitchesD/misc
...
Scripts/ZulGurub: clean up the old code
2014-04-17 02:01:05 +02:00
joschiwald
0a014e1431
Scripts/UtgardeKeep: fixed some issues on Ingvar the Plunderer
...
Closes #10859
2014-04-17 00:09:43 +02:00
joschiwald
533cbf20bb
Core/Spells: addition to b9a62115b1
2014-04-14 21:12:05 +02:00