Commit Graph

1019 Commits

Author SHA1 Message Date
xinef1
fe63cd3dbb Core/Creatures: Various fixes for creatures, regarding combat conditions, despawning, and few others (#18998)
* Made some changes to kiting mechanics, simplified code and made taunt auras prolong combat no matter the distance from the spawn
Unified some creature despawning code, removed some brutal direct calls in scripts
Don't play death anim on forced despawn
Removed some redundant visibility changes on creature despawn
Fixed possible problem with pet initializing template info from difficulty greater than normal
Properly keep UNIT_FLAG_IN_COMBAT on UpdateEntry call
Moved RegenerateMana function to general Regenerate(Power) function
Fixed increased health regeneration from polymorph for pets
Implemented CREATURE_TYPE_FLAG_GHOST_VISIBLE, those creatures will be properly seen when player is dead also
Removed hackfix from Gaeriyan and Franclorn Forgewright, fixed properly
Simplified ForcedRespawnTime code in ForcedDespawn
Do not allow to assist unit while evading or when enemy is evading
Do not allow to attack other units when evading or when the unit is evading
Corrected distance checking code before creature is allowed to evade, should fix some common problems
Properly return summon position for summoned creatures as their respawn position
Properly stop all moving units on gossip hello, no matter their npc flags

(cherrypicked from e1f14215d8)
2019-07-21 21:06:54 +02:00
xinef1
ad008c43b7 Core/Misc: Fix various crashes, also related to multithreading (#19012)
* When iterating groups we have to either do it not in multithreaded context (map updates) or start with checking maps (they are guaranteed to change in single thread update).
* Properly clear ComboPoint references on player remove
* remove some possible references item may have when it is deleted during save.
* Also clear all hostile references when unit is removed from map.

(cherrypicked from 86da1a19bb)
2019-07-21 21:06:54 +02:00
Shauren
1ce8bf22fc Nopch fix 2019-06-15 19:04:21 +02:00
Gustavo
7fbae7530d Core/Scripts Rework boss Terestian Illhoof (Karazhan) (#19057)
(cherrypicked from 87f2cb04ca)
2019-06-15 18:41:09 +02:00
Gustavo
c53df2adb0 Core/Scripts Update boss Maiden of Virtue (#19058)
(cherrypicked from d06391d062)
2019-06-15 18:41:09 +02:00
Gustavo
384f2d636c Core/Scripts: boss The Curator (Karazhan) rework (#19040)
Closes #16099
(cherrypicked from 169e150628)
2019-06-15 18:41:09 +02:00
Gustavo
2dcc2d0f05 Core/Scripts: boss Nightbane rework (Karazhan) (#18899)
Closes #10017
(cherrypicked from ad8a71c084)
2019-06-15 18:41:09 +02:00
Shauren
455959c606 Core/PacketIO: Rewrite updatefield handling 2019-06-08 17:06:57 +02:00
vincent-michael
5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Traesh
9d210476e5 Core/Creatures: Update creature model handling with new display scale (#22567) 2018-11-07 20:23:30 +01:00
Shauren
9ffabae6bf Scripts/Misc: Use InstanceMap* in InstanceScript instead of Map* 2018-06-16 17:24:10 +02:00
Ovahlord
a6f91c9b81 Npc/Script: fixed Eye of Acherus action bar
Closes #18362
2018-06-11 20:24:08 +02:00
Shauren
921235b3e9 Core/Misc: Fixed rotation of many gameobjects summoned in tol barad, garrison and various scripts 2018-05-07 17:45:09 +02:00
joschiwald
32a131ac94 Fixed non pch build 2018-03-18 10:34:00 +01:00
joschiwald
c68f505460 Fixed build again 2018-03-18 10:30:50 +01:00
joschiwald
8a4a570510 Fixed build 2018-03-18 10:27:42 +01:00
Gustavo
bff89d9886 Core/Scripts: Implement Boss Coren Direbrew (#18137)
(cherry picked from commit d6a5477407)
2018-03-18 00:19:53 +01:00
Keader
83d0ba4b89 Core/Scripts: Gurtogg Bloodboil Rewrite (#18279)
(cherry picked from commit eb41194dbb)

Rename 9999_25_44_50_world.sql to 2016_11_26_02_world.sql
(cherry picked from commit 8975fb73f0)
2018-02-11 16:20:32 +01:00
Andrew Blakely
06e1990af2 Core/Scripts: Fixed Vaelastrasz bomb mechanic (#18260)
* Core/Scripts: Fixed Vaelastrasz bomb mechanic

Vaelstraz was suppose to bomb raid members that are mana users every 15
seconds. He was not doing that with the current implementation.

This implementation allows him to bomb the raid and to select the proper
targets. This is also done in a cleaner way.

* Added AuraScript for SPELL_BURNINGADRENALINE

Needed to define an AuraScript for custom behavior that would denatonate
the damaging aura when the debuff falls off.

SpellId - 18173

* Added SQL for Burning Adrenaline Script Ref

* Fixed Multiple Application of BA

* Add unit null check in lambda

* Remove DB name from sql query

* Added Newline in SQL update file.

* Added SQL delete query for potential existing spell

* Fix SQL newline again.

* As suggested a simpler SpellCast overload works

I don't know if there are any consequences but it seems to function fine
in in-game.

I'd like more information on the overload that involves an AuraEffect.

* Remove duplicate Unit null check in lambda

* Update boss_vaelastrasz.cpp

(cherry picked from commit 60ac53ff07)

# Conflicts:
#	src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_vaelastrasz.cpp
2018-02-11 16:00:49 +01:00
Shauren
3d7af56f5c Warning fixes 2018-01-10 23:22:27 +01:00
Shauren
bb718b5578 Core/Entities: Remove phasemask 2018-01-10 22:01:40 +01:00
Mihapro
8199eef81c Core/Misc: Added helper function Unit::SetFullPower
* Also renamed Unit::getPowerType and Unit::setPowerType to follow style guidelines

Ref #20981
2018-01-03 16:39:32 +01:00
vincent-michael
7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Treeston
60c756d3f8 Scripts/Various: Bringing nullptr civilization to the savages of master branch. Merry Christmas.
(2a08556 follow-up)
2017-12-26 01:33:50 +01:00
Treeston
2a08556273 Core/Unit: For convenience, explicitly redirect CastSpell with nullptr as first argument to the Unit* overloads. No more ->CastSpell((Unit*)nullptr, ...) all over the place!
(cherry picked from commits c7896f3102 and 40c78cac4c)
2017-12-26 01:10:26 +01:00
tkrokli
b74eba72f6 Core/Scripts: Archmage Arugal event script (#17922)
Implement boss script for Archmage Arugal
- add yells used in boss event to DB
- use proper spells instead of only melee fighting
- add DataType in shadowfang_keep.h
- add event scheduling in the script

By Riztazz
Closes issue #17916

(cherry picked from commit 2b26894eb1)
2017-12-10 17:29:54 +01:00
Dr-J
0338421543 DB/Creature: Augustus the Untouched
Move from cpp to db, also added some missing detail
(cherry picked from commit cefed89c38)

Remove obsolete file
(cherry picked from commit 9be0362606)

Remove reference to eastern plaguelands script
(cherry picked from commit 1fc8e2d5f2)
2017-11-26 16:18:01 +01:00
Aokromes
df6e0538fe Misc: More cleanup 2017-11-25 02:57:49 +01:00
Aokromes
90badf9d7e Misc: More cleanup 2017-11-25 02:50:29 +01:00
SnapperRy
ece0c955fc Codestyle.
(cherry picked from commit ec023c3032)
2017-11-11 20:05:40 +01:00
Aokromes
1f5c4df4d5 Scripts/Scholomance: Lady Illucia Barov spell corrections 2017-10-30 12:36:34 +01:00
joschiwald
0fcf6043b7 Core/Misc: Changed some SpellMgr::GetSpellInfo calls 2017-09-24 23:15:56 +02:00
joschiwald
2c4246f341 Fixed build 2017-09-06 16:10:32 +02:00
SnapperRy
a2fce3a486 Script/Creature: Scarshield Infiltrator/Vaelan.
(cherry picked from commit fdc4ab4ab4)
2017-09-06 16:01:55 +02:00
Aokromes
27e4746ea2 Scripting: Clean up of magic numbers
By Malcrom
2017-08-14 13:44:25 +02:00
Aokromes
4cee412faf Fix another warning 2017-07-05 08:10:01 +02:00
Aokromes
0000334564 Fix warning 2017-07-05 07:50:31 +02:00
Aokromes
b7e20d520f Core/Script: Partial Redridge fixup
By Malcrom - Reviewed by Treeston and Keader
2017-07-04 17:57:11 +02:00
Shauren
b453e12423 Core/Game: Include cleanup part 5
* ObjectMgr.h
* Player.h
* Unit.h
* G3D should no longer propagate everywhere from Spline/MotionMaster
2017-06-04 01:00:45 +02:00
Aokromes
a1a8d55b86 Update zone_dun_morogh.cpp 2017-06-02 23:53:12 +02:00
Aokromes
0fd67afe30 Update zone_dun_morogh.cpp 2017-06-02 17:28:21 +02:00
Aokromes
7f5604c1a0 DB/Misc: Misc fixes for Dun Morogh
By Malcrom
2017-06-02 16:12:03 +02:00
Shauren
dd38842d36 Nopch fix 2017-06-01 23:33:59 +02:00
Keader
acbc81dc54 Core/Scripts: Removed a duplicated call in boss Hogger 2017-06-01 18:21:50 -03:00
Artamedes
f494442524 Scripts/Stockades - Add scripts to instance (#19522) 2017-06-01 18:15:31 -03:00
vincent-michael
97854da1cd Scrips/MagistersTerrace: Fixed warning 2017-05-28 17:15:33 +02:00
Shauren
a0a158b5b8 Core/Scripts: Include cleanup 2017-05-28 16:34:44 +02:00
Gacko
5d3aa8889a Really fix non-PCH build. 2017-05-25 12:19:03 +02:00
Shauren
38c6694b8e More nopch fixes 2017-05-25 00:24:37 +02:00
Shauren
2200b4b0e1 Nopch fix 2017-05-24 21:30:43 +02:00