Commit Graph

14314 Commits

Author SHA1 Message Date
Killyana
0eb9e4d805 line 2020-01-01 17:38:52 +01:00
Killyana
a32aeceb0d Core/Creature: Clear creature focus after an evade 2020-01-01 17:19:37 +01:00
Giacomo Pozzoni
4ccf01de39 Fix fleeing speed to 66% run speed (#24025)
* Core/Movement: Fix fleeing speed to 66% run speed

Fix fleeing speed to 66% run speed until the creature starts returning home

* Fix build

* Don't check speed type

* Don't apply speed reduction twice

* Fix no-pch (1st try)

* Make sure every spell focus is interrupted when seeking assistance
2020-01-01 16:28:33 +01:00
Killyana
7fb7432620 Core/AI: Fix creatures not updating their target properly once engaged
Closes  #21562
2019-12-30 19:03:14 +01:00
Giacomo Pozzoni
88a14251e2 Core/MMaps: Fix charge underwater/falling (#24010)
* Core/MMaps: Fix charge underwater

Fix charge sometimes returning "no path available" when swimming/underwater.
Fix charge selecting a destination point 4 yards above swimming/underwater targets

* Allow falling units to charge targets that are below (lower Z coordinate)

* Disable "raycast" pathfinding as it's not blizzlike.

This might show some strange paths when charging with a target in front.
It also fixes some falling undermap issues.

This Reverts 272009ebee

* Remove Z offset when charging a target as it never made sense
2019-12-30 15:58:39 +01:00
Keader
2f31119ea3 Scripts/ICC: Fixed Valithria Archmages casting while dead
After 9c603ea87f, dead creatures will tick UpdateAI
Closes: #24012
2019-12-30 11:26:07 -03:00
Gildor
617e9dacc8 Core/Spells: Fix Power Word: Shield (Priest) absorb amount (#23985)
Closes #22090
2019-12-30 10:46:10 -03:00
Keader
e15354dc7f Scripts/Spells: Fixed Black Magic proc with some druid spells (#24002) 2019-12-30 10:42:21 -03:00
Giacomo Pozzoni
e698c17a26 Core/Movement: Fix wrong orientation set when pausing movement (#23986)
* Core/Movement: Fix wrong orientation set when pausing movement

* Update MoveSpline.h

* Update Unit.cpp
2019-12-29 16:24:53 +01:00
Eridium
b60786a916 Spell/Script: Egg Nog (#24007)
Closes  #23996
2019-12-29 12:09:31 -03:00
Killyana
cb11ad97fb Creature/AI: Reset CoolDowns on evade
Closes  #24008
2019-12-29 14:05:03 +01:00
Michael
6b19f4a0ab additional output for additem command (#24006)
* additional output for additem command

when removing items with additem:

if the user provides an amount too large of a negative amount, the command will now output the amount of items that could not be destroyed.

* renamed sql file to hopefully avoid conflicts

* added clarification to failure string

* changed unneeded else if condition to else

* code style; braces

* Update and rename 9999_99_99_99_world.sql to 2019_12_28_01_world.sql
2019-12-28 22:58:18 +01:00
jackpoz
862d47394b Core/Movement: Fix fleeing speed to 66% run speed
Fix AssistanceMovementGenerator using 100% MOVE_RUN speed instead of 66% . Please note that the fleeing mechanic still has some open issues that this single commit doesn't fix
2019-12-27 17:28:09 +01:00
Giacomo Pozzoni
8f94c9ef6b Core/Movement: Fix stunned falling units freezing the client (#24000) 2019-12-27 16:33:16 +01:00
Keader
9f7b464a6a Scritps/ICC: Fixed resistance calculation for Mutated Transformation (Professor Putricide) (#23858)
More Info in: #23837
2019-12-26 13:22:04 -03:00
Giacomo Pozzoni
18a4cbee5e Core/Creatures: Fix spell_school_immune_mask being applied against positive spells too (#23999) 2019-12-26 13:58:45 +01:00
Giacomo Pozzoni
7920347f43 Core/Spells: Fix Spellsteal stealing Silence buff of Arcane Torrent (#23992) 2019-12-26 13:57:50 +01:00
Giacomo Pozzoni
13ad8b66d9 Core/Movement: Add more LOS checks (#23991)
Add more LOS checks to ensure Units don't cross trees/walls when fleeing/moving
2019-12-26 13:56:51 +01:00
jackpoz
afbc478919 Core/Map: Load the grid of TempSummons owned by Players
Ensure to load the grid of TempSummons owned by Players when the relocate to another cell
2019-12-21 16:27:46 +01:00
Shauren
175eba74ae Scripts: Add missing killer nullptr checks in JustDied hooks 2019-12-21 13:30:59 +01:00
Shauren
046e98bc5d Core/Creatures: Fixed crash when guards get killed by periodic auras whose caster is offline or despawned 2019-12-21 13:06:42 +01:00
jackpoz
68fa3091a2 Scripts/Misc:Code cleanup 2019-12-20 18:02:00 +01:00
Killyana
c5c46fed6a Creature/Script: Fire Bomb
Closes #23977
2019-12-20 17:26:04 +01:00
Killyana
9bed0aa8d8 Creature/Script: Toravon Frozen Orb Stalker 2019-12-20 16:53:01 +01:00
Killyana
26faca51cd Spell: Move Crystal Spike aura to the cpp 2019-12-19 22:27:31 +01:00
Killyana
462b63957a Spell: Move Shadow Trap aura to the cpp 2019-12-19 21:46:16 +01:00
Eridium
efcbfa5c24 Boss/Script: Fix Mechano-Lord Capacitus's Nether Charges (#23976)
* Boss/Script: Fix Mechano-Lord Capacitus's Nether Charges

Closes #23973

* Update boss_mechano_lord_capacitus.cpp

* Update boss_mechano_lord_capacitus.cpp

* Update boss_mechano_lord_capacitus.cpp

* Rename 2019_12_99_99_world.sql to 2019_12_19_00_world.sql
2019-12-19 07:57:26 +01:00
Killyana
74f92d776b Spell: Move Column of Frost & Mana Void to the cpp 2019-12-18 21:41:40 +01:00
Killyana
4d89da56c1 Spell/Script: Move the spell "Flame Sphere Spawn Effect" from the DB to the cpp 2019-12-16 21:17:10 +01:00
Giacomo Pozzoni
f20265feaf Core/Creature: Remove empty spell ids from CreatureAddon.auras vector
Close #23969
2019-12-16 10:44:50 +01:00
jackpoz
54f9456764 Core/Creature: Log an error for Creatures spawned with temporary auras
The errors still need to be addressed.
Close #23225
2019-12-15 19:59:39 +01:00
Keader
ecd4ffc1ce Build fix 2019-12-15 12:40:26 -03:00
Keader
58b5ea9f95 Scripts/Azjol-Nerub: Fixed Gatewatcher pets evading when kill a player
Making Aokromes happy
2019-12-15 12:35:41 -03:00
Killyana
6ca4f340bd Tabs 2019-12-15 16:33:00 +01:00
Killyana
c22b1e6cb4 DB/Quest: Take Down Tethyr!
Closes #22407
2019-12-15 16:27:21 +01:00
Killyana
8b03fe9506 Core/Log: Gameobjects may have faction template id = 0
Ref https://github.com/TrinityCore/TrinityCore/pull/22922
2019-12-14 23:28:45 +01:00
Killyana
366ec08160 DB/Spawns: Rampart of skulls
Closes #23966
2019-12-13 21:28:58 +01:00
Gildor
f661bc6c39 Scripts/VioletHold: Minor improvements (#23961)
* Scripts/VioletHold: Minor improvements
* Now we can teleport inside with gossip if event is in progress
* Improve HavePlayers() check logic

* Remove a pointless comment
suggested by shauren

* Move CheckWipe function to execute every 3 seconds instead every map update
suggested by Riztazz

* I supose Riztazz forgot add this to repeat every 3 seconds
2019-12-11 15:01:27 +01:00
Giacomo Pozzoni
dfc5dc3dff Core/Grid: Code cleanup
Remove unused method that should not be used anyway
2019-12-09 09:12:04 +01:00
Killyana
d8e12d826c Tabs 2019-12-07 19:14:31 +01:00
Treeston
d4b00df781 Core/Spell: Reset threat to zero when the hunter use Feign Death
Closes #23874
2019-12-07 19:13:06 +01:00
Killyana
6db4bf6671 Quest: Weakness to Lightning
Closes #23916
2019-12-07 16:57:16 +01:00
Shauren
3bf44a5891 warning fix 2019-12-07 14:43:46 +01:00
Shauren
b990a79fd8 Core/Realms: Move build info (and auth seeds) to database
(cherry picked from commit 61f2eed353)
2019-12-07 13:14:16 +01:00
Ovah
60763fc5e2 Scripts/ScarletEnclave: reworked Eye of Acherus script (#23953)
* updated script model to new standard
* corrected spell usage and timers based on sniff data
* removed hacks
2019-12-06 07:37:34 +01:00
ccrs
3842ab2781 Core/AI: add another helper for "ScriptedAI::ForceCombatStop" 2019-11-25 20:43:23 +01:00
Giacomo Pozzoni
909941e1b4 Core/GameObjects: Skip LoS checks for traps (#23936)
* Core/GameObjects: Skip LoS checks for traps

* Core/GameObjects: Fix spells cast by traps missing always

* Scripts/Spells: Fix WSG heal buff not healing

The WSG green heal buff is now cast by a GameObject so the spell target should be used to calculate the healing, not the GameObject.
2019-11-24 21:00:42 +01:00
Ovah
4ddf7f5976 Fixed pets repositioning themselves after every cast (#23923) 2019-11-17 14:29:31 -03:00
Killyana
754e207777 Movements/Pets: Fix the follow angle 2019-11-17 16:20:06 +01:00
Shauren
4710a3f6c1 Build fix - include went missing when resolving merge conflicts 2019-11-09 14:03:57 +01:00