Commit Graph
9726 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 e1f14215d86fc9f0cd041f0e87bf0a689c086329)
2019-07-21 21:06:54 +02:00
Aokromes a68911472e Rename 2017_02_05_16_world.sql to 2017_02_04_16_world.sql
(cherrypicked from d54a06823e1d7fce1879ecc2ed30cd45f3072dc3)
2019-07-21 21:06:54 +02:00
Rushor 98dc0656c6 DB/Creature: Slosh
Closes #19043

(cherrypicked from d54a06823e1d7fce1879ecc2ed30cd45f3072dc3)
2019-07-21 21:06:54 +02:00
Rushor ac2b6c97e5 DB/Creature: Stormforged Saboteur
Closes #19041

(cherrypicked from 9ee8838840339a81427f0f881f02b6d861ef00e7)
2019-07-21 21:06:54 +02:00
xinef1 ca26c33145 Implemented binary resistances and some more (#18933)
- Fixed possible exploit with tamed pets having template immunities
- Implemented binary resistances
- Corrected resistances calculations
- Pets properly inherit players spell penetration
- Fixed doubled block calculation for damaging melee spells
- Auras removing snare effects will only remove the snaring component
- Shapeshifting will properly remove movement impairing auras only and not crowd control (dragon's breath)
- Immunities are properly checked versus all schools appearing in spell, unit is immune only if immune to all schools
- Spells with melee and magic school mask should compare armor reduction with resistances and select smaller reduction
- Demonic Circle: Teleport no longer removes root effects

(cherrypicked from 93746e8c4a79c8256cd4896533315683f143508c)
2019-07-21 21:06:54 +02:00
Rushor c050c4f968 DB/Creature: Garm Watcher and Snowblind Devotee
Closes #18991

(cherrypicked from 4187c9f1846fa90f45fd05d1741117862bbe7bea)
2019-07-21 21:06:54 +02:00
Rushor e78d3c8500 DB/Creature: Ancient Sentinel
Closes #18990

(cherrypicked from 6da12318021a6a3a76fa44279bb0af876f7a4773)
2019-07-21 21:06:54 +02:00
Rushor 5d2b1f0efc DB/Creature: Stormforged Loreseeker and Stormforged
Closes #18989

(cherrypicked from 2ab0a8a83579563392072ebfd37a5e17a26a2075)
2019-07-21 21:06:54 +02:00
Rushor 327fc4c143 DB/Creature: Library Guardian and Databank
Closes #18984

(cherrypicked from 3b9d59ffe167f286435ccc4243c4555192bf6dd5)
2019-07-21 21:06:54 +02:00
Rushor fc9201dc53 DB/Creature: Valkyrion Aspirant
Closes #18983

(cherrypicked from f8604061bf33a03beaae509d5c02a818f07dd7ce)
2019-07-21 21:06:54 +02:00
Rushor 8c46688640 DB/Creature: Frostborn Scout and Frostfeather Witch/Frostfeather Screecher
Closes #18982

(cherrypicked from 91e0efc6639ae29ecf760ec5a06da3c20e9353fb)
2019-07-21 21:06:54 +02:00
Rushor 5a0709e442 DB/Creature: Stormrider and Snowdrift Jormungar
Closes #18979

(cherrypicked from 743dc973e88b9124603606f0acb6847e3688bc64)
2019-07-21 21:06:54 +02:00
Rushor 57b1bfe55a DB/Loot: Fix prospecting from titanium and saronite
Closes #12011

(cherrypicked from 03f87e400d60bf3c71dea9300e1b3ff5afd4043f)
2019-07-21 21:06:54 +02:00
Killyana 411b0c32a0 DB/Creature: Greatfather Aldrimus
Closes #7605

(cherrypicked from 9edad9fc1b1a94cc8428194b59e0b960d56f86cc)
2019-07-21 21:06:54 +02:00
Aokromes d6a6162d6e Rename 9999_99_99_99_world.sql to 2017_01_29_00_world.sql
(cherrypicked from 356f7d59293860bf197b4e040cfaad83a9ff8240)
2019-07-21 21:06:54 +02:00
Gerhood 7e83cce81f Core/Spells: implement Mad/Crazy Alchemist's potions
(cherrypicked frombab59b28faad262dc5d9873ca7c0856477ec4d66)
2019-07-21 21:06:54 +02:00
Rushor e6885d50c6 DB/Creature: Stormforged Taskmaster
Closes #18976

(cherrypicked from 6de46d30c9a6f2589543107bd33a5db5c416f1e0)
2019-07-21 21:06:54 +02:00
Rushor 4aa4aed780 DB/Creature: Iron Sentinel <Servant of Loken>
Closes #18974

(cherrypicked from d5ab68250c8e883a622f437579f428c9d29ef45c)
2019-07-21 21:06:54 +02:00
Rushor 5ee6fd6131 DB/Creature: Wild Elekks
Closes #18970

(cherrypicked from 5d626c8e550216683a8883d671b2c25ed50c1d61)
2019-07-21 21:06:54 +02:00
Rushor 5b74a25947 DB/Creature: Romping Rhino
Closes #18967

(cherrypicked from bb46b09fe8280ee5d764cf8999e7381c94dc7cb3)
2019-07-21 21:06:54 +02:00
Rushor 3f5e9ba575 DB/Creature: Stormforged Iron Giant
Closes #18965

(cherrypicked from 535b727b943b2ea104244ddfaef4c80e94742482)
2019-07-21 21:06:54 +02:00
Rushor 8b23a6a3a4 DB/Quest: The Last of Her Kind
Closes #18962

(cherrypicked from cca6bfee7b1649bd53b06d25f5658602df789ba1)
2019-07-21 21:06:54 +02:00
Rushor 5d5a296b54 DB/Creature: Son of Hodir
Closes #18961

(cherrypicked from 35675ceef112f833dc4207cad933de59a56002b4)
2019-07-21 21:06:54 +02:00
Rushor 7bbedad532 DB/Creature: Plains Mammoth
Closes #18960

(cherrypicked from cb466b7543e689151b67d41c795b321c7dbdcaf3)
2019-07-21 21:06:54 +02:00
Rushor e170e809ed DB/Creature: Brittle Revenant
Closes #18959

(cherrypicked from 6485a4afd88fd2097d8f930802e75270fc855d0d)
2019-07-21 21:06:54 +02:00
Rushor 3886c2b43b DB/Creature: Stormpeak Wyrm and Stormpeak Hatchling
Closes #18958

(cherrypicked from 57beed2f70656f8e0d8b602a56bf6077b5f34fdc)
2019-07-21 21:06:54 +02:00
Rushor 4ff4469f2b DB/Creature: Ice Steppe Bull, Ice Steppe Rhino
Closes #18953

(cherrypicked from fd1e484baa0a469cf7f26326f0fe4f55d496d561)
2019-07-21 21:06:54 +02:00
Rushor 4fc8797199 DB/Creature: Stormforged Tracker
Closes #18949

(cherrypicked from 3c4c3a26bdbf09d7c1642db4b48171e3217cc9f0)
2019-07-21 21:06:54 +02:00
Rushor 7ce7938cc0 DB/Creature: Hyldnir Overseer and Overseer Syra
Closes #18947

(cherrypicked from 3ad455f87abf8be3863028592aebe90f80284f16)
2019-07-21 21:06:54 +02:00
ariel- f95caecca1 DB/Spell: added conditions for Argent Squire/Gruntling Pennant spells
- Should only target the pet, according to sniffs

(cherrypicked from 77b59c07adf1bbbe3b0b90ce95c31889dca02555)
2019-07-21 21:06:54 +02:00
Rushor e2e7961a6f DB/Creature: Heldgarr Steelbeard
Closes #18937

(cherrypicked from f43a940b544906ddbede269e99be68bf0ec05f43)
2019-07-21 21:06:54 +02:00
Rushor 9f2c844a23 DB/Creature: Civilian Recruit
Closes #18936

(cherrypicked from 533749bfa271bdb681b3cbb2c6706ef6f7bf7da2)
2019-07-21 21:06:54 +02:00
Rushor cf8f31f739 DB/Creature: Sifreldar Runekeeper and Storm Maiden
Closes #18931

(cherrypicked from d3a860547075c0fcacbdbfbdfdc1b54281698652)
2019-07-21 21:06:54 +02:00
Rushor 222d4349e0 DB/Creature: Thrallmar Grunt
Closes #18930

(cherrypicked from e6e73543965da3ed53a5cbdba5deceb661b7ccc0)
2019-07-21 21:06:54 +02:00
Rushor 50a651b17b DB/Creature: Icetip Crawler
Closes #18929

(cherrypicked from 31d77d277367aec8e8ec7ef869b67fb1e1474997)
2019-07-21 21:06:54 +02:00
Rushor 5a999c994a DB/Creature: Jimmy the Stable Boy
Closes #18928

(cherrypicked from e2400c6d78605c721ddbeebf51c74a754c04a04d)
2019-07-21 21:06:54 +02:00
Rushor 46c78134b1 DB/Creature: Snowblind Devotee
Closes #18920

(cherrypicked from d1d2fbd3e3ce2028bd2f7be1d9403d7afe47d458)
2019-07-21 21:06:54 +02:00
Rushor 3b1b7a49de DB/Creature: Ironwool Mammoth, Part 2
Closes #18896

(cherrypicked from ffbaab818754b1e785f1632b40b2e93fa0edfb8b)
2019-07-21 21:06:54 +02:00
Rushor cb3631c41d DB/Creature: Ironwool Mammoth, Part 1
Closes #18895

(cherrypicked from 41530b5ac9a3e56f005d04fbc6d94d90c5e2afe8)
2019-07-21 21:06:54 +02:00
Rushor 12b230d52a DB/Creature: Initiate Park
Closes #18866

(cherrypicked from e55f674abc01da07b9b4d6e02864a4969e1d24f7)
2019-07-21 21:06:54 +02:00
Rushor a09f572d24 DB/Creature: Moarg Peon - Increase spawndistance and update to Randommovement
Closes #18818

(cherrypicked from 91201f11f805a7bd21291717af8008c6b5e855fe)
2019-07-21 21:06:54 +02:00
Killyana 09311a2f44 DB/Creature: Add missing spawn to Gimorak's Den
(cherrypicked from fa4347e788551e90f68b5fa0925af67ba1f86f44)
2019-07-21 21:06:54 +02:00
Rushor c753b229ae DB/Creature: Padaar
Closes #18804

(cherrypicked from 7d4ca0b6c4b99f9987228b5e548a2f80f208d2fb)
2019-07-21 21:06:54 +02:00
Rushor 6a0658abb0 DB/Creature: Dekin
Closes #18803

(cherrypicked from d16547352b1a8f5cd421271d7f928b5c62f6ad98)
2019-07-21 21:06:54 +02:00
Rushor 3dae0e0e0f DB/Creature: Netherologist Coppernickels <B.O.O.M.> - Pathing + Emote + textscript
Closes #18802

(cherrypicked from be70e5a0b14038c5127206c9792df47e76b88777)
2019-07-21 21:06:54 +02:00
Rushor f147d0bdf1 DB/Quest: Welcoming the Wolf Spirit
Closes #18793

(cherrypicked from 1e596d4ec51de62db6577ddd0ba6413e57d60c71)
2019-07-21 21:06:54 +02:00
Rushor 54e1e9ccaf DB/Creature: Nekthar - Pathing + Emote + Textscript
Closes #18795

(cherrypicked from 151a0670b44f45d3357edd1295917ed6496c93c7)
2019-07-21 21:06:54 +02:00
Rushor c958579210 DB/Creature: Consortium Overseer - Pathing + Text
Closes #18794

(cherrypicked from b50e233a19c385421dd336c96c1216263c976223)
2019-07-21 21:06:54 +02:00
Rushor f3f1cbfd75 DB/Creature: Durkot Wolfbrother - Add pathing and emote event
Closes #18792

(cherrypicked from f6b4a58d8e22e3ac5ed130a42d16a41c0dc93906)
2019-07-21 21:06:54 +02:00
Rushor 393effb807 DB/GameObject: Implement Herb Spawn Pool System for Isle of Quel'Danas
Closes #18791

(cherrypicked from e483b41835358f43b903ed2ba026361eb858a101)
2019-07-21 21:06:54 +02:00