Commit Graph

4062 Commits

Author SHA1 Message Date
vincent-michael
d1cb53aa2c Core/Scripts: Fixed non pch build 2016-06-19 18:13:10 +02:00
tkrokli
736843fbb5 Core/Scripts: Tom Hegger must target player in Say text (#17395)
File: zone_borean_tundra.cpp
Script: npc_hidden_cultist
Quest: The Hunt is On, 11794
NPC:  Tom Hegger, 25827

Before this change, Tom Hegger does not target player when saying his
aggro text "You don't know who you're messing with, $c!   Death beckons!"
and hence the text $c will be shown instead of the player class.
2016-06-17 13:28:26 +02:00
treeston
90ff3ce8c8 Merge branch '3.3.5-frogger' into 3.3.5 (PR #17261) 2016-06-16 17:53:14 +02:00
ariel-
d1d0c64ad1 Core/Scripts: Extended SMART_ACTION_SET_INST_DATA to also set BossStates. (#16739)
Scripts/Dire Maul: Initialize boss states array so it may be called from SmartAI. (Ref #6429)
2016-06-14 17:29:51 +01:00
xjose93
e2c0189927 Core/Commands: Implement .neargraveyard (find nearest graveyard from dbc). (#17301) 2016-06-14 17:23:45 +01:00
Andrew Letson
8e84603090 Core/Scripts: Migrate Professor Dabiri to SAI (#17367)
- removes Professor Dabiri from zone script and adds him to smart_scripts.
- also removes one more line of hardcoded text in core scripts
2016-06-14 16:34:10 +01:00
JamminWidYou
3002839bfe [3.3.5] Core/Quest: A life without regret (#16067)
* Life without Regret

* misc changes to sql

* sql changes
2016-06-14 12:48:28 +01:00
treeston
813e33b927 Instances/DrakTharonKeep: Fix Novos the Summoner. Fixes #17331. 2016-06-13 11:29:12 +02:00
ariel-
f03dc79959 Core/Script: moved SAI to cpp for The Etymidian, closes #17053 (#17330) 2016-06-13 09:16:58 +02:00
mik1893
3d31e2a157 Core/Spells: fix issue with Illumination talent (broken in #17122) (#17350) 2016-06-12 10:47:29 +01:00
Aokromes
cc521d49dc Scripts/UtgardePinacle: Adjust King Ymiron boundaries 2016-06-12 09:54:56 +02:00
tkrokli
d6f0e74cdb Core/Scripts: move script 'npc_plucky' to DB/SAI (#17071)
1 more text line removed in the ongoing series: "Remove hardcoded text from core scripts".

Core script for "Plucky" Johnson :
- move the actual gossip handling to DB
- create new gossip_menu_option entry
- link the option to gossip_menu.text_id
- add correct default gossip to the NPC
- create SAI script with alternate emotes
- add condition check for quest taken
- remove the script from zone script
- extra enum cleanup in zone script
2016-06-12 08:36:42 +02:00
tkrokli
28a3c9f652 [3.3.5] Core/Scripts: move druid FP NPC scripts to DB/SAI (#17134)
Move 2 core scripts to DB / SAI:
- npc_bunthen_plainswind (NPC 11798)
- npc_silva_filnaveth (NPC 11800)

Additional result: remove 4 hardcoded text lines.

Target: remove lines from the list http://pastebin.com/x7wZLpxH
2016-06-12 08:32:48 +02:00
mik1893
8457829516 Merge pull request #17312 from Keader/anub
Core/Scripts Fixed Anubarak issues related with Leeching Swarm spell
2016-06-09 16:29:38 +01:00
Keader
3c35ce06af Core/Scripts Fixed Anubarak issues related with Leeching Swarm spell 2016-06-09 09:49:41 -03:00
treeston
c6606b7615 Merge remote-tracking branch 'tkrokli/npc_locksmith' into 3.3.5 (PR #17099) 2016-06-09 13:19:17 +02:00
treeston
fed852e614 Merge remote-tracking branch 'tkrokli/npc_grandmother_gossip' into 3.3.5 (PR #17316) 2016-06-09 13:13:11 +02:00
treeston
270b3100b0 Merge remote-tracking branch 'tkrokli/npc_gregan_brewspewer_gossip' into 3.3.5 (PR #17157) 2016-06-09 13:08:19 +02:00
treeston
b0432eb4bc Merge remote-tracking branch 'tkrokli/npc_sayge' into 3.3.5 (PR #17101) 2016-06-09 13:04:05 +02:00
treeston
3358e943a2 Merge remote-tracking branch 'tkrokli/boss_majordomo_gossip' into 3.3.5 (PR #16726) 2016-06-09 12:52:22 +02:00
treeston
2910fa67d3 Merge remote-tracking branch 'tkrokli/zone_loch_modan' into 3.3.5 (PR #16715). 2016-06-09 12:45:13 +02:00
tkrokli
c214f987d7 Core/Scripts: npc_grandmother gossip text moved to DB
Removing one more hardcoded text line from core scripts.
Also adding correct gossip to the npc_grandmother script.

Gossip changes in this script:
- remove hardcoded text from core script
- use existing npc_text IDs in gossip enum
- add missing text rows to gossip_menu_option
- use values from gossip_menu_option in enum
- replace spawn coordinates 0.0f with GetPosition()
2016-06-08 21:59:24 +02:00
treeston
e5382ee215 Scripts/Instances: Fix a bug that would cause the Hodir encounter to never properly begin. Tagging issue #17302. 2016-06-07 14:17:11 +02:00
treeston
96c05dbec0 Scripts/Outland: Fix a potential crash. Closes #17308. 2016-06-07 12:41:38 +02:00
tkrokli
b6d43623a2 Core/Scripts: boss_majordomo hardcoded text
2 more text lines removed in the ongoing series:
"Remove hardcoded text from core scripts".

Core script for boss Majordomo Executus:
- add missing gossip_menu_option entries
- link the options via the table gossip_menu
- remove hardcoded text from the script
- minor enum line order sorting cleanup
- replace OnGossipSelect() with sGossipSelect()

The scripted events are unchanged.
If the script is inaccurate, make a new PR.
2016-06-05 18:29:57 +02:00
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