Commit Graph

27729 Commits

Author SHA1 Message Date
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
ariel-
1ca8434b36 Core/Spell: don't set scaleAura for some special spells
Closes #14541
2017-04-03 04:04:02 -03:00
ariel-
e594c2d096 Core/AHBot: fix a typo 2017-04-03 03:53:50 -03:00
ariel-
7f8bfe68d0 Core/AHBot: Refactor of AuctionHouseBotSeller:
- Use AuctionHouseBot.Class.* for what they really are, priorities, factor them when calculating item amount per class, changed enums to CONFIG_AHBOT_CLASS_*_PRIORITY to reflect this change
- Don't factor in the priority calc empty item lists:
  * Let's say you had AuctionHouseBot.Class.Glyph set to 10, sum of AuctionHouseBot.Class.* is 20, and AuctionHouseBot.Items.Amount.White is 5000
  * If there were no glyphs on the item list, you automatically lost 50% of the total item amount, meaning only 2500 of original 5000 were alloted to fill
- Fixed AuctionHouseBot.AH.Price.Ratio to be an actual percentage factor

- Separated containers in SellerConfiguration, each one better reflects what kind of data is stored there, now we won't use magic index 0 from _ItemInfo :P
- General cleanup, removal of bad voodoo and magical numbers
- Use unordered_sets for loading item lists, as they were only used to check for item presence
2017-04-03 03:29:29 -03:00
ariel-
0c698b4567 DB/Schema: add unsigned to some guid fields in characters 2017-04-03 01:05:36 -03:00
ariel-
008ddbf197 Core/Scripts: fix Judgement of Wisdom mana return
Closes #19400
2017-04-03 00:51:56 -03:00
Keader
270a639678 Core/Scripts: Fixing Carbonion/Travis 2017-04-02 11:14:24 -03:00
Keader
6b8c4fb74f Core/Scripts: Fixed Baltharus the Warborn clones
*Clones not working after wipe
*Changed Clone Action for a event (to check casting)
2017-04-02 11:08:29 -03:00
Dr-J
650a2d3d50 DB/Misc: Fix error in my last commit 2017-04-02 11:45:47 +01:00
Keader
a2a8ffe723 Core/Scripts: Typo in last commit 2017-04-01 21:18:15 -03:00
Keader
8d198cb360 Core/Scripts: Fixed Volatile Ooze/Gas Cloud issues in Professor Putricide
Closes #18925
2017-04-01 21:16:55 -03:00
Killyana
1af895dc97 DB/Quests: add condition for Bodley's gossip option
Bodley's gossip menu option 57006 id 2 "I've misplaced the Brazier of Beckoning!"
should be shown only if quest 8996 (Return to Bodley) is not rewarded.

Ref. issue #19375
2017-04-02 01:05:54 +02:00
Dr-J
7bfc62639a DB/SAI: Underbog
*  Rescript underbog  lord has regrowth is not linked to hp as was previously scripted infact you don't even have to damage npc for it to use this abilitie and it should stack 10 times increasing damage by 150% not only cast once hp is below 50%, also cast knock-away on range instead of ic so it only uses this abilitie If there is a target in range rather than ic even if there is no target in range
* Naturalist bite - make gossip and option available in heroic mode too not only normal mode
2017-04-01 16:54:49 +01:00
Keader
43c19f17ab DB/LinkedRespawn: Fixed evade issue in Ruby Sanctum mini-bosses 2017-04-01 12:31:10 -03:00
ariel-
7588be0ac5 DB/Spell: fix Darkmoon Card: Berserker from proccing off everything 2017-04-01 02:55:41 -03:00
ariel-
5ec6407721 DB/Spell: Fix Living seed proc from non-damaging spells 2017-04-01 02:37:14 -03:00
Killyana
b7329a460e DB/SAI: Fix wrong gossip option ID used by Bodley
Ref #19375
2017-04-01 03:19:57 +02:00
MrSmite
751b554ce6 DB/Quests: The Left/Right Piece of Lord Valthalak's Amulet
Fix class restrictions for Dungeon Set 2 armor quests

- The Left Piece of Lord Valthalak's Amulet  (8966,8967,8968,8969)
- The Right Piece of Lord Valthalak's Amulet (8989,8990,8991,8992)

Closes #19375
2017-03-31 23:56:14 +02:00
S.V
f3d795d8dd Core/ScriptReloadMgr: Fixed scripts hot swapping on OS X (#19365) 2017-03-31 23:10:18 +02:00
ariel-
b9d456fad1 DB/Creature: fix regenerating health for vehicles in Wintergrasp and BGs
Closes #950
2017-03-31 02:41:42 -03:00