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
joschiwald
5615645b6b
Core/Logging: removed useless log message
...
(cherry picked from commit b0c8a9411e )
# Conflicts:
# src/server/game/Guilds/Guild.cpp
# src/server/game/Handlers/CharacterHandler.cpp
# src/server/game/Handlers/QueryHandler.cpp
# src/server/game/Handlers/TaxiHandler.cpp
2016-08-27 15:35:42 +02:00
joschiwald
f5890941b1
Core/Logging: delete old logs of the own realm only
...
(cherry picked from commit beedf737c8 )
2016-08-27 15:28:33 +02:00
treeston
211eee0fce
Entities/Unit: Add overload to NearTeleportTo taking Position const&.
2016-08-26 21:02:25 +02:00
treeston
4bcc8078d7
Entities/Creature: Add arg2 to DespawnOrUnsummon to allow overriding respawn time. This matches changes that will be merged as part of dynamic spawning, allowing scripts to transition early.
2016-08-25 23:04:21 +02:00
SnapperRy
42a32a3c7c
Core/Unit: do not refresh last damaged timer if hit by SPELL_AURA_DAMAGE_SHIELD.
...
Fixes spells like Retribution Aura, Thorns and Damage Shield that were preventing units from evading.
2016-08-25 22:16:34 +02:00
Ryan
9c504c8a8e
Core/Instance: Fix GetInstanceSave sometimes checking the wrong map ( #17856 )
2016-08-25 16:21:53 +02:00
ariel-
cd9226e755
Core/Scripts: fix math error that would not select points on the entire circle
2016-08-25 08:53:35 -03:00
ariel-
8a8362ef15
Channel Followup: avoid setting an invisible gm as Channel owner ( #17597 )
...
* Core/Chat: avoid setting an invisible gm (as in .gm visible off) as channel owner, giving it away to other players.
- This can now only happen if the channel is empty or every other member is an invisible gm, too.
Fixes #17424
* Feedback based changes
2016-08-25 08:49:24 -03:00
ariel-
6992393b3c
Core/PlayerAI: Fix dynamic build linking
2016-08-25 08:28:12 -03:00
ariel-
7e4abce820
Update boss_kelthuzad.cpp
2016-08-25 08:21:27 -03:00
treeston
bdbe3f22e0
Entities/GameObject: Expose GO rotation to scripting.
2016-08-25 13:11:31 +02:00
Aokromes
92876278fe
travis is lazy
2016-08-25 10:39:17 +02:00