Commit Graph

27437 Commits

Author SHA1 Message Date
xinef1
c6060dd0c5 Core/Spells: Remade trajectory target selection (#19048)
* Remade trajectory target selection
* Added possibility to apply conditions to trajectory spells
* Properly recalculate delay time if CMSG_UPDATE_PROJECTILE_POSITION is received
2017-02-05 21:10:15 -03:00
Gustavo
d06391d062 Core/Scripts Update boss Maiden of Virtue (#19058) 2017-02-05 19:45:13 -03:00
xinef1
14dfc377b4 Core/Misc: Various crash fixes (#19059)
* Replaced some FindPlayer calls with GetPlayer
Fixed some more crashes

* Correction
2017-02-05 23:42:31 +01:00
Aokromes
075f0e26cc Coding standards 2017-02-05 23:25:33 +01:00
Shauren
fbff3e5b3a Build fix 2017-02-05 23:17:29 +01:00
xinef1
59ce3d6c9b Core/Misc: Moved CharacterInfo out of world to separate class
Closes #19030
2017-02-05 23:14:19 +01:00
xinef1
3c605ba614 Core/Spells: Added SPELL_FAILED_NOTHING_TO_STEAL error (#19036)
Corrected Dispel check in sanctuary area
Added root check for SPELL_EFFECT_JUMP and SPELL_EFFECT_JUMP_DEST
2017-02-05 22:29:23 +01:00
xinef1
227d5a9288 Core/Spells: Corrected summon category SUMMON_CATEGORY_VEHICLE (#19052) 2017-02-05 22:24:23 +01:00
Gustavo
169e150628 Core/Scripts: boss The Curator (Karazhan) rework (#19040)
Closes #16099
2017-02-05 17:52:14 -03:00
xinef1
c1ca852e16 Core/Spells: Corrected execution time calculation for dst targets (#19039) 2017-02-05 21:05:00 +01:00
Killyana
f91ba9c2a8 DB/creature: Restore position for two Wrath Masters changed in a previous commit 2017-02-05 19:54:09 +01:00
Killyana
10afe65edc DB/Creature: Silithid Creeper Egg
Closes #7251
2017-02-05 19:18:28 +01:00
Keader
8731975187 Core/Scripts: Illidan Stormrage Rewrite (#18963)
Closes #5018
2017-02-05 12:45:29 -03:00
Xinef
7c7b877c3f Core/Achievements: Optimized resetting achievement criteria by condition and changed the functionality to properly reset all possible criteria with given condition
Closes #18905
2017-02-05 16:41:45 +01:00
xinef1
78a729b6a4 Corrected immunity checking after recent changes (#19049)
- Shouldn't compare immunity to spells without schoolmask
2017-02-05 12:36:42 -03:00
xinef1
e1f14215d8 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
2017-02-05 15:39:22 +01:00
Aokromes
38d0340c19 Rename 2017_02_05_16_world.sql to 2017_02_04_16_world.sql 2017-02-05 02:05:23 +01:00
Rushor
d54a06823e DB/Creature: Slosh
Closes #19043
2017-02-05 01:24:02 +01:00
Rushor
9ee8838840 DB/Creature: Stormforged Saboteur
Closes #19041
2017-02-05 01:21:14 +01:00
xinef1
93746e8c4a 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
2017-02-04 19:50:32 -03:00
xinef1
86da1a19bb 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.
2017-02-04 22:37:16 +01:00
xinef1
9e1b286984 Core/Spells: Fixed spell effect 93 (SPELL_EFFECT_FORCE_DESELECT) (#19001) 2017-02-04 20:21:12 +01:00
Rushor
f2963c1f6f DB/Quest: Saving Sharpbeak
Closes #16915
2017-02-04 19:48:58 +01:00
xinef1
0fa38d0ae0 Core/Pets: Fixed flashing pet attack button (#18906) 2017-02-04 19:38:36 +01:00
Rushor
2063ef0891 DB/Creature: Ursal the Mauler
Closes #18739
2017-02-04 18:24:42 +01:00
Rushor
4187c9f184 DB/Creature: Garm Watcher and Snowblind Devotee
Closes #18991
2017-02-04 18:08:34 +01:00
Rushor
6da1231802 DB/Creature: Ancient Sentinel
Closes #18990
2017-02-04 18:05:04 +01:00
Rushor
2ab0a8a835 DB/Creature: Stormforged Loreseeker and Stormforged
Closes #18989
2017-02-04 17:37:37 +01:00
Rushor
3b9d59ffe1 DB/Creature: Library Guardian and Databank
Closes #18984
2017-02-04 17:26:34 +01:00
Rushor
f8604061bf DB/Creature: Valkyrion Aspirant
Closes #18983
2017-02-04 17:23:33 +01:00
Rushor
91e0efc663 DB/Creature: Frostborn Scout and Frostfeather Witch/Frostfeather Screecher
Closes #18982
2017-02-04 17:19:33 +01:00
Rushor
743dc973e8 DB/Creature: Stormrider and Snowdrift Jormungar
Closes #18979
2017-02-04 16:59:04 +01:00
treeston
4f842d91e1 Revert "Core/Movement: Added support to change orientation in MovePoint function (#18893)"
This reverts commit bc95fce93f.

See #18893.
2017-02-04 16:43:32 +01:00
Rushor
03f87e400d DB/Loot: Fix prospecting from titanium and saronite
Closes #12011
2017-02-04 16:34:35 +01:00
Killyana
9edad9fc1b DB/Creature: Greatfather Aldrimus
Closes #7605
2017-02-04 16:24:19 +01:00
Keader
bc95fce93f Core/Movement: Added support to change orientation in MovePoint function (#18893) 2017-02-04 12:14:28 -03:00
Keader
ea0393d5cc DB/Spells: Fixed Glyph of Icy Veins proc
Closes #19015
by: ariel-
2017-02-04 12:07:08 -03:00
Keader
e5a39312a4 Fixed missing sql 2017-02-04 12:04:33 -03:00
Gustavo
ad8a71c084 Core/Scripts: boss Nightbane rework (Karazhan) (#18899)
Closes #10017
2017-02-04 11:56:00 -03:00
xinef1
ab6ac42bf0 Core/Loot: Only allow the roll winner to loot the item he won in case it cannot be added to inventory instantly (full or any other reason) (#19037) 2017-02-04 14:58:50 +01:00
Keader
ce774918a7 Core/Scripts: Updated Ruby Sanctum instance model 2017-02-04 10:13:22 -03:00
Keader
c58dd6c166 Core/Ruby Sanctum: Improved General Zarithrian encounter
* Fixed spell timers
* Improved Codestyle
* Fixed minions number in 25 man
* Fixed movement
* Implemented DespawnAtEvade
*
2017-02-03 22:28:20 -03:00
Shauren
c2a36c9e89 Fixed clang segmentation fault in nopch mode
(cherry picked from commit 787adc24b2)
2017-01-30 17:22:01 +01:00
ariel-
ab413a019d DB/Spell: fix interaction of mage armor spells with absorption effects
Closes #18680
2017-01-30 08:43:56 -03:00
xinef1
2ecc0c0775 Core/Pets: Fixed bug where pets tamed from large npcs had too big combat reach (#18909) 2017-01-30 11:10:22 +01:00
xinef1
f86ca9e3c9 Core/Creatures: Stop falling if corpse is removed (can happen when alive unit is despawned instantly in air) (#18995)
Do not allow to start waypoint movement when unit is dead
2017-01-30 10:57:24 +01:00
ariel-
5e46bb3e8c Core/Scripts: fix penance procs with Unchained magic
Closes #19005
2017-01-30 02:43:24 -03:00
Gildor
b209353266 Build Fix (#19004) 2017-01-29 18:15:21 +01:00
ariel-
60dd803bbe Core/Server: fix duplicated inserts into tutorials table for newly created characters 2017-01-29 14:00:19 -03:00
xinef1
8646e72f18 Core/Achievements: Mountain o' Mounts and similar achievement will be properly awarded when you have required amount of mounts, not earlier (#19002) 2017-01-29 16:10:03 +01:00