Commit Graph

27450 Commits

Author SHA1 Message Date
Shauren
09cc6b3c33 fix typo 2017-02-08 20:39:44 +01:00
Shauren
74bb92a582 Core/Maps: Adjusted WorldObject::GetGridActivationRange() to never be less than map visibility distance for active objects to ensure equal ranges for activation/deactivation of grids
Updates #19072
2017-02-08 20:23:37 +01:00
ariel-
3a65c70657 Core/Spell: properly add SPELLMOD_COOLDOWN to spells without initial cooldown
Closes #15605
2017-02-07 17:34:42 -03:00
Kittnz
d550ba7392 Game/Scripting: Add OnPlayerRepop hook
Called when a player presses release when he died
2017-02-07 17:28:16 +01:00
Aokromes
00889ba009 Update FindOpenSSL.cmake 2017-02-07 10:46:52 +01:00
ariel-
57798b649c Core/Scripts: fix dynamic build 2017-02-06 21:32:40 -03:00
Shauren
860ff849dc Core/Auras: Prevent infinite stacking of passive auras with the same id from the same caster on the same target
Closes #18475

(cherry picked from commit 8867612058)
2017-02-06 21:12:51 -03:00
Shauren
bf2121680f Core/Misc: Added regex compatibility layer to fall back to boost::regex for really old compiler
(cherry picked from commit b6f1f8405f)
2017-02-06 21:12:27 -03:00
ariel-
4e7679d8bd Updated auth_database.sql after 9e65fead 2017-02-06 20:57:04 -03:00
Rushor
85357c75c4 Game/Mapscripts: Implement SCRIPT_COMMAND_MOVEMENT 2017-02-07 00:54:32 +01:00
ariel-
9e65fead38 Core/RBAC: sync enum with master 2017-02-06 20:47:12 -03:00
ariel-
aa7ef797d6 Core/SmartAI: Delay SMART_ACTION_FORCE_DESPAWN by at least one world tick
- Restore old despawn behavior of SmartAI despawning (without reintroducing the run time logs caused by IsSmart)
- Some SAIs relied on this to function (for example #1249)

Partial reverts commit 4fc4c81e89
2017-02-06 19:28:44 -03:00
Aokromes
d9c465ed87 DB/Misc: Fix one startup error 2017-02-06 17:19:59 +01:00
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