Commit Graph

18348 Commits

Author SHA1 Message Date
Trisjdc
132be2d25a Core/Creatures: Reset unit flags/dynamic flags on Creature::SetDeathState(JUST_RESPAWNED) 2016-01-24 01:11:19 +00:00
treeston
cebdf03349 Fix warning. 2016-01-20 23:20:18 +01:00
joschiwald
ea38a7d95b Scripts/ICC/Teleporter: moved gossips to db 2016-01-20 00:32:30 +01:00
treeston
e8a79737a5 Merge branch '3.3.5-horsemen' into 3.3.5-base (PR #16194) 2016-01-19 21:39:23 +01:00
treeston
d23ef5d6d0 Merge branch '3.3.5-gothik' into 3.3.5-base (PR #16142) 2016-01-19 21:38:24 +01:00
Saben65
ccf3ed40e2 Scripts/Zangarmarsh: Removes empty gossip_text that resulted in NPCs saying blank text to players after buffing them
Closes #12697
Closes #16300
2016-01-19 21:17:10 +01:00
DDuarte
ac727ab208 Scripts: Add override to CheckInRoom() definitions
Fixes -Winconsistent-missing-override
2016-01-19 13:06:04 +00:00
DDuarte
954323d9cb Core/Instances: Fix build in older VS versions
Relax const uses in BossBoundaryEntry so the compiler can generate proper
copy assignment operator (error C2582: 'operator =' function is unavailable in 'BossBoundaryEntry')

Also renamed its members to match our coding standards
(public members should be UpperCamelCase)
2016-01-19 13:01:43 +00:00
treeston
1050b68899 Merge branch '3.3.5-boundaryagain' into 3.3.5-base (PR #16270) 2016-01-18 18:35:20 +01:00
treeston
b945d01ee5 Instance boundary follow-up:
- Stop tools from complaining about leaks.
- Also, list -> vector.
- Fix an ambiguous constructor warning.
- Fix a bug with Gormok and Sindragosa (Fixes #16280).
2016-01-18 18:08:15 +01:00
treeston
17f924a031 Spell facing follow-up: Fix an issue with creatures' channeled spells not cancelling properly in certain conditions 2016-01-18 02:10:17 +01:00
[Dev]Rival
fb6a7407e2 Core/BattlegroundIC: Duplicate Keep Cannons. 2016-01-17 02:05:04 +01:00
joschiwald
6b3468f48a Scripts/Spells: fixed Beacon of Light 2016-01-16 23:32:34 +01:00
treeston
2d7aa15fc0 Scripts/Naxxramas: Four Horsemen rework:
- Rewrite pretty much the entire encounter code
- Get rid of ugly define ugliness
- Sniffed waypoints
- Blizzlike timings
- Missing emotes
2016-01-15 20:17:48 +01:00
treeston
0316dff245 Fix stuff™. 2016-01-14 11:42:12 +01:00
treeston
233297c5c8 Merge branch '3.3.5-spellfacing' into 3.3.5-base (PR #15641) 2016-01-13 18:38:54 +01:00
treeston
f481ae1048 Core/Spells: Creature spellcast facing rework:
- Fixes creatures turning just before a spellcast finishes and smacking players with supposedly-unavoidable damage. Fixes and closes #15393, #10803, and probably others.
- Fixes visual effects not lining up with the correct target for spells that have their visual aligned with the caster's orientation (examples: Anub'rekhan Impale, Ingvar's Smash/Dark Smash, etc.). Fixes and closes #2947 and probably a bunch of others, including the aforementioned #15393 and #10803.
- Creatures' displayed target now properly matches the unit they are targeting with spells for a split second (blizzlike). This is necessary to get proper client-side orientation.
2016-01-13 18:35:44 +01:00
treeston
78228b59ab Scripts/Naxxramas: Gothik the Harvester rework:
- Move TeleportTo hack to proper spell casts
- Add missing lines to boss
- Fix add spawn timings
- Fix visuals
- Fix logic for gate opening
- Fix add aggro behavior
- Fix add casting AI
- Fix some other stuff I probably forgot
2016-01-13 16:27:35 +01:00
treeston
5b8b8c6530 Merge branch '3.3.5-bossboundary' into 3.3.5-base (PR #16089) 2016-01-13 15:33:17 +01:00
Kittnz
09a6516367 Core/Object: Codestyle improvements 2016-01-12 22:43:48 +01:00
Kittnz
eeb72994ba Merge pull request #16248 from elecyb/destroyAnimation
Core/Entities: Show destroy animation for creatures and totems.
2016-01-12 22:38:00 +01:00
treeston
2da458c56d Scripts/Instances: Complete rewrite of the boundary system.
- Migrate boundary logic to Maps/AreaBoundary instead of having it sit in InstanceScript (to possibly allow use for other purposes).
- Implement the first five boundary types in Maps/AreaBoundary.cpp.
- Add boundary checks to Creature's update logic
- Add boundary data for all Northrend raids
- Add boundary initialization structures and methods to InstanceScript
- Modify EnterEvadeMode signature. It now passes a value from the EvadeReason enum as parameter to allow special casing depending on evade reason
- Remove previous (weird) boundary code that had them linked to GO spawns
2016-01-12 22:24:23 +01:00
elecyb
38782deed0 Core/Entities: Show destroy animation for creatures and totems.
Now all pets and totems will have their proper die/destroy animation when killed.

Ported from MaNGOS.
2016-01-12 17:34:34 -03:00
Kittnz
529899675a Merge pull request #16245 from sirikfoll/Turkinator
Core/Spells Implement SpellScript needed for Achievement The Turkinator
2016-01-12 21:04:24 +01:00
Shauren
48940e292f Core/Quests: Fixed party accept quests 2016-01-12 19:41:27 +01:00
treeston
3ea6324507 Merge remote-tracking branch 'tkrokli/npc_myranda_the_hag' into 3.3.5-base 2016-01-12 19:18:13 +01:00
treeston
9091451818 Merge remote-tracking branch 'tkrokli/gossip_accept_duel' into 3.3.5-base 2016-01-12 19:17:39 +01:00
treeston
6710beed75 Merge remote-tracking branch 'tkrokli/npc_shadowfang_prisoner' into 3.3.5-base 2016-01-12 19:17:25 +01:00
Shauren
3c3cde028c Core/Quests: Fixed quest sharing
Closes #12304
Closes #16183
2016-01-12 19:08:37 +01:00
treeston
e203d78d2a Merge remote-tracking branch 'velinath/sai-migrations' into 3.3.5-base 2016-01-12 18:32:51 +01:00
sirikfoll
fc2a570d09 Core/Spells Implement SpellScript needed for Achievement The Turkinator
Closes #3997
2016-01-12 15:24:55 -02:00
tkrokli
76d5dbad4b [3.3.5] Core/Script: move Myranda the Hag's gossip option to DB
Removing hardcoded text from the core script and into the DB:
"I am ready for the illusion, Myranda."

This quest is 3.3.5 *only*. Removed in patch 4.0.3a.

Addendum: enum ILLUSION_GOSSIP = 4773 , instead of "magic number".
2016-01-12 17:37:18 +01:00
tkrokli
22dd523c1f Core/Scripts: move GOSSIP_ACCEPT_DUEL to DB
Another attempt to shorten the list of hardcoded gossip menu options.

This is the gossip menu option of the NPC ID 28406, Death Knight Initiate
in Death's Breach in the Scarlet Enclave, the death knight starting area.
This gossip is tied to the quest "Death's Challenge".

Removing this text in the core script: "I challenge you, death knight!"
(#define GOSSIP_ACCEPT_DUEL) and using `ADD_GOSSIP_ITEM_DB()`
to pull the gossip_menu_option 9765 from the database instead.
2016-01-12 10:18:44 +01:00
tkrokli
95a2eec923 Core/Scripts: move npc_shadowfang_prisoner gossip option to DB
Getting rid of one more incorrect and hardcoded text
which now will be read correct and from the DB instead.

Wrong text: "Thanks, I'll follow you to the door." (core)
Correct text: "Please unlock the courtyard door." (DB)

Thanks to @Aokromes, @r00ty, @velinath, @Nayd, @Treeston, @Zedron
and lots of other regular TrinityCore developers and members for the
inspiration and motivation, as well as helpfulness along the way.
2016-01-12 09:50:04 +01:00
ariel-
b08038c8b6 Fix typo after dcb7082277 2016-01-10 23:38:57 -03:00
jackpoz
e59b4324b8 Merge pull request #15977 from tkrokli/landmine_knockback_achievement
Scripts/Spells: Mine Sweeper achievement
2016-01-09 23:19:09 +01:00
jackpoz
4191bb868a Scripts/ICC: Fix static analysis issue
Fix an issue reported by static analysis
2016-01-09 21:53:53 +01:00
velinath
d87f504b53 Core/Scripts/DB: Migrate specially scripted taxi NPC's to SmartAI 2016-01-09 14:39:07 -05:00
Duarte Duarte
bddf9ec6fe Merge pull request #16101 from NathanHandley/3.3.5
Updated AuctionHouseSeller to have item class stack control
2016-01-09 18:46:20 +00:00
jackpoz
e138e094a9 Scripts/Commands: Modify ".setskill" command to target current Player by default 2016-01-09 18:37:17 +01:00
jackpoz
b39216eed3 Merge pull request #16186 from ariel-/spellmodcharges
Core/Spells: Fix redundant mod charge drop and spell crit calc
2016-01-09 16:51:39 +01:00
jackpoz
b1d0855624 Core/Spells: Fix static analysis issues and a crash
Fix confusing NULL checks in Raise Ally check cast.
Fix a crash in Raise Ally triggered by executing ".cast back 61999" command targeting a pet in raid while being dead.
2016-01-08 23:13:15 +01:00
Saben65
ad425f9f17 Scripts/Shadowmoon Valley: Dragonmaw Peon
Fixes issue where NPC does not attack, even when aggro'd.
Fixes #16210
Closes #16204
2016-01-08 22:19:56 +01:00
Francesco Borzì
3e42d83e9c Merge pull request #16208 from ShinDarth/putricide-fix
[3.3.5] Scripts/ICC: Fixed Professor Putricide
2016-01-08 11:13:22 +01:00
ShinDarth
b1a89943a2 Scripts/ICC: Fixed Professor Putricide
- closes https://github.com/TrinityCore/TrinityCore/issues/16207
2016-01-08 10:33:16 +01:00
ccrs
e5d4005cc6 Core/Spells: Fixed Raise Ally
thx @Nayd for sniffs :)
thx @Shauren for helping to find all spell involved

* There is no implementation for stats update on Puppet class (only on Guardian) so same SummonProperty as Raise Dead Ghoul (non pet) is used.
(Default SummonProperties set category to SUMMON_CATEGORY_PUPPET)
* Override the Summon Effect to enable charm and stats scaling.
* PlayerAI is used to handle unaura on ghoul despawn or dead.
It's necessary due to the fact that all script hooks on ScriptedCreature are called on an unactive CreatureAI, resulting in creature being unable to handle unaura calls.
* Create UpdateAI call for Player class
* Stats scaling is based on forum and wowhead comments, they recall this ghoul as a copy of the other one (same stats).
* Spellscript for Ghoul spell Thrash

Closes #82
Closes #14830
2016-01-08 00:10:15 +01:00
jackpoz
2a50ea5cf1 Merge pull request #16193 from Goatform/3.3.5
Core/GameObjects: Fixed an issue where traps were not redirected to Grounding Totem
2016-01-07 19:27:40 +01:00
velinath
4e4ef26108 Core/Scripts/DB: Migrate Wing Commander Dabir'ee to SAI 2016-01-05 19:23:48 -05:00
treeston
1d9d03b289 Merge remote-tracking branch 'velinath/sai-migrations-2' into 3.3.5-base 2016-01-05 23:36:57 +01:00
treeston
c7459327b2 Merge remote-tracking branch 'velinath/sai-migrations' into 3.3.5-base 2016-01-05 23:36:26 +01:00