Commit Graph

20042 Commits

Author SHA1 Message Date
ariel-
7c87ef5088 Core/Globals: check localeName on loading 2017-04-23 21:36:57 -03:00
ariel-
41d8cc85f9 Core/Misc: fix typo 2017-04-23 21:36:42 -03:00
Chazy Chaz
460e2c5dc5 Core/Misc: Update locales_item and locales_item_set_names to simple system 2017-04-24 01:54:21 +02:00
Chazy Chaz
3739d8444b Core/Misc: Update locales_quest to simple system 2017-04-24 01:52:58 +02:00
Chazy Chaz
9a3b28894d Core/Misc: Update locales_broadcast_text to simple system 2017-04-24 01:50:19 +02:00
Xyventh
f0bf1fc77a [3.3.5] Core/Quest: always send the specified RewardNextQuest regardless of eventual scripts (#19498)
- Fixes certain situations in which the quest window would get stuck after completing a quest
2017-04-23 18:55:07 -03:00
tkrokli
6cc267d909 Core/Scripts: Willix the Importer - $n in aggro text
* In the existing core script, Willix the Importer in Razorfen Kraul says
"Help! Get this $n off of me!" (showing the $n part in his SAY text)
instead of naming the attacker when using his 'SAY_AGGRO1' creature_text.

* With this commit change, unit target is no longer missing for Talk,
making Willix name the attacking unit when he shouts for help.
2017-04-23 01:15:00 +02:00
ariel-
caf0b209d5 Build: Added support for boost 1.64
Build: Added 1.64 Boost version to FindBoost
(cherry-picked from commit 5233caf092)

Build: Fixed build with boost 1.64
(cherry-picked from commit a3dec5cb75)
2017-04-22 18:16:22 -03:00
ariel-
25a449a90e Core/Spell: implement pvp trinket immunity against Judgement of Justice
By Riztazz, closes #19484
2017-04-22 06:45:03 -03:00
ariel-
7ffe056366 Core/Player: don't randomly change temporary spell status
- They shouldn't be saved in db
- Prevented temporary spell removal after a save

Closes #14373
2017-04-22 06:33:05 -03:00
ariel-
88c12b45d0 Core/Spell: fix creature focus with channeled spells
- Remove one not needed ReleaseFocus, this is done at finish already
2017-04-22 04:00:49 -03:00
ariel-
c296d255e2 Revert "Core/Spell: don't set scaleAura for some special spells"
This reverts commit 1ca8434b36.

Closes #19472
2017-04-21 01:37:07 -03:00
Shauren
34b63019ae Core/Spells: Refactor setting spell info corrections to report errors about spells that no longer exist
cherry-picked from commit be1a7d36f3
2017-04-21 00:55:33 -03:00
ariel-
66ac1509ae Core/Unit: fix SPELL_AURA_MOD_DAMAGE_DONE damage calculation on non-melee schools
for Keader :P
2017-04-20 02:12:15 -03:00
Chazy Chaz
fbbe247114 Core/Misc: Sync database schema with master 2017-04-18 13:06:09 +02:00
Krudor
374ef5b557 Update boss state load logic
Reset boss state to NOT_STARTED if state loads as FAIL
2017-04-17 12:51:01 +02:00
ariel-
8b52cf902b Core/Spell: register spell mod owner properly on spell cast
- This fixes pets and totems getting mods from owner
2017-04-15 15:58:56 -03:00
ariel-
1fa641d7b6 Core/Scripts: fix dereferencing invalid iterator
Closes #19464
2017-04-15 15:00:15 -03:00
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
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-
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
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
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
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