aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
AgeCommit message (Collapse)Author
2020-04-24Core/Movement: 96f4c7c followupccrs
(cherry picked from commit 9be7f5f57b897888983a9ca6f441479f3571513c)
2020-04-24Core/Scripts: minor fixes in boss_the_lich_king (#19311)Gustavo
Closes #4427 Closes #7091 (cherry picked from commit 2792046dc7a229180d27dfdc4ce37ccfb84c8a27)
2020-04-24Core/Scripts: Updated Ulduar instance modelariel-
- 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-24Core/Spells: fix wrong distance calculations in AoE spells [Needs testing] ↵Chaouki Dhib
(#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-24Core/Scripts: Fixed wrong calculation of Aura of DesireKeader
Closes #19322 (cherry picked from commit 333a4034099e262db8db0a1736d01c30a8cf9d52)
2020-04-24Core/Auras: reworked multiplicative AuraEffects calculationariel-
- 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-24Core/Scripts: implemented Gnomish Harm Prevention Beltariel-
Updates #18542 (cherry picked from commit 2db3e86d9bf200e5049e553160bc47b7bacac621)
2020-04-20Core/AuctionHouse: After taking a break at the start of patch 8.3 auction ↵Shauren
house is now back in business.
2020-04-04Core/Misc: Removed old incorrect defineShauren
2020-04-03nopch fix 2Shauren
2020-04-03nopch fixShauren
2020-03-30Core/Players: Fixed racemasks usage for new racesShauren
2020-02-17Core/DataStores: Updated db2 structures to 8.3.0Shauren
2020-02-07Core/Misc: Moved CanSpeak() method to WorldSession classShauren
2020-01-25Core/Misc: Removed references to item_template in logsShauren
2020-01-02New YearAokromes
2019-12-05Core/Items: Implement azerite empowered itemsShauren
2019-11-23Core/Items: Add ItemContext param to Item::Create functionShauren
2019-11-12Core/Items: Implemented AzeriteItemShauren
2019-11-01Core/DBLayer: Support using mysql 8Shauren
2019-10-27Core/DataStores: Updated db2 structures to 8.2.5Shauren
2019-08-25Scripts/OrderHall: Spawn some Warrior Order Hall NPC's and script some of ↵Jeremy
them (#19902)
2019-08-24Core/DataStores: Implemented WorldStateExpressionTraesh
2019-08-18Nopch fix2Shauren
2019-08-17Core/Scripts: add condition check for npc_wyrmrest_defenderariel-
minor code refactors Closes #19299 (cherrypicked from f7758954f7b9808a56420ac2ca75a83af4e40f4e)
2019-08-17Core/Scripts: implement boss Apothecary Hummel ("Love is in the Air" event ↵Gustavo
boss) (#19076) Closes #5114 (cherrypicked from 8c6fa411e8118752ddbefe8dc022514602859fb9)
2019-08-17Core/Scripts: Fixed Ingvar evade issueKeader
(cherrypicked from bf5661e2fd05625411b184385412921b3f0fb8c5)
2019-08-17Core/Scripts: converted Argent Tournament pennants to AIariel-
Closes #14616 (cherrypicked from 804257b99a26ca2dc1941a7577e5ae06c954f9cb)
2019-08-17Ensure that all actions are compared to fixed point in time (ie. world ↵xinef1
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-17Core/Scripts: Change null-check to assertariel-
- ToPlayer() should never be null in this context (cherrypicked from 12c680f9b1f1068099c3b19443d93d456690ac56)
2019-08-17Core/Scripts: Fixed crash in SindragosaKeader
Closes #19227 (cherrypicked from ecfb346d1af39305923db1f19a4568355c4d94e5)
2019-08-17Core/Scripts: implement Moss Covered Feetariel-
Closes #19022 (cherrypicked from f302b3d68d2c40a86f0c7be4df9b2fb625ba724f)
2019-08-17Core/Misc: Fix static analysis issuesjackpoz
(cherrypicked from 69400719948fc32b3802a0ff6834b6261e4a0754)
2019-08-17Core/Scripts: kill a warningariel-
(cherrypicked from ace2a75197457720f40b61535e1f34aafab33c5f)
2019-08-17Core/Scripts: Thrusting Hodir's Spearariel-
- Everything is sniffed, enjoy this hell of a quest! Closes #12808 (cherrypicked from 01f5befcec19cbf519d6222f514f70ba9704f0ea)
2019-08-17Core/Unit: Correct speed calculus when affected by ↵Gustavo
SPELL_AURA_MOD_MINIMUM_SPEED (#18136) (cherrypicked from 4224259d83c336ef46fa627a8ba0015200a788eb)
2019-08-17Core/Scripts: Fixed Illidan epic sounds again (#19184)Keader
(cherrypicked from bb3c964e7c0860d4448a065a2d1d37b52704da76)
2019-08-17Core/Scripts: fix Nightfall proc chance and reduce it for victims with level ↵ariel-
above 60 Closes #15734 (cherrypicked from eac9c1f0b992fd3622fd7dd864b2acc2781ec778)
2019-08-17QueryCache portfunjoker
partial port of: (ae9d01a3245c59a8a8d50516a79b79250337450d) (dd1aa64563bfb726e1132a135927a02fbb765454)
2019-08-17Core/Scripts: Fixed epic sounds on Illidan Fight (#19172)Keader
Thanks Kittnz for notice <3 (cherrypicked from 50973e9d6fbf7537ae8d90535b9dfa25e5ce69f6)
2019-08-17Script/GO: Alliance Bell, Horde Bell and Karazhan Bell will now send a bell ↵Kittnz
sound on the start of each hour. (#19145) * Script/GO: Alliance Bell, Horde Bell and Karazhan Bell will now send a bell sound on the start of each hour. How many times it rings depence on the hour. * fix little things from pr comments * Added OnGameEvent * Fix braces * almost finished * fix enum * Add gameobjects to the game event Fix override for InitializeAI * enum squash * remove braces * Rename 9999_99_99_99_world.sql to 2017_02_19_01_world.sql (cherrypicked from 495339a2c7741d0ad56dfbb8756ad6e1e7d19b8b)
2019-08-17Core/SmartAI: Various fixes and extensions for smart scripts: (#18673)xinef1
- Possible crashes fixed - Memory leak fixed - Implemented checking of vehicle conditions - Extended eventphasemask to 12 bits (sql required to change DB field type) - SMART_EVENT_GOSSIP_HELLO - added possibility to detect for gameobject reportUse call - Renamed action SMART_ACTION_SET_FLY to SMART_ACTION_SET_DISABLE_GRAVITY (to reflect actual functionality) - Added targetsLimit to action SMART_ACTION_CAST and SMART_ACTION_INVOKER_CAST to limit max amount of targets (selected randomly) - Action SMART_ACTION_TALK corrected to always work as intended - Properly call GroupEventHappens in action SMART_ACTION_CALL_GROUPEVENTHAPPENS if invoker was charmed or owned by the player - Properly utilize followAngle in action SMART_ACTION_FOLLOW (db orientation should be in degrees), but keep backward compatibility - Added action SMART_ACTION_SET_CAN_FLY (119) 0/1 - Added action SMART_ACTION_REMOVE_AURAS_BY_TYPE (120) AuraType, can be used to exit vehicle for example - Added action SMART_ACTION_SET_SIGHT_DIST (121) sightDist - Added action SMART_ACTION_FLEE (122) fleeTime - Added action SMART_ACTION_ADD_THREAT (123) +threat, -threat - Added action SMART_ACTION_LOAD_EQUIPMENT (124) equipmentId - Added action SMART_ACTION_TRIGGER_RANDOM_TIMED_EVENT (125) minId, maxId - Added action SMART_ACTION_REMOVE_ALL_GAMEOBJECTS (126), removes all owned gameobjects - Added action SMART_ACTION_STOP_MOTION (127), stopMoving, movementExpired - Extended target SMART_TARGET_HOSTILE_SECOND_AGGRO with following parameters maxdist, playerOnly, powerType + 1 - Extended target SMART_TARGET_HOSTILE_LAST_AGGRO with following parameters maxdist, playerOnly, powerType + 1 - Extended target SMART_TARGET_HOSTILE_RANDOM with following parameters maxdist, playerOnly, powerType + 1 - Extended target SMART_TARGET_HOSTILE_RANDOM_NOT_TOP with following parameters maxdist, playerOnly, powerType + 1 - Extended target SMART_TARGET_THREAT_LIST with maxdist - Extended target SMART_TARGET_OWNER_OR_SUMMONER to be able to get charmer/owner of current owner - Added new target SMART_TARGET_FARTHEST with maxDist, playerOnly, isInLos restrictions - Added SpellHit hook to GameObjectAI and extended SmartGameObjectAI to call SMART_EVENT_SPELLHIT when gameobject is hit by spell - Call GameObjectAI Reset hook on gameobject respawn (for ex. to reset one time events in smart scripts) - Fixed some logic errors in code - SmartAI Escorts properly despawn escortee if no players are in range - Disable Evading while charming creature with SmartAI - Don't call SMART_EVENT_RESPAWN for dead units before they actually respawn - Don't call SMART_EVENT_RESPAWN for not spawned gameobjects - Properly call SMART_EVENT_RESPAWN for gameobject respawn - Allow action SMART_ACTION_SET_IN_COMBAT_WITH_ZONE to utilize targetlist - Allow action SMART_ACTION_CALL_FOR_HELP to utilize targetList - Allow action SMART_ACTION_SET_INVINCIBILITY_HP_LEVEL to utilize targetList - Allow action SMART_ACTION_SET_VISIBILITY to utilize targetList - Allow action SMART_ACTION_SET_ACTIVE to utilize targetList - Allow action SMART_ACTION_ATTACK_START to select random attack target instead of first on the list - Allow gameobjects to summon gameobjects with action SMART_ACTION_SUMMON_GO - Properly store action invokers for action SMART_ACTION_WP_START, if no player invokers are found, distance despawn check won't be used - Allow action SMART_ACTION_WP_RESUME to compensate for the state the unit actually is in (eg. combat) - Allow action SMART_ACTION_MOVE_TO_POS to select random of the avaiable targets, not only the first one. - Allow action SMART_ACTION_MOVE_TO_POS to utilize x, y, z parameters as an offset to calculated coordinates - Action SMART_ACTION_RESPAWN_TARGET should never modify respawntime of already spawned gameobjects, use dedicated function - Properly delete ontime events created by SMART_ACTION_CREATE_TIMED_EVENT - If action could not be started because conditions were not satisfied, do not recalculate the waittime to action repeattime, use smaller value to recheck more frequently - Allow target SMART_TARGET_CLOSEST_PLAYER to be used by gameobjects - Allow target SMART_TARGET_OWNER_OR_SUMMONER to be used by gameobjects - Fixed SMART_EVENT_COUNTER_SET to be only called for the id that was incremented - Changed the way counters work - Protect PhaseInc from surpassing maximum phase - Added loading checks for missing NON_REPEATABLE flag if no repeatmin, repeatmax is set - Added spell validation for SMART_ACTION_CROSS_CAST (cherrypicked from b0ae5fadd19fd172ec5154cde4f4fd14aa20ff88)
2019-08-17Revert "[3.3.5][master] Core/Movement: Smooth movement #13467 (#18020)"Riztazz
This reverts commit 05fb27dae4e8af859e01e5b9e52b082cba217657. (cherrypicked from a3c6880579f3326088ecbe5b8c08c4b75ed91a59)
2019-07-27Core/DBLayer: Prevent committing transactions started on a different databaseShauren
2019-07-27Core/DBLayer: Prevent using prepared statements on wrong databaseShauren
2019-07-26Nopch fix4Shauren
2019-07-26Nopch fix3Shauren
2019-07-26Nopch fix2Shauren
2019-07-21Core/Scripts Update boss Skadi the Ruthless (#19114)Gustavo
(cherrypicked from 4536846d7d30508a046f394d1f561a2c3fdcf5f0)
2019-07-21Core/Misc: Fix static analysis issuesjackpoz
(cherrypicked from 865a3a47eaa518cb9c7827e863d679697e38b03e)