Gacko
e90757f763
Fix non-PCH build.
...
Even on 3.3.5. What's PCH for?
2017-04-15 12:43:19 +02:00
ariel-
2a04599ed8
Core/Unit: implement miss chance reduction for low level mobs
...
Source: http://wow.gamepedia.com/index.php?title=Miss&oldid=1980141
> Level is not a factor except when attacking a mob level 9 or lower.
Miss chance against a low-level mob is a percentage of normal equal to the mob’s level divided by 10.
2017-04-14 23:38:54 -03:00
ariel-
9414f50f5c
Core/Auras: don't skip stack rule check whenever spells have same ID
...
- The auras might not have the same amounts due to spellmods
Closes #1626
2017-04-14 19:07:11 -03:00
Shauren
4a40b8ed43
Core/Spells: Name a spell attribute
...
(cherry picked from commit e88a5e4d6d )
2017-04-14 16:53:59 -03:00
ariel-
d44a44abac
Core/Spell: fix broken Unit::GetHighestExclusiveSameEffectSpellGroupValue
...
- Affects 3 aura effects currently, should be rewritten with GetTotalAuraModifier maybe?
2017-04-14 16:52:28 -03:00
ariel-
841bbd47d7
Core/Entities: fix integer undeflow when calculating skill value difference
...
Closes #19455
2017-04-14 16:46:24 -03:00
ariel-
abaa9d635a
Core/Spell: fix nopch build x2
2017-04-14 04:45:12 -03:00
ariel-
f0a93140e8
Core/Spell: fix nopch build
2017-04-14 04:36:12 -03:00
ariel-
9a05157003
Core/Spell: build fix
2017-04-14 04:26:27 -03:00
ariel-
9900899dd9
Core/Spell: fixed SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT to actually check effects
...
- This commit enables stack rule 3 to be properly used to fix auras that should be active but only one providing effects, even if the spell has multiple auras
Closes #19454
2017-04-14 03:47:23 -03:00
tkrokli
912351febd
Rename last 2 SQL files with correct date
2017-04-13 23:22:58 +02:00
Killyana
10d7ae488e
DB: Fix some DB errors
2017-04-13 19:43:21 +02:00
Killyana
5563b14d7a
DB/Creature: Add some Winterfin Tadpole missing spawns
2017-04-13 19:25:55 +02:00
Killyana
cda5542bd1
DB/SAI: Fix Some Smart Scripts
2017-04-13 16:40:48 +02:00
ariel-
232e631390
Core/Spell: check aura positivity per effect on spell hit
...
- Fixes applying DR to positive effects, and changing duration of whole aura
Closes #19447
2017-04-13 03:18:20 -03:00
ariel-
d914c55c05
Core/Player: fix use after free crash
2017-04-12 13:31:11 -03:00
ariel-
83177e771a
Core/Spell: fix SPELL_ATTR3_IGNORE_HIT_RESULT bypassing reflects
...
Closes #19440
2017-04-12 02:53:25 -03:00
ariel-
947a1f7be3
DB/Spell: Egg of mortal essence should proc with HoTs
...
Closes #19441
2017-04-12 02:43:19 -03:00
ariel-
4c593f12ca
Core/Instance: stop updating the instance resettimes based on creature respawns
...
- Rather update normal instance reset time to 2 hours after last creature kill
- This fixes yet another integer overflow due to the possibility of having time_t max showing up
- Also change respawntime and resettime fields to bigint on respawn/instance related tables
- Start using prepared statements on the InstanceSaveMgr
2017-04-12 02:19:55 -03:00
ariel-
e32a4f26aa
Core/Misc: pch fixes pt 2
2017-04-11 23:30:47 -03:00
ariel-
66755eecf1
Core/Creature: fix integer overflow in Creature::Update leading to endless thrashing of characters database
...
Closes #19182
2017-04-11 23:23:52 -03:00
ariel-
5e0485178d
Core/Misc: fix non-pch build
2017-04-11 23:23:02 -03:00
xinef1
9dc3de10f0
Core/Loot: implement Loot Item Storage ( #19018 )
...
* Created Item Loot Storage, no more synchronous DB selects
* Fixed buyback case, where stored loot was not removed from db
* Added Primary key, and changed field types to be unsigned for table item_loot_money
2017-04-11 22:22:50 -03:00
Shauren
1787718e25
Core/Random: Remove no longer needed hack for VS 2013
...
(cherry picked from commit 59fe908744 )
2017-04-11 14:31:03 -03:00
ccrs
4d7e7a97b3
Core/Movement: correct no point recalculation on speed change in TargetedMovementGenerator
2017-04-11 15:03:34 +02:00
Killyana
bd3cf8f7cd
DB/SAI: Fix Some Smart Scripts
2017-04-11 12:31:33 +02:00
Kittnz
21b2042840
DB/Map: Add missing npcs and gameobjects on the old Champion's Hall & Hall of Legends instances.
...
Notes: this areas is not accessible for normal players.
2017-04-10 20:54:16 +02:00
ariel-
0b50ea072e
Core/Unit: fix crash on magic school autoattacks
...
Closes #19436
2017-04-10 12:17:08 -03:00
ariel-
e565b34f6d
Core/Unit: cleanup and minor fixes of miss and resist calculations
...
- Removed Unit::GetUnitMeleeSkill as it was basically a copy of GetMaxSkillValueForLevel
- Removed static from GetEffectiveResistChance, as this was passed anyways, changed name to CalculateAverageResistReduction, which better reflects what it does
- Fix melee miss chances calculated from attacker maxskill instead of victim maxskill
- Do actual checks if spell can be resisted/missed in MagicSpellHitResult (ie chances > 0)
- Fixed SPELLMOD_RESIST_MISS_CHANCE calculation in MeleeSpellMissChance
- Minor codestyle and cleanup of diminishing returns calcs
2017-04-10 04:50:09 -03:00
ariel-
e478434146
Core/Misc: fix static analysis issues
...
CID 1373466
CID 1373481
CID 1373482
2017-04-09 19:18:22 -03:00
ariel-
214b8e53c5
Core/Quest: fix RewardNextQuest being used to condition previous quests in chain
2017-04-09 18:43:35 -03:00
Killyana
6c3eaff81d
DB/Creature: Add missing Spirit Healer on Eastern Plaguelands
...
For 3.3.5 only
2017-04-09 16:51:20 +02:00
Killyana
33ce20b021
DB/Gossip: Add broadcast gossip text for Argent Gruntling/Argent Squire
...
Closes #19402
2017-04-09 16:26:18 +02:00
Killyana
ca31769aa2
DB/Creature: Fix Stonescythe Whelps faction
...
by offl
Closes #19428
2017-04-09 16:06:24 +02:00
Killyana
f7bb1d899d
DB/Script: Fix Captain Dranarus sound range
...
By offl
Closes #19427
2017-04-09 15:37:48 +02:00
Keader
2921449a33
Core/Scripts: Baltharus the Warborn preincrement _cloneCount
2017-04-09 09:25:58 -03:00
ccrs
46221b6dc1
Core/Movement: FormationMovementGenerator
...
Use own movement generator for creatures following on a formation.
First step of implementation, huge room for improvement.
Closes #19422
2017-04-09 14:13:29 +02:00
Aokromes
f852667332
Rename 2016_11_27_03_world .sql to 2016_11_27_03_world.sql
...
closes #19424
2017-04-08 21:47:38 +02:00
ariel-
70c4a37544
Core/Achievement: fix bad lookup of ACHIEVEMENT_CRITERIA_DATA_TYPE_S_EQUIPPED_ITEM item
...
Closes #19064
2017-04-08 16:21:16 -03:00
jackpoz
3c4c67160a
Core/Misc: Fix static analysis issues
2017-04-08 20:59:48 +02:00
Keader
164af391c9
Core/Spells: Fixed Chilled to the Bone
...
Closes #19417
thanks ariel-
2017-04-07 17:41:43 -03:00
ccrs
21b8c4997a
[3.3.5] Core/Movement: MotionMaster & MovementGenerators cleaning ( #19361 )
2017-04-07 21:35:23 +02:00
ariel-
5cb1555de6
Core/Player: fix weapon dependent aura talents not applied on talent learn
...
Closes #19408
2017-04-06 20:38:27 -03:00
ariel-
ab5920fc1c
Core/GameObject: fix unitialized member on GameObjectData
2017-04-04 17:24:34 -03:00
ariel-
8cc140d17b
Core/Creature: fix uninitialized member on CreatureData
...
Closes #19405
2017-04-04 16:43:18 -03:00
ariel-
ae9995f463
Core/Auction: wrap item deletions from AHBot auction on a transaction
...
This speeds up the query execution time tremendously
Refs #19182
2017-04-03 22:44:14 -03:00
Keader
58f2e62098
Core/Scripts: Baltharus the Warborn make clone count more readable
...
*Also fixed issue that make Baltharus summons alot of clones when he is casting
2017-04-03 10:02:13 -03:00
ariel-
4a654be2fb
Core/AHBot: fix price calc
...
- priceRatio is already a factor
2017-04-03 05:42:12 -03:00
ariel-
c36854677c
Core/AHBot: fixed assert check
2017-04-03 04:46:39 -03:00
ariel-
76a7e1e33a
DB/Spells: remove some wrong spells from trainer tables
...
Refs #19394
2017-04-03 04:18:42 -03:00