Commit Graph
4745 Commits
Author SHA1 Message Date
Gacko 5cb2ca5c81 Spell/Shaman: Fix non PCH linking.
Thanks @Shauren.
2016-05-14 16:09:51 +02:00
Shauren 791e0f0513 Core/Spells: Fixed Lightning Shield dropping charges when attacked 2016-05-12 16:47:45 +02:00
Vincent-Michael cccdbf4755 Core/Spells: Fixed warning 2016-05-10 19:57:20 +02:00
Shauren 9fa5906c40 Core/Spells: Fixed Elemental Blast random buff (shaman) 2016-05-10 17:06:39 +02:00
Vincent-Michael b29005925e Core: Fixed warning 2016-05-08 00:43:17 +02:00
Vincent-Michael a3b4c40073 Core/Commands: Cleanup in 0940f3e077 2016-05-08 00:26:30 +02:00
Vincent-Michael 0940f3e077 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
2016-05-08 00:02:15 +02:00
Shauren c75fcbe20b Core/Achievements: AchievementMgr refactoring
* Extracted base CriteriaHandler class that deals with criteria only and will be reused for future scenario implementation
* Fixed players earning guild achievements
2016-05-07 01:16:29 +02:00
Shauren a49b348d62 Core/Spells: Removed code for handling SPELL_AURA_OVERRIDE_CLASS_SCRIPTS whose miscvalue cases were removed from the game 2016-05-04 18:25:30 +02:00
funjoker 7eab3d3716 Core/Units: Updated armor damage reduction calculation
Merge #17069
2016-05-03 14:09:57 +02:00
Duarte Duarte 71a7f96e22 Scripts/SWP: Remove unused #defines 2016-05-02 03:09:08 +01:00
Incorrect c28e6a8c16 Core/Spells: Fixed overwriting summon requests
Closes #17049
2016-05-01 12:53:39 +02:00
Naios b4c12d2699 Core/Scripts: Fix 2 warnings
* Ref d9f7692c2e
* Ref 0fbcddcb4f
2016-05-01 02:19:55 +02:00
KarrokDC da186daf02 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

(cherry picked from commit 775b03bf6f345ac2bdc4936bb0ead5b0ad4fb193)
2016-05-01 02:00:44 +02:00
Nyeriah afa8cfa092 Scripts/Command: Solve several format exception crashes introduced in a recent commit
Ref #16648
Closes #16751

(cherry picked from commit c1905771f064e374a09720f470116f04b03e5a42)
2016-05-01 02:00:43 +02:00
Shauren d9f7692c2e Core/Spells: Updated existing shaman spell scripts 2016-05-01 00:09:01 +02:00
Shauren d92f529d93 Core/Spells: Fixed Stealth and Vanish
Closes #15779
2016-04-29 21:21:58 +02:00
Shauren cc262ec12e Core/Spells: Updated Eviscerate and Envenom formulas
Closes #16886
Closes #16887
2016-04-29 20:05:41 +02:00
edea 2b411aa148 Core/Spells: Fix PvP trinkets animations
Closes #16890
2016-04-28 22:34:57 +02:00
jackpoz b8f10a514f Core/Misc: Fix issues reported by static analysis
(cherry picked from commit 3e73ba9da5e9d09017cb48389adc930d9c9c3a55)
2016-04-28 17:08:42 +01:00
Shauren 77d3dde36f nopch build fix 2016-04-28 18:01:04 +02:00
Shauren 4953ee20a5 Core/Spells: Fixed Crackling Jade Lightning, initial pull request by @Infamous-devel
Closes #17050
2016-04-27 18:17:03 +02:00
joschiwald 803473fb64 Core/Utils: replaced std::random_shuffle with our own implementation using SFMT random generator
(cherry picked from commit 9e371b766c75faf899cbbe24515b8b5c01716a50)
2016-04-24 20:19:42 +02:00
Vincent-Michael 4fbe380639 Core/Items: Fixed build 2016-04-23 19:35:49 +02:00
joschiwald 9fc5ea81e0 Scripts/Spells: fixed Decahedral Dwarven Dice and Worn Troll Dice
#Closes 16866

(cherry picked from commit 029527365f1763c45e8668c16ecd25ba7553bb22)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Handlers/GroupHandler.cpp
2016-04-23 16:54:28 +02:00
Shauren 3ac33163db Core/Misc: Fixed -Wmisleading-indentation warnings 2016-04-23 13:22:03 +02:00
DDuarte e7c203334b Scripts: Add missing override 2016-04-19 01:37:17 +01:00
Gacko aac868a6d9 Scripts: Add missing overrides. 2016-04-18 23:52:39 +02:00
tkrokli d82a2cf471 Core/Scripts: zone_shattrath_city cleanup
- restore missing text lines for Sal'salabim and Raliq the Drunk
- replace hardcoded text with DB gossip ID enum sections
- move gossip ID, quest ID, spell ID (and so on) into enum
- remove core script for Ishanah, High Priestess of the Aldor

Closes #16684

(cherry picked from commit acdfc36a4e93dc422d5bb9015d5b2b673fbdb242)
2016-04-16 19:05:32 +01:00
DDuarte 4e0b0e76c9 Core/Quests Fix Quests Borrowed Technology, Volatility and The Solution Solution (#16968)
(cherry picked from commit d1a053e4f5a29f96b3300397e16d3e63a1cf9bae)

Rename sql

(cherry picked from commit 41e776fe64e2072d165b990cc9e9d2bfdd698855)
2016-04-16 18:22:35 +01:00
DDuarte e8179e107b Merge branch '3.3.5-gluth' into 3.3.5 (PR #14865)
(cherry picked from commit b11545800190795de5573fb917e81f61b774427b)
2016-04-16 18:21:22 +01:00
DDuarte 00da19ed9e Merge remote-tracking branch 'sirikfoll/geddon' into 3.3.5 (PR #16975)
(cherry picked from commit 75f7b5ae4baa4eeb8f6e28e2270536274bfecd4c)
2016-04-16 18:20:11 +01:00
DDuarte 98a8f539b4 Merge remote-tracking branch 'sirikfoll/bossAhune' into 3.3.5 (PR #14884)
(cherry picked from commit 37067ad3905059753f38254e72dae62cd2db2ce6)
2016-04-16 17:20:57 +01:00
Vincent-Michael 3cd19d3b30 Core: Removed Whitespaces 2016-04-16 12:19:23 +02:00
Chaouki Dhib 3cbbcdb51a Core/Movement: Clean up and improvements on Unit::SetSpeed (#16843)
- Clean up of Unit::SetSpeed (mostly cherry picks from the 6.x branch):
- the opcode sent depends on the unit. until now, MSG_MOVE_SET_* were sent for every units which isn't like retail behavior.
- Removed the unused method parameter "forced" from Unit::SetSpeed
- Renamed Unit::SetSpeed to SetSpeedRate
- Removed the unused method parameter "forced" from Unit::UpdateSpeed
- Added utility method Unit::SetSpeed which take the new flat value.
(cherry picked from commit dc3327f9c5f80c36000356829159c060d916f62b)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Handlers/MovementHandler.cpp
#	src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
#	src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp
#	src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
#	src/server/scripts/Kalimdor/zone_azshara.cpp
#	src/server/scripts/Kalimdor/zone_durotar.cpp
#	src/server/scripts/Outland/zone_hellfire_peninsula.cpp
2016-04-16 02:26:24 +01:00
Naios ea4ac00ac7 Core/Build: Provide an interface target for game
* Increases the build time because dependent projects can build
  without waiting for the game project.

(cherry picked from commit ff8a54ab928c00968266d0b1a574f81536152758)
2016-04-14 21:30:27 +02:00
Naios 9cc97f226d Core/Game: Rewrote the ScriptMgr to support script reloading.
* Finally this commit enables dynamic script hotswapping
  and finished the PR #15671.
* Split the storage layout to use optimized storages
  for database bound and unbound scripts.
* Add several unload workers to reload scripts correctly
  -> Requires further investigation.
* Fixes memory leaks in ScriptMgr when dropping invalid scripts.
* Fixes VehicleScripts
* Makes OutdoorPvP scripts reloadable
* Makes InstanceMapScripts reloadable
* Makes CommandScripts reloadable
2016-04-11 21:14:00 +02:00
Naios 848b8a4136 Core/Scripts: Split script subdirectories into independent modules
* Makes it possible to define the linkage for every module
* Move the ScriptPCH into the root directory
* Changes the SCRIPTS cmake variable to a string type:
  -> -DSCRIPTS=0 is -DSCRIPTS="minimal-static" now
     (builds commands and spells statically)
  -> -DSCRIPTS=1 is -DSCRIPTS="static" now
     (builds all modules statically)
  -> -DSCRIPTS="dynamic"
     (builds all modules dynamically)
  -> Also the default value which is provided by the SCRIPTS
     variable is overwriteable through the SCRIPTS_COMMANDS,
     SCRIPTS_SPELLS... variable.
2016-04-11 21:13:58 +02:00
Naios 4710b1c8fe Core/Scripts: Move the ragefire chasm scriptloader into the correct file
* This commit targets 3.3.5 and just reduces the diff to 3.3.5 on 6.x.
2016-04-11 21:13:24 +02:00
Naios 59e3cf82ac Core/Game: Move scheduled map scripts counter methods into MapManager
* Since those have nothing to do with core scripts and are
  not wished inside the ScriptMgr
2016-04-11 20:07:24 +02:00
treeston 6dfe9d34f3 Merge branch '3.3.5-naxxcleanup' into 3.3.5. (PR #16524)
(cherry picked from commit f37682b7edd0d711e1120cbdd9d627fb5b9dbde1)
2016-04-10 15:27:49 +02:00
treeston dc07c24c0c Scripts/Naxxramas: Fix an edge case crash in Gothik. Closes #16575.
(cherry picked from commit a23ccc1b83ded39501d690e288be49be8f32b539)
2016-04-10 14:39:32 +02:00
treeston c344feed96 Merge branch '3.3.5-horsemen' into 3.3.5-base (PR #16194)
(cherry picked from commit e8a79737a530fe9b605fa6d62a84c1531d56965b)
2016-04-10 14:32:51 +02:00
treeston 43c3b1b2e0 Merge branch '3.3.5-gothik' into 3.3.5-base (PR #16142)
(cherry picked from commit d23ef5d6d073ecc9a0a401875f216449e031998e)
2016-04-10 14:01:37 +02:00
Kittnz a4c223a300 Pet/Misc: Implement Baby Blizzard Bear
(cherry picked from commit 8d992a888c6618737e5324b4c424f0a5e324b531)
2016-04-09 17:42:50 +02:00
Shauren 07a0a57ffb Merge pull request #16848 from P-Kito/debuff_remove
[3.3.5/6.x] Scripts/Spells: Add generic spell to handle ClearDebuffs spell
(cherry picked from commit b2bd181a5f5e183c0f22695f0ea094c8045b3f08)
2016-04-09 17:40:20 +02:00
treeston d25ba64b4c Scripts/Karazhan: Hackfix the Opera event script to make Wizard of Oz actually completable.
Doing it in script instead of removing the flags from DB because I'm pretty sure that the DB flags are correct and there's some RP event missing before she becomes attackable.

(cherry picked from commit dc39de01416cfd9a7c0416ed38964b753098ca8e)
2016-04-09 17:35:45 +02:00
Aokromes b359eda9b9 Core/Misc: Remove no longer used code
(cherry picked from commit 00aeec820ac2223ff0697b7334413c70cf1f8ff0)
2016-04-09 17:29:10 +02:00
Vincent-Michael 179b521dce Core: Remove whitespaces
(cherry picked from commit 5e74c2223bff8a467d6f1ce18f6f08aa05e17019)
2016-04-09 17:14:08 +02:00
joschiwald 94c33ea43c Merge pull request #16785 from Keader/AlgalonStars
[3.3.5/Core/Scripts] Fix Living Constellation not activating during Algalon encounter
(cherry picked from commit 3e7b7e415e3abdad9bde459c83cb25548130b1f6)
2016-04-09 17:09:27 +02:00