Commit Graph

19222 Commits

Author SHA1 Message Date
ariel-
bc4b4f656c Core/Scripts: Implement Flag of Ownership. Closes #12265
Core/Spells: Implemented TARGET_CORPSE_SRC_AREA_ENEMY. Closes #12803
2016-09-04 07:09:04 -03:00
ariel-
be9ef83340 Core/Scripts: more 746b838870 follow-up, shouldn't trigger marker aura if proc was prevented 2016-09-04 05:26:57 -03:00
ariel-
7cc91dc45b Core/Scripts: add missing check removed in 746b838870 2016-09-04 04:56:05 -03:00
ariel-
746b838870 Core/Spells / Scripts: Fix Lock and Load. Closes #16731 2016-09-04 04:21:04 -03:00
ariel-
31399d5f34 Core/Scripts: Implement Glyph of Backstab. Closes #7500 2016-09-04 01:31:02 -03:00
ariel-
7470bf6b97 Core/Transport: do not relocate players on board of vehicles when near teleporting. Vehicle should take care of that 2016-09-03 22:00:20 -03:00
ariel-
14445d2202 Core/Misc: calculate rotation fields from orientation in some places it's impossible to get:
- SmartScripts: SMART_ACTION_SUMMON_GO
- Spell Effects:
  * SPELL_EFFECT_DUEL
  * SPELL_EFFECT_SUMMON_OBJECT_WILD
  * SPELL_EFFECT_SUMMON_OBJECT_SLOT1
  * SPELL_EFFECT_SUMMON_OBJECT_SLOT2
  * SPELL_EFFECT_SUMMON_OBJECT_SLOT3
  * SPELL_EFFECT_SUMMON_OBJECT_SLOT4
- Command Scripts: .gobject add

Closes #17891
2016-09-03 17:31:29 -03:00
joschiwald
7026c7ed7a Core/RBAC: Added rbac permissions from 6.x branch 2016-09-03 18:18:00 +02:00
treeston
ed83a35fbe Drycoding is bad, mmkay? 2016-09-03 17:29:50 +02:00
treeston
ac62d7156f Scripts/Events: Globally fix all ExecuteEvent loops to check UNIT_STATE_CASTING after each iteration, instead of just checking it once initially.
Fixes and closes #17892.
2016-09-03 17:21:22 +02:00
treeston
a4623efaa6 Core/SmartScripts: Add missing break, 5f43e7b follow-up. 2016-09-02 23:51:46 +02:00
treeston
e9eacae7b2 Merge branch '3.3.5-goshdangitsmartai' into 3.3.5 (PR #17738) 2016-09-02 23:14:50 +02:00
treeston
96f90381e3 Scripts/SmartScripts: Fix charmed behavior for SmartAI. For real this time.
- Core AI logic will no longer issue attack/movement commands while under player control.
- Add new SMART_EVENT_FLAG_WHILE_CHARMED (0x200). Any event without this flag won't run while charmed.
- Add SMART_EVENT_FLAG_WHILE_CHARMED to existing actions, except a select subset (movement, talking, and nontriggered casts, pretty much).
2016-09-02 23:11:13 +02:00
ariel-
be8d113699 Another build fix.
(it was probably better to just revert the commit instead)
2016-09-02 04:03:27 -03:00
ariel-
7e8a08c351 Note to self: drycoding is bad 2016-09-02 04:00:52 -03:00
ariel-
4829cca9fb Core/Spell: no need to bloat existing parameter lists. (f81754a306 follow up) 2016-09-02 03:59:14 -03:00
ariel-
65d0a9478d Core/Spell: Workaround cobra strikes into a charged aura instead of stacked.
Fixes #754
2016-09-01 01:36:29 -03:00
ariel-
f81754a306 Core/Spells: register SPELLMOD_CRITICAL_CHANCE in casting spell modifiers. 2016-09-01 01:34:17 -03:00
ariel-
3aa145cbe1 Core/Spells: Remove spellmods from SpellMod owner instead of caster (needed so pet casts properly remove aura charges) 2016-09-01 01:14:02 -03:00
ariel-
11f6801a5c Core/Spells: fix Bullheaded immunities
Closes #421
2016-08-31 23:12:57 -03:00
ariel-
81ec57b94f Core/Spells: Move Missile Barrage, Hot Streak and Brain Freeze mage talents to proc system. Also implement T8 4P Bonus.
Closes #1536
2016-08-31 22:43:19 -03:00
treeston
9f15482b84 Core/Position: Allow implicit casting to G3D::Vector. Also, add a utility overload to MotionMaster. 2016-08-31 21:41:23 +02:00
treeston
c0de28b045 Replace a leftover const char* with a std::string const&. 2016-08-31 01:02:54 +02:00
treeston
d55426f5b4 Entities/Gossip: The Big One™ that gets rid of all uses of The Bad™ and The Ugly™, e.g. gossip preprocessor macros, and replaces them with the new-and-shiny gossip functions. 2016-08-31 00:59:04 +02:00
treeston
54f923fdee Fix dynamic build. 2016-08-31 00:11:57 +02:00
tkrokli
068656af06 Core/Scripts: remove forgotten #define in boss_kalecgos.cpp
This #define was originally supposed to be removed in my PR #17832,
but for some reason it remained undeleted. This commit corrects it.

Also aligned all the enum values to the same column for readability,
based on a common multiple of 4 spaces.
2016-08-30 23:34:28 +02:00
Naios
da3c03a48b Core/Define: Remove the conditional macro for constexpr.
* Not needed anymore since the requirements were raised to MSVC 2015.
2016-08-29 22:03:48 +02:00
Naios
13e5817417 Core/Common: Correct the linking of localeNames 2016-08-29 22:03:48 +02:00
Naios
0c97ef5f74 Core/Unit: Force cancel unit events before invalidating the object on destruction
* Closes #16675
2016-08-29 22:03:48 +02:00
ariel-
fe3a0bf7e1 Typo fix 2016-08-28 23:37:13 -03:00
ariel-
7028503e8f Core/ObjectMgr: filter out bogus check
This restores previous behaviour
2016-08-28 23:24:04 -03:00
ariel-
33102220e5 Core/GameObject: cache pointer to GameObjectTemplateAddon 2016-08-28 22:36:11 -03:00
ariel-
bd4bf0a73f Core/GameObject: migrated non-WDB fields to new gameobject_template_addon table 2016-08-28 20:15:24 -03:00
ariel-
8727048af6 Core/ObjectMgr: throw some consts and nullptr around 2016-08-28 20:15:23 -03:00
Gustavo
6ee35734e4 Whitespace clean-up 2016-08-29 01:11:04 +02:00
ariel-
b091415c03 Core/GameObject: added possibilty for gameobjects to contain money loot.
Updates #14564
2016-08-28 18:53:40 -03:00
Gustavo
e1761a24ce Core/Spells Make credit for quests "The Grand Melee" and "Among the Champions" a triggered cast (#17870)
Fix a problem where the credit wasn't casted due to CGD
2016-08-28 23:34:23 +02:00
treeston
a32536d490 Last one. For real. Please. (Build fix #5). 2016-08-28 20:13:39 +02:00
treeston
8531f012a2 ....right, I actually went through a full rebuild now just to make sure it works. 2016-08-28 20:08:55 +02:00
treeston
61eb70fd82 Build fix. Again. Oops. 2016-08-28 20:05:04 +02:00
treeston
72a7f4b507 You saw nothing (build fix). 2016-08-28 19:52:53 +02:00
treeston
175db157f7 Creature/Gossip: offer replacement functions for the existing preprocessor gossip macros 2016-08-28 19:43:30 +02:00
jackpoz
38f8a03781 Core/Loot: Fix group loot if player loot recipient disconnects
Fixes #13300
2016-08-28 13:25:48 +02:00
ariel-
5b81f55141 Update SpellEffects.cpp 2016-08-28 07:16:48 -03:00
ariel-
f5a0342913 Core/Spell: Calculate GO rotation for SPELL_EFFECT_TRANS_DOOR 2016-08-28 07:15:03 -03:00
Aokromes
9a3a728b25 Core/Achievements: Fix some comments 2016-08-28 11:42:46 +02:00
ariel-
58fc36374c Core/Player: removed unused function prototypes 2016-08-28 05:43:19 -03:00
ariel-
be3199314a Core/GameObject: save spawn GOState and reset to it instead of toggling from whatever current state we have
Prevents exploit of SMART_ACTION_ACTIVATE_GOBJECT
2016-08-28 05:32:39 -03:00
ariel-
17917171f3 Core/Entities: Added possibility to construct a Position using a G3D::Vector3 2016-08-28 02:31:52 -03:00
ariel-
27590fbb98 Core/Scripts: Professor Putricide oozes, reapply passive proc auras on reset, and register them as PP summons since they're summoned by a trigger. (f183ed3c50 follow-up) 2016-08-28 02:22:50 -03:00