treeston
32de236865
Game/Scripting: Follow-up to b3d44d6. Fix script selection for creatures on difficulty > 0.
2016-09-09 20:00:30 +02:00
treeston
bb9b7582ee
Core/Maps: Add override to allow InstanceMap const* -> InstanceScript const*.
...
Also tighten const-ness on CanSpawn method of CreatureScript.
2016-09-09 19:59:50 +02:00
treeston
cb2da345c7
Core/Conditions: New CONDITION_QUESTSTATE (47). It's the existing que…
...
…st conditions collapsed into a bitmask value2 because I'm a lazy person that doesn't like having long SQL queries.
Then use this new condition to fix Sniffing out the Perpetrator for Horde.
2016-09-09 19:59:17 +02:00
treeston
5bd9d82c9d
Creature/Scripting: Move CreatureAI::CanRespawn to CreatureScript::CanSpawn. Now also applies to initial spawn. Dynamic spawning prep.
2016-09-09 19:57:25 +02:00
treeston
219fd84f1e
Derp. Build fix.
2016-09-09 19:57:12 +02:00
treeston
2e896a15dd
AI/SmartAI: Fix an issue where SmartAI creatures would not properly follow their owner on evade. Also fix a bug where creatures with INHABIT_ROOT would get stuck in evade under certain conditions.
...
This allows us to fix quest 12261 (No Place to Run). Closes #16291 .
2016-09-09 19:56:30 +02:00
ariel-
1bb7c63cf9
Core/Entities: moved duplicated triggered cast proc check to Unit::ProcDamageAndSpellFor, it was preventing some always triggered auras from proccing.
2016-09-08 07:07:15 +02:00
ariel-
1b1e23e8bf
Core/AI: updated SpellTargetSelector::operator() ( #17824 follow-up)
2016-09-05 20:44:53 +02:00
Aokromes
f459484e8e
more compile fix
2016-09-05 01:24:44 +02:00
Aokromes
7978d15854
Build fix try
2016-09-05 01:16:11 +02:00
ariel-
d21a28b5cc
Core/Battlefield: container optimization
2016-09-05 00:49:59 +02:00
ariel-
582b028363
Core/Battlefield: fix Wintergrasp defender portal logic
2016-09-05 00:21:02 +02:00
Aokromes
a1fdfe9259
Typo fix, fix compile
2016-09-04 15:03:40 +02:00
Aokromes
8284afd5a6
Core/Spells / Scripts: Fix Lock and Load
2016-09-04 11:47:54 +02:00
Aokromes
ed41de566f
Core/Scripts: Implement Glyph of Backstab
2016-09-04 11:34:09 +02:00
ariel-
e31fec6c92
Core/Transport: do not relocate players on board of vehicles when near teleporting. Vehicle should take care of that
2016-09-04 11:25:28 +02:00
Aokromes
d09c1712cd
Core/Misc: Build fix
2016-09-04 00:55:58 +02:00
Vincent-Michael
95a7a88ef0
Core/Commands: Fixed build
2016-09-04 00:19:29 +02:00
xjose93
882453253f
Core/Commands: Implement .neargraveyard (find nearest graveyard from dbc).
2016-09-04 00:19:13 +02:00
treeston
77631a8cde
Drycoding is bad, mmkay?
2016-09-03 17:30:37 +02:00
treeston
9a829b4761
Scripts/Events: Globally fix all ExecuteEvent loops to check UNIT_STATE_CASTING after each iteration, instead of just checking it once initially
2016-09-03 17:26:20 +02:00
treeston
2fbb01eebd
Core/SmartScripts: Add missing break, 5f43e7b follow-up.
2016-09-03 01:21:26 +02:00
treeston
9da4e304ae
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-03 01:21:03 +02:00
ariel-
97a404803d
Another build fix.
...
(it was probably better to just revert the commit instead)
2016-09-02 10:48:29 +02:00
ariel-
8ab6ba6ebc
Note to self: drycoding is bad
2016-09-02 10:48:06 +02:00
ariel-
f4957850e1
Core/Spell: no need to bloat existing parameter lists. ( f81754a306 follow up)
2016-09-02 10:47:41 +02:00
ariel-
01ebe31fa8
Core/Spell: Workaround cobra strikes into a charged aura instead of stacked.
...
Fixes #754
2016-09-01 15:20:11 +02:00
ariel-
8e96d7fc8e
Core/Spells: register SPELLMOD_CRITICAL_CHANCE in casting spell modifiers.
2016-09-01 15:19:49 +02:00
ariel-
fe32fffa56
Core/Spells: Remove spellmods from SpellMod owner instead of caster (needed so pet casts properly remove aura charges)
2016-09-01 15:19:29 +02:00
ariel-
87bcba9a1f
Core/Spells: fix Bullheaded immunities
...
Closes #421
2016-09-01 15:19:11 +02:00
treeston
c3843eee9f
Core/Position: Allow implicit casting to G3D::Vector. Also, add a utility overload to MotionMaster.
2016-09-01 15:18:16 +02:00
Aokromes
3e00b379f3
Scripts/Misc: Delete no longer used files
2016-08-31 08:44:01 +02:00
treeston
e3065ab4dc
Replace a leftover const char* with a std::string const&.
2016-08-31 08:40:12 +02:00
treeston
109d87d3c3
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 08:39:33 +02:00
treeston
31aa5cd8c6
Fix dynamic build.
2016-08-31 08:19:02 +02:00
tkrokli
ffc47e0c4c
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-31 08:18:51 +02:00
Aokromes
0d829c7d2d
Core/Misc: Minimize differences between branches in WorldSession::Update
...
This commit removes OnUnknownPacketReceive script hook - it could never be fired anyway at that point
2016-08-31 08:15:01 +02:00
Naios
f0e47a27f9
Core/Define: Remove the conditional macro for constexpr.
...
* Not needed anymore since the requirements were raised to MSVC 2015.
2016-08-29 22:08:31 +02:00
Naios
65e2355c8f
Core/Common: Correct the linking of localeNames
2016-08-29 22:08:15 +02:00
Naios
2f22212d0d
Core/Unit: Force cancel unit events before invalidating the object on destruction
...
* Closes #16675
2016-08-29 22:08:02 +02:00
Aokromes
df2c6972c4
Whitespace clean-up
2016-08-29 01:20:31 +02:00
treeston
08d3b0ccb9
Last one. For real. Please. (Build fix #5 ).
2016-08-28 20:14:25 +02:00
treeston
da4f85a4a8
....right, I actually went through a full rebuild now just to make sure it works.
2016-08-28 20:09:44 +02:00
treeston
1f8cd54c76
Build fix. Again. Oops.
2016-08-28 20:09:28 +02:00
treeston
f38e2c3973
You saw nothing (build fix).
2016-08-28 20:08:55 +02:00
treeston
e8985223b8
Creature/Gossip: offer replacement functions for the existing preprocessor gossip macros
2016-08-28 19:47:31 +02:00
Aokromes
ffb7c7f25e
Core/Achievements: Fix some comments
2016-08-28 12:26:03 +02:00
Aokromes
77e2e43c13
Core/Player: removed unused function prototypes
2016-08-28 11:15:20 +02:00
ariel-
a6ab7196ca
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 10:35:12 +02:00
ariel-
4acebe6c91
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 10:20:14 +02:00