Aokromes
ab4db663ae
Update SmartScriptMgr.h
2017-03-11 15:39:21 +01:00
xinef1
8c80e2b6b7
Core/Spells: Fixed some enchantments checks and fixed serious logic flaw in create item effect check ( #19123 )
2017-03-11 13:28:34 +01:00
ariel-
8089f1816c
Core/Creature: restore previous behavior of random gender on respawn
...
Little regression added with 253c0f3d07
2017-03-08 12:19:26 -03:00
ariel-
9d639c55b1
Core/Auras: tidy up one little hack
2017-03-08 11:55:09 -03:00
ariel-
7cb6915e2b
Core/Creature: Load template immunities into m_spellImmune container.
...
- Fixes sending SMSG_SPELL_START data
Closes #19212
2017-03-08 11:55:09 -03:00
ariel-
253c0f3d07
Core/Creature: remove some redundant code
...
- Display Ids are already initialized in InitEntry, no need to duplicate logic
- ModelInfo is already checked too
2017-03-08 11:55:09 -03:00
Keader
bf5661e2fd
Core/Scripts: Fixed Ingvar evade issue
2017-03-08 09:43:10 -03:00
ariel-
8e865a60c8
Core/Auras: implement correct model for Bear Form (used by npcs)
...
Closes #7337
2017-03-07 20:20:19 -03:00
ariel-
c3a2bd32cf
Core/Creature: don't override display id if addon tables load a morph aura
...
Ref #7337
2017-03-07 20:15:30 -03:00
ariel-
804257b99a
Core/Scripts: converted Argent Tournament pennants to AI
...
Closes #14616
2017-03-07 13:33:19 -03:00
ariel-
c7a5aa3902
Core/Auras: Implement Roc form shapeshift
...
Closes #16164
2017-03-07 12:36:15 -03:00
ariel-
6ba0d489ad
Core/Auras: make transform auras honor creature_template trigger flag and choose always invisible models
...
Closes #19211
2017-03-07 01:23:35 -03:00
Shauren
a1b622e9cc
Core/Unit: reduce differences between branches
...
Very partial cherry pick of:
Core/Units: Updated melee/spell hit chance calculation
(cherry picked from commit 61c7161a10 )
2017-03-06 21:37:46 -03:00
ariel-
b2fc4c65ed
Core/Creatures: disabled "automatic" monster sparring
...
- Faction template flags weren't correct.
Closes #19245
2017-03-06 19:11:03 -03:00
ariel-
9c62acdf42
Core/Scripts: fix Glyph of Siphon Life
...
by Keader
2017-03-05 13:24:33 -03:00
xinef1
071ba2c924
Corrected doors and buttons without autoclose time after recent changes ( #19249 )
2017-03-05 17:14:29 +01:00
ariel-
05d99c5f58
Core/SmartAI: Allow scripting GameObjects by spawn id too
2017-03-05 04:30:01 -03:00
ariel-
15a207fcac
Core/Creature: redo some logical checks in _IsTargetAcceptable
...
- Check against current creature victim, don't check potential victim attacking list.
- Neutral creatures with aggressive reactstate were triggered to attack from MoveInLineOfSight because of this check
- Prevents attack from a distance after right clicking an npc
Closes #19235
2017-03-04 04:18:55 -03:00
ariel-
ebba8dcba8
Core/Spells: fix some db errors
2017-03-03 21:36:56 -03:00
ariel-
32c5d4f53f
Core/Scripts: implement Hammer of the Righteous stacking Seal of Vengeance/Corruption
...
- Patch 3.2.0 Notes: Only auto-attacks and Hammer of the Righteous can place the debuff on the paladin's current target(s).
Closes #19239
2017-03-03 20:09:23 -03:00
ariel-
2a6fe27cad
Core/Game: fix dynamic linking
2017-03-02 22:26:12 -03:00
ariel-
f612b1cb48
Core/Misc: remove unneeded semicolon
2017-03-02 01:22:55 -03:00
ariel-
4596c17dae
Core/Achievements: port realm first achievement handling from master
...
veeeery partial cherry-pick of c75fcbe20b
2017-03-02 01:07:05 -03:00
ariel-
7072bf8c02
Core/Spell: disable proc for magnet auras, they're handled differently
...
Closes #19208
2017-03-02 00:18:00 -03:00
ariel-
b902f0c1b0
Core/Game: fix non-pch include
2017-03-01 22:27:52 -03:00
xinef1
3fe03392d7
Make ObjectMgrs _mailId and _hiPetNumber atomic ( #19129 )
...
- They can be accessed from multiple threads simultaneously
2017-03-01 22:23:18 -03:00
ariel-
affee140c6
Core/Database: Prepared statement parameter preallocation ( #18999 )
...
- Pass prepared statement size to the helper class to prevent runtime resizing.
- Rename CheckValidIndex -> AssertValidIndex
- Cached prepared size on the worker pool as it's shared among all connections
- Cached query data only for each connection, done lookup in map instead of possibly creating a new element
- Kill the prepared statement map, and store raw sql string on the MySQLPreparedStatement class
(This info is only used for logging, and there is no need of keeping a second container just for it)
2017-03-01 22:20:53 -03:00
xinef1
7567cafec8
Ensure that all actions are compared to fixed point in time (ie. world update start) ( #18910 )
...
- Actions will not be dependent on processing moment
- Increased GameObjects cooldown resolution to milliseconds, fixes arming time of traps to be exactly one second and not something from range (1000, 1999)
- Created GameTime namespace and UpdateTime class and moved there some code out of world
2017-03-01 22:19:25 -03:00
xinef1
7011aabb56
Core/GameObject: regenerate GO loot if respawn time passed since last loot generation time and not all items were taken ( #19101 )
2017-03-01 20:19:28 -03:00
xinef1
ce1108b8a2
Corrected calculation for SPELL_AURA_PERIODIC_DAMAGE_PERCENT ( #19060 )
2017-03-01 20:12:57 -03:00
xinef1
fb2aebe46b
Core/Misc: Always reward all necessary reputations on creature kill ( #19106 )
2017-03-01 20:10:15 -03:00
xinef1
9b284ab329
Remove auras interrupted by falling when we fall to the ground or water ( #19115 )
2017-03-01 20:08:12 -03:00
ariel-
12c680f9b1
Core/Scripts: Change null-check to assert
...
- ToPlayer() should never be null in this context
2017-03-01 19:35:39 -03:00
Keader
ecfb346d1a
Core/Scripts: Fixed crash in Sindragosa
...
Closes #19227
2017-03-01 18:58:47 -03:00
ariel-
bb553743af
Core/Misc: always output client cache version on loading
2017-03-01 12:47:43 -03:00
ariel-
ff43a74822
Core/Entities: spawned movementtype should override template movementtype
...
Core/SmartAI: pass the CreatureData pointer (if any) on updating template
Closes #19223
2017-02-28 16:39:59 -03:00
ariel-
2e68736afc
Core/Movement: Corrected all speed checks after 23b6991273
...
Ref issue #19210
2017-02-28 15:18:09 -03:00
ariel-
f302b3d68d
Core/Scripts: implement Moss Covered Feet
...
Closes #19022
2017-02-28 14:09:25 -03:00
Naios
01168775ca
Revert "Build: Create static libraries for each static script project."
...
This reverts commit bb46bfb864 .
* Closes #19224
2017-02-28 15:16:32 +01:00
Naios
bb46bfb864
Build: Create static libraries for each static script project.
...
* Add some more comments and cleanup the build script.
* Closes #18671
2017-02-27 22:52:48 +01:00
ariel-
7de5befbc3
Core/Auras: fix more unused parameter warnings
2017-02-27 14:38:00 -03:00
ariel-
9047d8bd6f
Core/Auras: fix comparison of integers of different signs warning
2017-02-27 14:34:23 -03:00
ariel-
40489b8d57
Core/Auras: fix unused parameter warning
2017-02-27 14:31:28 -03:00
ariel-
c69a7d1223
Core/Auras: reworked multiplicative AuraEffects calculation
...
- Splitted containers for flat modifiers and pct modifiers, as they now have different handling
- Amount is now multiplied only on apply; on unapply, iterate through auras and reset the counter
- Fixes many cases of rounding error due to applying/unapplying of small factors
- Allows amounts to be zeroed (ie with an AuraEffect of amount -100)
- Do a partial revert of 6dc37a9add , auras should update amounts only for items allowed (ie no more giving crit to a sword while having an axe in the other hand and being Poleaxe spec'd)
- SPELL_AURA_MOD_SCALE now scales additively, rather than multiplicatively (checked in sniffs)
Closes #18687
2017-02-27 14:24:20 -03:00
jackpoz
8f2bcd79da
Core/Misc: Fix static analysis issues
2017-02-25 17:07:22 +01:00
jackpoz
6940071994
Core/Misc: Fix static analysis issues
2017-02-25 15:54:11 +01:00
jackpoz
b375bab225
Core/Misc: Fix static analysis issues
2017-02-25 13:33:51 +01:00
ariel-
ace2a75197
Core/Scripts: kill a warning
2017-02-25 05:17:33 -03:00
ariel-
01f5befcec
Core/Scripts: Thrusting Hodir's Spear
...
- Everything is sniffed, enjoy this hell of a quest!
Closes #12808
2017-02-25 04:46:02 -03:00
Gustavo
4224259d83
Core/Unit: Correct speed calculus when affected by SPELL_AURA_MOD_MINIMUM_SPEED ( #18136 )
2017-02-24 12:20:20 +01:00