Commit Graph

27590 Commits

Author SHA1 Message Date
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
Killyana
fb58e3f1b5 DB/Creature: Add some missing spawns 2017-03-06 17:07:31 +01:00
Killyana
bdb9767032 DB/Creature: Duc Ravarage
By Malcrom
2017-03-06 12:12:59 +01:00
Killyana
6f84bde8b4 DB/Quest: The Battle Must Go On
Fix a case that bugs the npc trigger
Thank to xinef1 for the help
2017-03-05 19:45:07 +01: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
tkrokli
61b8c90eb8 SQL file adjustments
- remove redundant .sql in file name
- add comment as spacing from previous file
2017-03-05 03:20:55 +01:00
Kittnz
0108acfea1 DB/Creature: Update Z position of Grinkle <Fishing Promoter> in Orgrimmar 2017-03-04 23:01:14 +01:00
ariel-
ad6ecbf09b DB/Conditions: fix Sablemane's Sleeping Powder exploit 2017-03-04 12:22:21 -03:00
joschiwald
431a57fbec Update README.md
(cherry picked from commit 61829e269e)
2017-03-04 16:01:44 +01:00
Killyana
f22fd77c58 DB/SAI: Fix some DB errors
Ref #18542
2017-03-04 13:21:47 +01: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-
25cbf0a8a6 DB/Spell: fix stack rules for some groups
- Haste % (Improved Moonkin Aura, Swift Retribution)
- Damage % (Arcane Empowerment, Sanctified Retribution, Ferocious Inspiration)
- Healing % (Tree of Life, Improved Devotion Aura)

Closes #16331
Closes #17175
2017-03-03 23:50:14 -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
Killyana
63236f97af DB/Creature: Fix a type on creature text related to Lord Thorval
Ref 80a0c3cfc7
2017-03-03 14:54:11 +01: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-
e08e36ab8f DB/Misc: populated version table with missing data from TDB file
Closes #18274
2017-03-01 12:41:16 -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
3da60f8400 Dep: Use the anonymous namespace free definition of boost::none.
* Fixes MSVC linking errors after the recent changes:

    "class boost::none_t const & const boost::`anonymous namespace'
    ::none" (?none@?A0x518851d0@boost@@3AEBVnone_t@2@EB)
    already defined in scripts_commands.lib...

* Sets the required version of boost on windows to 1.59
  according to the wiki.
2017-02-27 22:52:48 +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
Naios
22fede3774 Dep: Update efsw to version 1.0.0 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