Naios
79adaf4ee0
Core/Scripts: Fix a crash when adding/removing objects from the map while swapping
...
* Ref #17833
2016-09-15 15:13:57 +02:00
SnapperRy
c41b4000f9
Fix wrong copy-paste from last commit.
...
Sorry.
2016-09-15 13:52:24 +02:00
SnapperRy
4eb799560c
Core/Achievement: do not consider overkill damage for ACHIEVEMENT_CRITERIA_TYPE_DAMAGE_DONE.
2016-09-15 13:50:20 +02:00
SnapperRy
025002b907
Core/Creature: enable pet bar for TempSummons with category SUMMON_CATEGORY_PET.
...
Thanks @ariel- for helping with the research (although I'm two months late).
2016-09-14 22:42:47 +02:00
SnapperRy
6586885bca
Core/SmartAI: do not target player's group for SMART_ACTION_CALL_AREAEXPLOREDOREVENTHAPPENS.
...
SMART_TARGET_INVOKER_PARTY or SMART_ACTION_CALL_GROUPEVENTHAPPENS should instead be used to achieve this functionality.
2016-09-14 20:28:02 +02:00
treeston
a7afb47633
Maps/Boundary: Some code style clean-up in AreaBoundary code, as well as adding an additional utility overload to IsWithinBoundary (Position const&).
2016-09-14 01:54:15 +02:00
SnapperRy
6f1e823cac
Core/Fishing: implement retail-like fishing skill-up functionality ( #17528 )
2016-09-13 04:16:05 +02:00
SnapperRy
271c16fb60
DB/Quest: improvements for Test at Sea:
...
- Prevent player from entering combat when using the quest item.
- The targeted NPCs should only yell sporadically.
2016-09-13 01:44:33 +02:00
ariel-
e0ba5f9ed6
Core/Spell: Updated SpellInfo::GetMaxTicks with all effects capable of periodics
2016-09-12 20:19:06 -03:00
SnapperRy
4164e0cf88
Core/Fishing: ignore required skill when fishing in pools.
2016-09-12 19:37:24 +02:00
ariel-
08e0390d95
Core/Spell: do not cast interrupt effect if the spell did not hit
2016-09-12 12:41:02 -03:00
treeston
f2067d3557
Core/Movement: Fix an edge case crash in HomeMovementGenerator.
2016-09-11 12:41:22 +02:00
ariel-
43846d2d51
Core/SpellMgr: removed some wrong spells from LoadSpellInfoCorrections:
...
34754 is actually Holy concentration, and does not proc.
39805 doesn't exist
2016-09-11 00:06:06 -03:00
treeston
1b7eebc7ba
Woops. Thanks, clang.
...
Crash fix.
2016-09-10 14:51:13 +02:00
treeston
0e8c2f9032
Entities/Object: Add some Position const& overloads to distance/angle methods for usability.
2016-09-10 14:14:34 +02:00
Rochet2
c52566a888
Core/Scripts: Enhance quest status hook by making it catch more status changes ( #17865 )
2016-09-09 21:11:36 +02:00
treeston
0c2c88ed50
Fine, this time I actually built it. Promise.
2016-09-09 19:48:31 +02:00
treeston
a9f1151f2c
Build fix.
2016-09-09 19:43:29 +02:00
treeston
91c2b3162d
Game/Scripting: Follow-up to b3d44d6. Fix script selection for creatures on difficulty > 0.
2016-09-09 19:37:04 +02:00
treeston
3c32086b81
Core/Maps: Add override to allow InstanceMap const* -> InstanceScript const*.
...
Also tighten const-ness on CanSpawn method of CreatureScript.
2016-09-09 18:08:43 +02:00
treeston
62cffd11d0
Core/Conditions: New CONDITION_QUESTSTATE (47). It's the existing quest 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. Tagging issue #17914 .
2016-09-09 17:14:34 +02:00
treeston
b3d44d6c36
Creature/Scripting: Move CreatureAI::CanRespawn to CreatureScript::CanSpawn. Now also applies to initial spawn. Dynamic spawning prep.
2016-09-09 16:21:27 +02:00
treeston
9180bcd404
Derp. Build fix.
2016-09-09 15:03:56 +02:00
treeston
e69a483aa9
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 15:01:42 +02:00
ariel-
19e757af5c
Core/Entities: moved duplicated triggered cast proc check to Unit::ProcDamageAndSpellFor, it was preventing some always triggered auras from proccing.
2016-09-06 22:23:34 -03:00
ariel-
805637cea1
Core/AI: updated SpellTargetSelector::operator() ( #17824 follow-up)
2016-09-05 15:39:30 -03:00
ariel-
932d31598d
Core/Battlefield: container optimization
2016-09-04 19:46:12 -03:00
ariel-
43c071d0c8
Core/Battlefield: fix Wintergrasp defender portal logic
2016-09-04 19:16:45 -03:00
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-
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
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