Commit Graph
5375 Commits
Author SHA1 Message Date
ariel- 5e32e96278 Core/Spell: define channels without movement interrupt flags as allowed move
- Remove script hacks no longer needed

(cherry picked from commit 3a0cb90ea994e82dd8c70888fb847082f738d5dc)
2020-04-28 12:35:16 +02:00
tkrokli cf3c5dc948 Core/Scripts: Willix the Importer - $n in aggro text
* In the existing core script, Willix the Importer in Razorfen Kraul says
"Help! Get this $n off of me!" (showing the $n part in his SAY text)
instead of naming the attacker when using his 'SAY_AGGRO1' creature_text.

* With this commit change, unit target is no longer missing for Talk,
making Willix name the attacking unit when he shouts for help.

(cherry picked from commit 6cc267d90918a0663f928db302ef1465f7952c61)
2020-04-27 17:29:27 +02:00
Keader 304eeea570 Core/Scripts: Baltharus the Warborn preincrement _cloneCount
(cherry picked from commit 2921449a333ea27a62c7b21d003650421c982917)
2020-04-27 12:25:52 +02:00
Keader f623fea923 Core/Scripts: Baltharus the Warborn make clone count more readable
*Also fixed issue that make Baltharus summons alot of clones when he is casting

(cherry picked from commit 58f2e62098f2c78b77b6b3851709c83f33e1cafd)
2020-04-27 12:25:52 +02:00
Keader 14cf4c0692 Core/Scripts: Fixing Carbonion/Travis
(cherry picked from commit 270a6396783ccb2b8dff181fca2760adb47d2110)
2020-04-27 12:25:52 +02:00
Keader 287ed04c8b Core/Scripts: Fixed Baltharus the Warborn clones
*Clones not working after wipe
*Changed Clone Action for a event (to check casting)

(cherry picked from commit 6b8c4fb74feb2210d2fb9ea60ec23ab407ffeb39)
2020-04-27 12:25:52 +02:00
Keader 410585361a Core/Scripts: Typo in last commit
(cherry picked from commit a2a8ffe72328590b43481b430b9a6f281ccdd4be)
2020-04-27 12:25:52 +02:00
Keader fc2872e16c Core/Scripts: Fixed Volatile Ooze/Gas Cloud issues in Professor Putricide
Closes #18925

(cherry picked from commit 8d198cb36050e63811f8f7f81a3daf2a3c961950)
2020-04-27 12:25:52 +02:00
Xinef 6f7ff9a3ef Core/Achievements: Optimized resetting achievement criteria by condition and changed the functionality to properly reset all possible criteria with given condition
Closes #18905

(cherry picked from commit 7c7b877c3fc0292f33f54f4e8b514be3bf8514a6)
2020-04-26 22:58:51 +02:00
jackpoz 70c2b4e5ba Scripts/GruulsLair: Fix indentation
(cherry picked from commit 9d77b2be3b72810db1f12b6fde5e39583d521bc9)
2020-04-26 00:51:55 +02:00
Ovah 030d942efe Scripts/Antorus: implement Garothi Worldbreaker encounter for normal and heroic difficulty
* added base script support for the encounter for normal and heroic difficulty
* added instance script for Antorus the Burning Throne
* added sniffed template data for involved gameobjects
* added encounter related spawns to Antorus the Burning Throne
* added instance encounter entry for Garothi Worldbreaker
2020-04-25 19:04:31 +02:00
tkrokli b259614778 Scripts: minimize duplicated enum names in header files (#19377)
* Scripts: Minimize duplicated enum names in header files

This reduces the number of cache resets with the Zapcc compiler

- Standard followed is instance/raid TLA + DataTypes/CreaturesIds/etc
- Partial cherry-pick of master commit 7eb4512eee
- Removed unused defines in sunken_temple.h (the core scripts using these have been moved to SAI)

(cherry picked from commit f6f36be004c3b8c7d09e0f320d5aabb8a9129109)
2020-04-24 17:18:51 +02:00
ariel- cbcc4601ad Core/AI: Build fix
- Stop exposing DoublePosition constructor versions, they're only used for internal representation
- Moved IsInBounds function to public scope

(cherry picked from commit 83162fafa453c1d34fe23ddd86a43c3dff058300)
2020-04-24 17:18:51 +02:00
ariel- 3f79c9f696 Core/AI: AreaBoundary refactor
- Added an auxiliary function IsInBounds to base CreatureAI
- Changed container to vector. Set had no sense because we're storing new pointers, they have different addresses even if the boundary is the same

(cherry picked from commit 2f99fa09c9bacbad376d7a296c3311f94ec8a552)
2020-04-24 17:18:51 +02:00
xinef1 70d5775d3f Added new creature extra flag which makes npc visible only to dead units
closes #19333

* Rename 9999_99_99_99_world.sql to 2017_99_99_99_world_335.sql

- file affects creature removed in patch 4.0.3a

* Update Creature.cpp

(cherry picked from commit e72b380b9374c92e5688002bf3a15065419a2ea0)
2020-04-24 17:18:50 +02:00
ccrs f135b7aea1 Core/Movement: 96f4c7c followup
(cherry picked from commit 9be7f5f57b897888983a9ca6f441479f3571513c)
2020-04-24 17:18:50 +02:00
Gustavo 6f523b4fb6 Core/Scripts: minor fixes in boss_the_lich_king (#19311)
Closes #4427
Closes #7091

(cherry picked from commit 2792046dc7a229180d27dfdc4ce37ccfb84c8a27)
2020-04-24 17:18:49 +02:00
ariel- 7a561ad045 Core/Scripts: Updated Ulduar instance model
- Codestyle/indent fixes
- Added ObjectData for some GOs
- Added GetUlduarAI to creatures
- Fixed possible out-of-bounds access in boss_razorscale_controllerAI (boss AI number beyond allocated boss size)

(cherry picked from commit b74cc8085946fed1eb41a6332e3a5cca6f9edd7f)
2020-04-24 17:18:49 +02:00
Chaouki Dhib 5d076cfe29 Core/Spells: fix wrong distance calculations in AoE spells [Needs testing] (#16290)
Core/Spells: Fix wrong distance calculations in AoE spells.
Pull request #16290 by chaodhib.
God bless, finally.

(cherry picked from commit a1f2f30c145f6ad9c4baeffeff32618e71ff537c)
2020-04-24 17:18:49 +02:00
Keader b234658617 Core/Scripts: Fixed wrong calculation of Aura of Desire
Closes #19322

(cherry picked from commit 333a4034099e262db8db0a1736d01c30a8cf9d52)
2020-04-24 17:18:49 +02:00
ariel- ebc06b1d04 Core/Auras: reworked multiplicative AuraEffects calculation
- Splitted containers for flat modifiers and pct modifiers, as they now have different handling
- Amount is now multiplied only on apply; on unapply, iterate through auras and reset the counter
- Fixes many cases of rounding error due to applying/unapplying of small factors
- Allows amounts to be zeroed (ie with an AuraEffect of amount -100)
- Do a partial revert of 6dc37a9add631888fe5fbcd43d19c2b07bed8a57, auras should update amounts only for items allowed (ie no more giving crit to a sword while having an axe in the other hand and being Poleaxe spec'd)
- SPELL_AURA_MOD_SCALE now scales additively, rather than multiplicatively (checked in sniffs)

Closes #18687

(cherry picked from commit c69a7d1223b2ce108a221e5cc70f76cd80ae6675)
2020-04-24 17:18:47 +02:00
ariel- cdbe16fabe Core/Scripts: implemented Gnomish Harm Prevention Belt
Updates #18542

(cherry picked from commit 2db3e86d9bf200e5049e553160bc47b7bacac621)
2020-04-24 17:18:47 +02:00
Shauren aced88b09b Core/AuctionHouse: After taking a break at the start of patch 8.3 auction house is now back in business. 2020-04-20 20:36:24 +02:00
Shauren c81de0eb4e Core/Misc: Removed old incorrect define 2020-04-04 00:28:49 +02:00
Shauren 70188c4fe1 nopch fix 2 2020-04-03 18:12:07 +02:00
Shauren ed7d4dd60f nopch fix 2020-04-03 18:02:00 +02:00
Shauren 3cc50e69f1 Core/Players: Fixed racemasks usage for new races 2020-03-30 19:06:11 +02:00
Shauren 90628b7d29 Core/DataStores: Updated db2 structures to 8.3.0 2020-02-17 23:58:47 +01:00
Shauren 93aa30f447 Core/Misc: Moved CanSpeak() method to WorldSession class 2020-02-07 20:11:27 +01:00
Shauren 4746331f49 Core/Misc: Removed references to item_template in logs 2020-01-25 14:15:20 +01:00
Aokromes b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
Shauren d934824421 Core/Items: Implement azerite empowered items 2019-12-05 00:12:35 +01:00
Shauren 0a2d9ad2f7 Core/Items: Add ItemContext param to Item::Create function 2019-11-23 00:03:42 +01:00
Shauren ab6ae44b63 Core/Items: Implemented AzeriteItem 2019-11-12 00:28:59 +01:00
Shauren c3a9d56b56 Core/DBLayer: Support using mysql 8 2019-11-01 16:21:14 +01:00
Shauren 3ac790287a Core/DataStores: Updated db2 structures to 8.2.5 2019-10-27 00:12:45 +02:00
Jeremy 51d6ad4014 Scripts/OrderHall: Spawn some Warrior Order Hall NPC's and script some of them (#19902) 2019-08-25 12:59:21 +02:00
Traesh 548d79bb06 Core/DataStores: Implemented WorldStateExpression 2019-08-24 17:13:17 +02:00
Shauren 3b004b2cfd Nopch fix2 2019-08-18 11:16:43 +02:00
ariel- 56ba22ea98 Core/Scripts: add condition check for npc_wyrmrest_defender
minor code refactors

Closes #19299

(cherrypicked from f7758954f7b9808a56420ac2ca75a83af4e40f4e)
2019-08-17 20:04:14 +02:00
Gustavo 1b85f62b96 Core/Scripts: implement boss Apothecary Hummel ("Love is in the Air" event boss) (#19076)
Closes #5114

(cherrypicked from 8c6fa411e8118752ddbefe8dc022514602859fb9)
2019-08-17 20:04:14 +02:00
Keader dbf3225d45 Core/Scripts: Fixed Ingvar evade issue
(cherrypicked from bf5661e2fd05625411b184385412921b3f0fb8c5)
2019-08-17 20:04:14 +02:00
ariel- 590009b084 Core/Scripts: converted Argent Tournament pennants to AI
Closes #14616

(cherrypicked from 804257b99a26ca2dc1941a7577e5ae06c954f9cb)
2019-08-17 20:04:14 +02:00
xinef1 60663d1374 Ensure that all actions are compared to fixed point in time (ie. world update start) (#18910)
- Actions will not be dependent on processing moment
- Increased GameObjects cooldown resolution to milliseconds, fixes arming time of traps to be exactly one second and not something from range (1000, 1999)
- Created GameTime namespace and UpdateTime class and moved there some code out of world

(cherrypicked from 7567cafec84080d26ea513242a1f540a823b8f9d)
2019-08-17 20:04:14 +02:00
ariel- aaefda6100 Core/Scripts: Change null-check to assert
- ToPlayer() should never be null in this context

(cherrypicked from 12c680f9b1f1068099c3b19443d93d456690ac56)
2019-08-17 20:04:14 +02:00
Keader f087fbbcc6 Core/Scripts: Fixed crash in Sindragosa
Closes #19227

(cherrypicked from ecfb346d1af39305923db1f19a4568355c4d94e5)
2019-08-17 20:04:14 +02:00
ariel- 5934f53717 Core/Scripts: implement Moss Covered Feet
Closes #19022

(cherrypicked from f302b3d68d2c40a86f0c7be4df9b2fb625ba724f)
2019-08-17 20:04:14 +02:00
jackpoz 154f9a03e7 Core/Misc: Fix static analysis issues
(cherrypicked from 69400719948fc32b3802a0ff6834b6261e4a0754)
2019-08-17 20:04:14 +02:00
ariel- e050a7444e Core/Scripts: kill a warning
(cherrypicked from ace2a75197457720f40b61535e1f34aafab33c5f)
2019-08-17 20:04:14 +02:00
ariel- beda1c2466 Core/Scripts: Thrusting Hodir's Spear
- Everything is sniffed, enjoy this hell of a quest!

Closes #12808

(cherrypicked from 01f5befcec19cbf519d6222f514f70ba9704f0ea)
2019-08-17 20:04:14 +02:00