Commit Graph

4090 Commits

Author SHA1 Message Date
tkrokli b7abaed199 Core/Scripts: zone_silithus.cpp cleanup (#17165)
- move npcs_rutgar_and_frankal to DB/SAI
- move hardcoded text from go_wind_stone to DB
- additional enum cleanup in zone_silithus.cpp
- also solves a $r issue in SAY_TEMPLAR_AGGRO
2016-07-29 10:21:14 +02:00
Nyeriah 2d0fa2d020 Scripts/Karazhan: Register Midnight's summons
* Solves issue with bosses not despawning after encounter
2016-07-28 03:12:35 -03:00
Nyeriah 0cc33b5a42 Scripts/Karazhan: Fix a warning 2016-07-28 01:19:57 -03:00
Nyeriah 4c4d92faa3 Scripts/Karazhan: Rework Attumen the Huntsman's script
Change log:
- Timers are more accurate
- Corrected Charge ability ID based on 6.x researches
- Added Midnight's missing emotes
- Fixed issue with instance being stuck in combat in case of wipes
- Solved the rare scenario where Attumen would be summoned multiple times
- Visual spell on 3rd phase transition added
- Attumen and Midnight can now be damaged during 3rd phase transition
- Midnight calls for the aid of every horse still alive in the stables
- Use proper spells to summon Attumen and handle transitions
- Now despawns on evade
Video of encounter after changes: https://www.youtube.com/watch?v=KX0rqaBeSzw
2016-07-28 00:48:20 -03:00
Keader 2710c655ff Core/Scripts Added Black Temple Boundaries (#17579)
* Core/Scripts Added Black Temple Boundaries
2016-07-20 15:28:00 +02:00
ForesterDev d57c177d0b Scripts / Naxxramas : add missing null pointer check. Fixes CID 1354738 (#17628) 2016-07-19 10:41:42 +02:00
Keader cee1c0789a Core/Scripts: Hallow's End Pumpkin Treat
Add all 6 spells available from item 20557,
Hallow's End Pumpkin Treat:
- Hallow's End Candy, Orange Giant (24924)
- Hallow's End Candy, Skeleton (24925)
- Hallow's End Candy, Pirate (24926)
- Hallow's End Candy, Ghost (24927)
- Hallow's End Candy, Female Defias Pirate (44742)
- Hallow's End Candy, Male Defias Pirate (44743)

Thanks @Keader for creating the new spell scripts & SQL,
 saved me a lot of time! :-)
2016-07-16 16:15:19 +02:00
Shauren 86a594a4dd Core/Commands: Cooldown command should fall back to targeting self in case of no valid selection 2016-07-16 14:12:15 +02:00
Shauren 9509aac38b Core/Commands: Allow .cooldown command to work on player pets 2016-07-16 11:15:23 +02:00
ariel- 6988407b43 Core/Spells: Fix Roar of Sacrifice damage part (#17519) 2016-07-16 02:52:32 -03:00
Gustavo 23e89b8aef Core/Spells GameObjects needs to be spawned in order to be acceptable as a SpellFocus (#17594) 2016-07-15 23:45:50 +02:00
Andrew Letson 6ea48c036e Core/Scripts: Migrate Tanaris NPC's to SAI (#17390) 2016-07-15 18:42:12 +02:00
robinsch 8a2df73a82 Script/Archavon: Implement EMOTE_LEAP (#17588) 2016-07-15 15:31:52 +02:00
Warpten 07ce570be8 Scripts/RubySanctum: Fix missing break reported by Coverity. 2016-07-10 17:46:15 +02:00
SnapperRy df532d1948 Core/Script: add missing say in script for npc Lakota Windsong 2016-07-10 14:39:10 +02:00
Snapper ebb33bbfc1 Core/Misc: use enum for UNIIT_NPC_FLAGS' zero values 2016-07-10 09:33:55 +02:00
Snapper 21797c6c4f Core/Misc: kill whitespace and use enum instead of hardcoded value. 2016-07-09 21:36:04 +02:00
w1sht0l1v3 fcfb7b96b2 Core/Scripts: Corrections after 14b93c04ee 2016-07-09 17:14:03 +03:00
SnapperRy eb1cd4c907 Core/Script: small improvement for quest "The Hunt is On". (#17537)
Reset emotestate when the event starts.
2016-07-07 21:55:52 +02:00
SnapperRy 03b15d968b Event/Midsummer: improve pole ribbon functionality (#17464)
Event/Midsummer: improve pole ribbon functionality:

- Bunny creature should hover, which puts it in the intended position.
- Use correct visual and internal spells to handle cosmetics and timers.
2016-07-05 15:19:30 +02:00
DDuarte 42028a1842 Scripts/Commands: Fix build warning 2016-07-05 11:55:29 +01:00
DDuarte 1100fe6057 Scripts/Commands: Remove unused argument of .cometome command 2016-07-05 11:21:50 +01:00
Gustavo dfe278459d Core/Scripts Corrections on Halion's Encounter (#16725)
Core/Scripts: Updates to Halion

* Fixed Combustion and Consumption.
* Fixed Living Embers and Blazing Auras.
* Timer changes.
2016-07-05 10:54:31 +02:00
Andrew Letson 32dd6bbca8 Core/Scripts: Migrate Shadowmoon Valley NPC's to SAI (#17373)
* Migrate Flanis Swiftwing and Kagrosh to SAI and more.
2016-07-04 16:17:27 +02:00
Shauren e6a52d4aae Core/Spells: Fixed spell range check
Closes #17060
2016-07-01 20:26:49 +02:00
Aokromes b0e5f6de47 Scripts/Midsummer: Burning hot pole dance (#17445)
* Scripts/Midsummer: Burning hot pole dance
By  zwerg, closes #6876
2016-06-26 00:27:19 +02:00
Gustavo f1639a30ba Core/Scripts Boss Ahune Clean-up (#17320)
Remove use of flags UNIT_FLAG_NON_ATTACKABLE and UNIT_FLAG_REMOVE_CLIENT_CONTROL
Replace with correct one, UNIT_FLAG_UNK_31, imunity part now is fully handled by auras
Fix a problem with bugged orientation while casting SPELL_SYNCH_HEALTH
Use std::crono notations
Remove unneeded code

Move one spell_linked_spell to SpellScript
Fix Loot issue
Fix Possible Crash
2016-06-26 00:23:19 +02:00
Meruemu 325ccab595 Core/Scripts: Fix array out of bounds in boss_mother_shahraz.cpp. (#17434)
Fix an error in Prismatic Shield auras and Fatal Attraction teleport points selection (was introduced in https://github.com/TrinityCore/TrinityCore/commit/fb63c8e915986650f787de62859e1f818d1d96c7)
2016-06-21 23:18:08 +01:00
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