Commit Graph

27699 Commits

Author SHA1 Message Date
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
ariel-
006e90339e Revert "Core/Battlegrounds: disable health regen for battleground vehicles (#19183)"
This reverts commit 85af0a0630.
2017-03-31 02:18:46 -03:00
ariel-
dafa726773 Core/Scripts: Fix a logic fail that overriden the script of an entity that changed entry
Closes #19389
2017-03-31 01:58:15 -03:00
Killyana
8c3b6d5716 DB: Fix some SAI
Ref #18542
2017-03-30 23:38:39 +02:00
MrSmite
05020ff42e DB/Quests: (More) Components of Importance
Fix class restrictions for Dungeon Set 2 armor quests

- Components of Importance (8962,8963,8964,8965)
- More Components of Importance (8985,8986,8987,8988)

Updates issue #19375
2017-03-30 18:44:02 +02:00
Killyana
ae624c7d81 DB/SAI: Restore some deleted SAI scripts
Closes #19381
By @Vyrsenth
2017-03-30 04:41:02 +02:00
tkrokli
e0a99d689a Add missing event_flags in SAI scripts (DBErrors)
DBErrors.log: Missing Repeat flag. (385 lines)
Error message reported by SmartAIMgr::LoadSmartAIFromDB
2017-03-30 00:40:27 +02:00
Aokromes
d0a1a5de0b Rename 2017_04_27_01_world.sql to 2017_03_27_01_world.sql 2017-03-29 19:48:20 +02:00
Gustavo
85af0a0630 Core/Battlegrounds: disable health regen for battleground vehicles (#19183)
Updates issue #950
2017-03-29 11:28:06 +02:00
tkrokli
f6f36be004 Scripts: minimize duplicated enum names in header files (#19377)
* Scripts: Minimize duplicated enum names in header files

This reduces the number of cache resets with the Zapcc compiler

- Standard followed is instance/raid TLA + DataTypes/CreaturesIds/etc
- Partial cherry-pick of master commit 7eb4512eee
- Removed unused defines in sunken_temple.h (the core scripts using these have been moved to SAI)
2017-03-29 10:06:06 +02:00
ariel-
83162fafa4 Core/AI: Build fix
- Stop exposing DoublePosition constructor versions, they're only used for internal representation
- Moved IsInBounds function to public scope
2017-03-28 02:41:50 -03:00
ariel-
2f99fa09c9 Core/AI: AreaBoundary refactor
- Added an auxiliary function IsInBounds to base CreatureAI
- Changed container to vector. Set had no sense because we're storing new pointers, they have different addresses even if the boundary is the same
2017-03-28 01:52:49 -03:00
Killyana
97e54fe458 DB: Fix Some DB errors
Ref #18542
2017-03-27 21:18:33 +02:00
ariel-
66a70088f4 Core/Creature: added CREATURE_FLAG_EXTRA_GHOST_VISIBILITY to allowed db flags_extra mask
- Cleaned up the mask to be a much nicer enum definition
2017-03-27 03:24:37 -03:00
ariel-
c8bf1ab5f7 Core/Global: reserve storage for script names vector 2017-03-27 02:59:26 -03:00
Aokromes
05cbe86455 Rename 2017_99_99_99_world_335.sql to 2017_03_27_00_world_335.sql 2017-03-27 06:48:21 +02:00
xinef1
e72b380b93 Added new creature extra flag which makes npc visible only to dead units
closes #19333

* Rename 9999_99_99_99_world.sql to 2017_99_99_99_world_335.sql

- file affects creature removed in patch 4.0.3a

* Update Creature.cpp
2017-03-27 06:41:53 +02:00
Aokromes
5bc4b5d6f4 Update characters_database.sql 2017-03-27 02:12:11 +02:00
ariel-
8e1e081d6c Core/Scripts: implemented enchant Blade Warding 2017-03-26 14:19:20 -03:00
ariel-
00b547146d Core/Gameobject: remove virtual from GetScriptId, it's not overriden 2017-03-26 13:40:32 -03:00
tkrokli
6e08051825 Game/AI: SMART_ACTION_JUMP_TO_POS should resume path when reached jump location (#19029)
SmartAI NPCs using SMART_ACTION_JUMP_TO_POS
should resume their path when they have reached the jump location.

The changes in this PR makes the action work as intended.

Closes #18760
2017-03-26 18:09:46 +02:00
Aokromes
596320ba15 Typo fix 2017-03-26 14:14:20 +02:00
Aokromes
0999ef0b77 Core/Scripts: Add support for spawn specific C++ scripts
By Krudor
2017-03-26 13:32:28 +02:00
Aokromes
de4043097e DB/Quest: Challenge Overlord Mok'Morokk
By Fearless18, closes #5208
2017-03-26 01:37:49 +01:00
Aokromes
ff816f404d DB/Item: Improved Land Mines
By Rushor, closes #10205
2017-03-26 01:26:35 +01:00
Aokromes
41a7089026 Core/SmartAI: Missing parts on previous commit
By Malcrom
2017-03-26 01:04:35 +01:00
Aokromes
5b38194247 DB/Creature: Fix Verifonix faction and reputation
By offl, Closes #19323
2017-03-26 00:16:37 +01:00
Aokromes
e4492dd0bd DB/Creature: Fix Guardian of Icecrown creature_text typo
By TecDian
Closes #19226
2017-03-26 00:10:03 +01:00
ariel-
01aaafb083 Core/Auras: fix a deleted memory access crash
Closes #19319
2017-03-25 16:26:44 -03:00
Aokromes
9d6902331b Rename 2017_03_25_00_world.sql to 2017_03_25_01_world.sql 2017-03-25 13:34:11 +01:00
ccrs
2b5c765bcd Fix warning
field '_top' will be initialized after field '_owner'
2017-03-25 13:21:01 +01:00