Commit Graph

4537 Commits

Author SHA1 Message Date
treeston
650d7ab596 Scripts/BlackrockMountain: Nefarian. (#16346 f-u) 2016-06-04 22:21:49 +02:00
treeston
83e5df5638 Scripts/MoltenCore: Fix Ragnaros (#16346 follow-up). 2016-06-04 22:17:06 +02:00
treeston
27a3eaab33 Scripts/Instances: More #16346 follow-ups. Fixed this time: Halls of Reflection, Ignis the Furnace Master, Mimiron and Rend Blackhand. 2016-06-04 22:14:32 +02:00
jackpoz
1347d7cf7a Core/VMaps: Fix some vmap height edge cases
Fix Map::GetWaterOrGroundLevel() checking dynamic object only in phase 1 instead of current Unit phase.
Improve DynamicMapTree::getHeight() dynamic object check by casting the ray at +0.5f from the passed Z coordinate, this value will be tuned to improve even more the results.
2016-06-04 15:01:39 +02:00
treeston
7fbd70d4c4 Compiler warning fix. 2016-06-03 22:41:30 +02:00
treeston
4407877f36 Scripts/TotC: More follow-up to #16346. Also code style cleanup. Who names all their creature pointers "temp"? 2016-06-03 22:39:04 +02:00
treeston
4e922a5146 Scripts/Instances: Follow-up to #16346. Fix Illidan and Northrend Beasts. 2016-06-03 22:14:09 +02:00
tkrokli
25881de7d3 Core/Scripts: move npc_mountaineer_pebblebitty to DB
- move gossip text to DB and add quest condition
- remove core script npc_mountaineer_pebblebitty,
- thereby removing the file zone_loch_modan.cpp
- because the original core script dialog is incorrect

This version of the dialog can be verified from the following web pages:
- http://wow.gamepedia.com/Key_to_Searing_Gorge_quest_chain
- http://www.wowhead.com/npc=3836/mountaineer-pebblebitty#comments:id=332234
2016-06-03 17:44:38 +02:00
tkrokli
582af02509 Core/Scripts: remove hardcoded text from npc_sayge
- remove hardcoded (and wrong) text from the script
- copy valid text from broadcast_text to gossip_menu_option
- gossip_menu / npc_text is already correct in TDB 335.61
- sort + clean up core script enum list and add new entries
- keep gossip handling unchanged in the script (low prio)
2016-06-03 17:43:45 +02:00
tkrokli
e6ee6e2ae8 Core/Scripts: remove hardcoded text from npc_locksmith
- remove hardcoded text from script
- move the gossip handling to DB SQL
- move the script conditions to DB SQL
- use correct gossip from broadcast_text
- remove options not existing in broadcast_text
- add Key to Searing Gorge option (related spell)
- add The Eye of Haramad option (related spell)
2016-06-03 17:42:55 +02:00
tkrokli
3acf6f36d1 Core/Scripts/DB: move npc_gregan_brewspewer to DB
- Remove npc_gregan_brewspewer, thereby removing hardcoded text
`#define GOSSIP_HELLO "Buy somethin', will ya?"`
- Move all gossip handling to DB (gossip texts already exist in TDB)
2016-06-03 17:38:58 +02:00
Trisjdc
34ef05ce0b Core/Creatures: Remove resetting of UNIT_FLAG_IMMUNE_TO_PC on combat clearing 2016-06-02 23:07:27 +01:00
Keader
43855b47d8 Core/Scripts Improve Felflame Infernal of Lord Jaraxxus fight (#16998) 2016-06-02 22:30:18 +02:00
Kittnz
8a386fb389 Merge pull request #17020 from Keader/jormungars
Core/Scripts: [Trial of the Crusader] Improve  Jormungars fight
2016-06-02 19:35:47 +02:00
treeston
7eda9fb617 Scripts/Naxxramas: Fix Frogger event. Closes #16488. 2016-06-02 00:12:13 +02:00
Keader
7205b4dd65 Override and tkrokli again :D 2016-05-28 18:54:31 -03:00
sirikfoll
e016bf8d06 Core/Achievement A-bomb-inable and A-bomb-ination 2016-05-27 22:48:20 -03:00
Shauren
258368a2bd Core/Scripts: build fix 2016-05-27 17:20:58 +02:00
Shauren
b36da77185 Core/Units: Renamed and documented UNIT_FLAG_DISABLE_MOVE to prevent people from trying to use this flag to root a creature leaving them wondering why it doesn't do anything 2016-05-27 14:45:06 +02:00
ForesterDev
c73c51d7b1 Merge branch '3.3.5' into creature_family 2016-05-27 12:51:28 +04:00
Aokromes
862d068cde * DB/Graveyards: Added a comment field to describe the graveyards in graveyard_zone 2016-05-25 19:08:52 +02:00
Shauren
9612ac0e27 Core/Spells: Fixed Eclipse after recent proc cooldown changes
Closes #17166
2016-05-24 18:37:46 +02:00
Keader
b88d49be24 Changing remove aura method 2016-05-21 09:40:03 -03:00
mik1893
5b8e68ee63 Core/Spells: Proc handler script converions (#17122)
* Blazing Speed (Mage)
* Blessed Recovery (Priest)
* Druid Forms Trinket
* Idol Of Mutilation
* Nature's Guardian (Shaman)
* Nether Protection (Warlock)
* Piercing Shots and Bonus 4P T9 Hunter
* Lightning Shield (Shaman)
* Acclimation (DK)
* Move DK T10 4P Melee Bonus
* Move DK Improved Blood Presence triggered heal (DK)
* Rogue T10 2P Bonus
* Illumination (Paladin)
* Soul Preserver
* Death Choice trinket
* stack trinket scripts (ToC25 Caster Trinket, Lightning Capacitor, Thunder Capacitor)
* Battle Experience (ICC - Gunship)
* Blood Reserve (enchant proc)
* Darkmoon Card Greatness
* Charm of the Amani Witch Doctor
* Mana Drain
2016-05-20 19:27:15 +02:00
ForesterDev
8eac30448f improve error message 2016-05-17 13:46:13 +04:00
joschiwald
ab2466ac01 Makes travis happy 2016-05-16 21:17:16 +02:00
joschiwald
d812505fc2 Scripts/Freya: removed obsolete code 2016-05-16 18:45:44 +02:00
ForesterDev
d5dd8e8926 fix build 2016-05-16 19:16:40 +04:00
vincent-michael
a01fd52267 Core/Quests: Fixed issue reported by static analysis
Coverity defect ID: 1355241
2016-05-15 18:08:59 +02:00
r00ty-tc
de918a0f64 Core/Maps - Improvements to Cinematic function
- Moves to own class for reading, storage and player subclass
 - Proper destruction handling for player (ensure cinematic is ended)
 - Timeout for cinematic if it reaches past the end without completing
 - boost::filesystem::path used for path/filename transform
 - Correct for assert trigger under certain circumstances
 - Other changes previously suggested
2016-05-11 11:56:25 +02:00
treeston
7e48a02398 Merge branch '3.3.5-commandfixes' into 3.3.5 (PR #16335) 2016-05-11 02:14:19 +02:00
treeston
0e1eb460d6 Scripts/Commands: Small QoL adjustments
- .debug hostil now shows spawn ID (DBGUID) in addition to current GUID (so you can .go creature to it)
- .npc temp now takes an additional argument before the creature entry that determines whether the spawned creature instantly despawns upon death. Default is instant despawn (current behavior).
- Add .npc evade command.
- Add .pet level command.
- .server shutdown and .server restart now fail with an error message if time is below a config var (GM.ForceShutdownThreshold, default 30s) as long as another player is connected.
    - New commands .server shutdown force and .server restart force bypass this limitation.
2016-05-10 15:09:18 +02:00
Kittnz
f5c142482f Merge pull request #16481 from sirikfoll/muru
Script/SWP Full rework of the M'uru encounter
2016-05-09 22:36:13 +02:00
Kittnz
42611e65d0 Merge pull request #16474 from Asterc/Isle
[3.3.5][6.x] Core/Battleground Script for Isle of Conquest Bosses
2016-05-09 22:25:36 +02:00
sirikfoll
20b3feb559 Implement Quest Riding the Red Rocket 2016-05-09 15:33:37 -03:00
asterc
c1ed002b4b Core/Battleground Script for Isle of Conquest Bosses
by @gerripeach
2016-05-09 09:51:16 -03:00
Vincent-Michael
993f6b393c Core: Fixed warning
(cherry picked from commit b29005925e)
2016-05-08 16:12:20 +02:00
Vincent-Michael
3a74b52ddc Core/Commands: Cleanup in 0940f3e077
(cherry picked from commit a3b4c40073)
2016-05-08 16:12:11 +02:00
Vincent-Michael
797a168f9a Core/Commands: Allowed .server idlerestart / idleshutdown / restart / shutdown to take another parameter structure:
e.g.:
* .server idlerestart 12d3h13m13s
* .server idleshutdown 46m13s
* .server restart 45h56m
* .server shutdown 323m42s

(cherry picked from commit 0940f3e077)
2016-05-08 16:12:03 +02:00
Kito
033f4cddea Scripts/Icecrown Citadel: Sindragosa - Ice Tomb should always deal damage to all other ice tombs too
Closes #7808
Merges #16863
2016-05-04 17:18:57 +02:00
Trond B Krokli
d82534a7bb Core/Scripts/DB: remove hardcoded text from npc_beaten_corpse (#16907)
- remove hardcoded text from script npc_beaten_corpse
- remove OnGossipHello() hook, gossip text moved to DB
- use sGossipSelect() hook instead of OnGossipSelect()
- add npc_text 3557 and 3558 as text_id to gossip_menu
- add gossip_menu_option 2871 to NPC 10668 Beaten Corpse
- add condition for gossip_menu_option 2871 in Quest ID 4921

Tested on 4 different characters/classes, male & female.
Thanks to joschiwald for the sGossipSelect() script change.
2016-05-02 22:22:17 +02:00
Duarte Duarte
7c82f83c0d Scripts/SWP: Remove unused #defines
(cherry picked from commit 71a7f96e22)
2016-05-02 03:12:59 +01:00
Incorrect
1aa30d3cce Core/Spells: Fixed overwriting summon requests
Closes #17049
2016-05-01 12:31:55 +02:00
KarrokDC
775b03bf6f Core/Scripts: Cleanup cs_modify.cpp
* Removed a chunk of duplicate code
* Generalized Message notification
* Generalized checking of resources modification with a min-max
* Generalized checking of single value modification
* Closes #16858
2016-04-30 01:06:05 +02:00
Shauren
bee6525d1b Core/Misc: Fixed -Wmisleading-indentation warnings
(cherry picked from commit 3ac33163db)

# Conflicts:
#	src/server/game/Server/Protocol/PacketLog.cpp
2016-04-28 16:22:51 +01:00
Keader
81083a8593 Fixing the issue 2016-04-24 12:00:47 -03:00
joschiwald
9e371b766c Core/Utils: replaced std::random_shuffle with our own implementation using SFMT random generator 2016-04-24 01:15:56 +02:00
Keader
2c9c8afc0f Rename spell_snakes_spray for spell_jormungars_snakes_spray and cleanup 2016-04-23 17:39:41 -03:00
jackpoz
3e73ba9da5 Core/Misc: Fix issues reported by static analysis 2016-04-23 18:20:18 +02:00
DevQuad
5ac000f1e9 Core/Scripts: Process the reset of Mandokir (ZulGurub)
* Closes #16640
2016-04-23 17:20:55 +02:00