Commit Graph

3759 Commits

Author SHA1 Message Date
treeston bf99630399 Scripts/Naxxramas: Thaddius follow-up:
- Reduce initial spawn timer on the encounter from 30 seconds to 5 seconds
- Rearrange respawn logic to fix the "petrified" visual from not showing properly
- Fix a potential infinite respawn loop that could prevent the encounter from initializing properly (fixes and closes #15898)
2015-11-26 18:57:15 +01:00
Shauren ecbbcc8972 Core/Spells: Fixed Raise Dead cooldown
Closes #15862
2015-11-15 00:31:17 +01:00
Carbenium f01ef901ef Script/Naxxramas: Fix a -Winconsistent-missing-override warning reported by clang 3.6 2015-11-14 19:48:05 +01:00
tkrokli 95d6f09243 Scripts/Thaddius: Coverity scan Control flow issues (MISSING_BREAK)
Coverity scan defects CID 1339315, 1339316 and 1339317:
- CID 1339315: boss_thaddius.cpp: 542
- CID 1339316: boss_thaddius.cpp: 811
- CID 1339317: boss_thaddius.cpp: 398

Added missing break; statements.
2015-11-14 05:12:25 +01:00
Vincent-Michael 2ee01a7b3d Core: Fix non pch build 2015-11-13 20:19:16 +01:00
MitchesD e14e291ef6 Merge pull request #15523 from Treeston/3.3.5-thaddius
Scripts/Naxxramas: Thaddius: Complete rewrite
2015-11-12 19:46:46 +01:00
MitchesD a1150ce20f Merge pull request #15732 from ShinDarth/reset-health-mana
Scripts/Duel: implement duel reset of health and mana and improve duel reset
2015-11-12 19:40:26 +01:00
Carbenium c5f635b689 Core/Creature: Remove duplicate call to LoadCreatureAddons in Creature::Create
* Add error log for duplicated aura entries in creature_(template_)addon
2015-11-11 00:13:43 +01:00
treeston 29feae5901 Scripts/Naxxramas: Complete rewrite of the Thaddius encounter. 2015-11-08 14:57:01 +01:00
ShinDarth 3b1db7a514 Scripts/DuelReset:
- do not reset when duel is fled
- minor improvement to SpellHistory::RestoreCooldonStateAfter duel method
2015-11-07 21:16:18 +01:00
Vincent-Michael 7d5e7102cd Core: Whitespace cleanup 2015-11-07 20:01:53 +01:00
jackpoz ea9c112b30 Merge pull request #15804 from Tonghost/3.3.5
Core/Misc: Remove unneeded files
2015-11-03 22:52:35 +01:00
sirikfoll 22f1d26986 DB/CORE Minor change in quest Kick, What Kick? and some codestyle
Remove the line that despawns the 'Apple' npc, this despawn is non-blizzlike and breaks the quest.
Thx Killyana for sql and valuable information

Closes #15480
2015-11-03 17:01:25 +01:00
ShinDarth 7ab1d1b7d0 Core/Ticket improved ticket system
- Safely close ticket before character deletion
- Allow to keep trace of delete characters tickets (configurable)
- Closes #15655

Closes #15699
2015-11-03 16:07:30 +01:00
Incorrect d98037a75d Core/Misc: Remove unneeded files
These 3 BlackRock Mountain scripts can be removed from source:

- boss_anubshiah.cpp
- boss_gorosh_the_dervish.cpp
- boss_grizzle.cpp

They already removed from the creatures in DB, and are currently causing
DBErrors.
2015-11-02 02:11:52 +02:00
treeston 91de0322bb Scripts/Naxxramas: Anub'rekhan encounter cleanup.
- Cleaned up events behavior to use phases instead of weird checks for auras.
- Cleaned up Crypt Guard despawn behavior, they should no longer despawn instantly upon death.
- Moved initial greeting from MoveInLineOfSight hack to proper areatrigger script.
- Fixed Crypt Guard respawn behaviour to prevent pulling them before Anub'rekhan has fully reset.
- Fixed Crypt Guard aggro behaviour to call for help on aggro. This prevents pulling the initial pair of Crypt Guards without engaging the boss.
- Added missing boss emotes.
- Code style cleanup.
2015-11-01 22:31:48 +01:00
MitchesD c82311897a Merge pull request #15681 from Treeston/3.3.5-faerlina
Scripts/Naxxramas: Faerlina cleanup
2015-11-01 20:49:10 +01:00
jackpoz da0671f4fe Scripts/Naxxramax: Fix clang warning 2015-11-01 18:40:35 +01:00
Naios 105f624763 Core/AI: Convert the hardcoded variadic RAND functions into one C++11 variadic template version.
(cherry picked from commit 0b6f784591)
2015-11-01 15:03:02 +01:00
joschiwald 36a205ec00 Core: fixed warning introduced in last commit
(cherry picked from commit fe0c07a6fe)
2015-10-31 19:13:05 +01:00
joschiwald df88c7f278 Core/Misc: removed some useless map checks
(cherry picked from commit cf1e80e3d0)
2015-10-31 19:11:41 +01:00
joschiwald 3a4f33d007 Scripts/Ulduar/Algalon: fixed achievement "He Feeds On Your Tears"
Ref #6157

(cherry picked from commit d68e3325d5)
2015-10-31 18:38:34 +01:00
Shauren b8e86b9b7a Core/DBLayer: Allowed using GetDouble for SUM results instead of requiring string conversions
(cherry picked from commit 3109ab2da0)
2015-10-31 18:25:40 +01:00
David Carlos Manuelda a410072d6d Removed unneeded nullptr check
(cherry picked from commit 20215a8c42)
2015-10-31 18:22:55 +01:00
David Carlos Manuelda 8dc10022a6 Fixed boss evade and doors closed by cr4st.
Should close #6377 and #15239

(cherry picked from commit e430f3f61a)
2015-10-31 18:21:23 +01:00
David Girón bc187f8760 Script/Commands: Add some sanity checks to cast commands
Closes #15061

(cherry picked from commit 15dec9a76c)
2015-10-31 18:02:32 +01:00
Shauren 1de03cf107 Core/Players: Implemented serverside validation of reserved/profane names
Closes #15357

New library dependency: Boost.Regex

(cherry picked from commit b564c10b13)
2015-10-31 17:27:45 +01:00
Shauren 4a36850167 Core/World: Store account id in CharacterInfo to reduce the amount of database queries
(cherry picked from commit aaaa1c3441)
2015-10-29 21:08:00 +01:00
GigaDev90 b774aedd93 Scripts/DuelReset:
- fixed druid mana restoration
- fixed bug when a player accepts duel with a spel on onHold true (like when stealth of rogue/druid is active)
2015-10-28 20:14:21 +01:00
ShinDarth f5781ec3af Scripts/DuelReset:
- impemented health and mana reset
- do not reset anything when duel is interrupted
2015-10-28 20:13:21 +01:00
treeston 577fcf356e Scripts/Naxxramas: Faerlina cleanup:
- Move greeting to areatrigger instead of MoveInLineOfSight hack
- Clean up add spawn handling to prevent various glitching with combinations of evade state and add aggro
- Ensure all adds are always pulled alongside the boss and vice versa
- Add missing texts.
- Fix a bug in the core that prevents castable-while-dead spells (such as Widow's Embrace) from appearing on possess bars.
2015-10-26 00:43:01 +01:00
Shauren 96b5bfd985 Core/Commands: Fixed merge error 2015-10-23 18:12:42 +02:00
MitchesD b2575a04ce Merge pull request #15753 from Rushor/blood
Scripts/IcecrownCitadel: Quest 'Blood Quickening' - Add Killcredit in 25ManRaid
2015-10-23 12:06:03 +02:00
Shauren c92faf6277 Core/Commands: Refactored chat command script hook, fixes a crash when building with gcc 5
Closes #15616
Closes #15740

(cherry picked from commit 2d942ddcc5)

# Conflicts:
#	src/server/scripts/Commands/cs_battlenet_account.cpp
#	src/server/scripts/Commands/cs_cast.cpp
#	src/server/scripts/Commands/cs_debug.cpp
#	src/server/scripts/Commands/cs_go.cpp
#	src/server/scripts/Commands/cs_misc.cpp
#	src/server/scripts/Commands/cs_mmaps.cpp
#	src/server/scripts/Commands/cs_modify.cpp
#	src/server/scripts/Commands/cs_npc.cpp
#	src/server/scripts/Commands/cs_reload.cpp
#	src/server/scripts/Commands/cs_ticket.cpp
2015-10-22 22:34:16 +02:00
Rushor c5641a9a58 Scripts/IcecrownCitadel: Quest 'Blood Quickening' - Add Killcredit in 25ManRaid
closes #15733
2015-10-22 12:24:26 +02:00
ShinDarth c6c3e72b55 Core/Scripts: convert the Duel Cooldown Reset feature to scripts 2015-10-18 18:41:58 +02:00
pete318 b1032ed620 Change many uint32 to ObjectGuid::LowType in line with 6.x changes. 2015-10-12 23:10:41 +02:00
treeston 4771740d42 Gem Perfection implemented:
- Add new DB table `skill_perfect_item_template` that holds information about "perfect" crafts that replace the normal result
- Implement this new DB table into core (SkillExtraItems.cpp, SkillExtraItems.h, SpellEffects.cpp)
- Add data about perfect crafts to new DB table (2015_09_11_00_world.sql)
- Add reload capability to this new table (latch onto skill_extra_item_template to avoid changing command IDs)

Random other change because I stumbled across it and it annoyed me:
- npc_professions.cpp no longer uses magic numbers for quest IDs and creature IDs.
2015-10-11 11:36:18 +02:00
treeston 17fdb1e091 Scripts/Naxxramas: Loatheb follow-up:
- Fix Deathbloom (for real this time)
2015-10-11 11:24:04 +02:00
joschiwald 361ef5efa3 Merge pull request #15680 from tkrokli/dk_initiates_creature_say
Core/Scripts: The Endless Hunger & Death's Challenge, creature text
2015-10-10 16:48:31 +02:00
MitchesD 4e2dd6ee0b Merge pull request #15692 from ShinDarth/instance
Scripts/Commands: enhanced .instance get/setbossstate commands
2015-10-10 15:17:25 +02:00
tkrokli 89107c3a8e Core/Scripts: The Endless Hunger & Death's Challenge, creature text
This PR solves the following say text issues:
In quest ID 12733, Death's Challenge, the creature script npc_death_knight_initiate is supposed to target the player and refer to the player character's name in the following 2 lines from `creature_text`.`entry` 28406:

- "You don't stand a chance, $n." (`BroadcastTextId` 29267)
- "Remember this day, $n, for it is the day that you will be thoroughly owned." (`BroadcastTextId` 29270)

In quest ID 12848, The Endless Hunger, the creature script npc_unworthy_initiate is supposed to target the player and refer to the player character's race in the following 2 lines from `creature_text`.`entry` 29519, 29520, 29565, 29566 and 29567:

- "You are hopelessly outmatched, $r."  (`BroadcastTextId` 30212)
- "Sate your hunger on cold steel, $r!" (`BroadcastTextId` 30214)

The untargeted variables $r and $n appear in the say lines because the existing script assigns the text to the player character instead of the creatures. This does not produce any race or name information in /say or chat.

This Pull Request closes issue #14700 and replaces PR  #15678.
2015-10-10 14:57:49 +02:00
ShinDarth 1ffec02d76 Scripts/Commands: enhanced .instance get/setbossstate commands 2015-10-10 14:34:23 +02:00
Shauren 5529728ab0 Merge pull request #15689 from sirikfoll/FriendOrFowl
Core/Scripts: Friend or Fowl Achievement
2015-10-10 11:59:19 +02:00
Shauren c8b99012fd Merge branch 'Treeston-3.3.5-loatheb' into 3.3.5 2015-10-10 11:56:42 +02:00
Shauren 88c2066ea8 Merge branch 'Treeston-3.3.5-heigan' into 3.3.5 2015-10-10 11:54:53 +02:00
Shauren 02fc625e52 Merge branch '3.3.5-noth' into 3.3.5 2015-10-10 11:50:14 +02:00
sirikfoll f877b6af0a Core/Scripts: Friend or Fowl Achievement
Change AURA_EFFECT_HANDLE_REAL to AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK, the hook needs to be called on every apply/reapply to keep tracking the stack amount.
2015-10-10 01:31:55 -03:00
treeston 3fc1bb1abf Scripts/Naxxramas: Bugfixes to the Noth encounter.
- Added missing raid boss emotes
- Fixed an issue where Noth would stand idly after blinking if his current target stood still
- Fixed some reset edge cases
- Prevent Noth from dying during Balcony phase
- Fix targeting of 25-man Curse of the Plaguebringer (now has 8 targets, down from 10)
- Fix balcony/ground phase durations to be blizzlike
- Fix an issue where summoned mobs would sometimes not be aggroed automatically
- Get rid of ugly millisecond values in favor of seconds times constant
- Moved the chance to yell on kill to the database
- Prevent AoE abilities from hitting Noth during the balcony phase
- General cleanup of events handling
- Generally make @Nayd happy
2015-10-09 18:55:42 +02:00
Duarte Duarte 22536641b2 Merge pull request #15654 from ShinDarth/resolvedBy
Core/Ticket keep always trace of GM who resolves the ticket
2015-10-06 06:35:45 -07:00