Commit Graph
29304 Commits
Author SHA1 Message Date
Rochet2 19ed813f6b Core/Scripts: Enhance quest status hook by making it catch more status changes (#17865) 2016-09-10 14:25:57 +02:00
Aokromes dc4657218e Core/Scripts: Implement Flag of Ownership
Core/Spells: Implemented TARGET_CORPSE_SRC_AREA_ENEMY.
2016-09-10 03:53:34 +02:00
Aokromes 2701c96ab1 DB/Misc: 3.3.5a fixes 2016-09-09 20:16:39 +02:00
treeston 40d0fcfae6 Fine, this time I actually built it. Promise. 2016-09-09 20:00:53 +02:00
treeston 008bbdbc47 Build fix. 2016-09-09 20:00:40 +02:00
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
Aokromes 2afb2131c5 DB/Misc: Link more difficulties 2016-09-08 07:47:19 +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
Aokromes 3c2da4159e DB/Creature: Link more heroic modes 2016-09-06 15:51:37 +02:00
Aokromes a85579b83e DB/Creature: Link more heroic modes 2016-09-06 14:40:12 +02:00
Aokromes b77a469834 DB/Creature: Link more heroic modes 2016-09-06 12:19:02 +02:00
Aokromes ba62c5561a DB/Creature: Link more heroic modes 2016-09-05 22:30:26 +02:00
ariel- 1b1e23e8bf Core/AI: updated SpellTargetSelector::operator() (#17824 follow-up) 2016-09-05 20:44:53 +02:00
Aokromes d866976561 DB/Creature: Link more heroic modes 2016-09-05 20:19:57 +02:00
Aokromes 7e627b020c DB/Creature: Link more Throne of the Tides creatures 2016-09-05 13:53:21 +02:00
Aokromes e7618fd7e6 DB/Creature: Link more Throne of the Tides creatures 2016-09-05 13:36:40 +02:00
Aokromes f216285fac typo fix 2016-09-05 12:55:30 +02:00
Aokromes e03640a420 DB/Creature: Fix some startup errors 2016-09-05 12:47:54 +02:00
Aokromes f3215c03a9 DB/Creature: Link more Throne of the Tides creatures 2016-09-05 12:03:28 +02:00
Aokromes 2e03c87b07 DB/Creature: Link some Throne of the Tides creatures
Yeah, for 6 years no one cared to fix this.
2016-09-05 11:58:40 +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 8655ad0984 Core/Scripts: Implement Glyph of Backstab 2016-09-04 11:35:44 +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
Aokromes 5ec867cc61 Missing part 2016-09-04 00:33:10 +02:00
Aokromes 2ed7685535 DB:Command: debug neargraveyard 2016-09-04 00:29:54 +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
Aokromes ed731a71d1 typo fix 2016-09-03 02:12:23 +02:00
Aokromes 1a6dcb528d DB/Misc: More startup errors 2016-09-03 02:11:16 +02:00
Aokromes bb7fab1d89 DB/Misc: More startup errors 2016-09-03 02:04:12 +02:00
Aokromes f026eec031 DB/Misc: More startup errors 2016-09-03 01:58:45 +02:00
Aokromes b56d70a9e5 DB/Misc: Fix some startup errors 2016-09-03 01:47:55 +02:00
Aokromes 0d669c5b5a DB/Misc: Rename file 2016-09-03 01:23:34 +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
Aokromes 214602a29d DB/Misc: 3.3.5a fixes 2016-09-02 10:52:02 +02:00