Commit Graph
28009 Commits
Author SHA1 Message Date
Riztazz dffef65da2 Scripts/Stratholme: spawn Timmy the Cruel if conditions are met (#20750)
* Timmy the cruel
* Rename some variables and use sniffed spawn position
* codestyle
* Use areaboundary instead
* include order
* aokromes request
* remove static
* never cp on tc

(cherry picked from commit c69825d96d6c7ff847c196c908e1040cb7a8d5db)
2021-02-06 21:41:51 +01:00
Keader 0a68d46798 Core/Scripts: Updated Black Temple to new Creature/Spell/Aura/GOB model
Fixed some codestyle issues.
Removed ENSUREAI

(cherry picked from commit 78f4f54f81e092c9c7b99af445fb6ec85e00e6b0)
2021-02-06 21:41:51 +01:00
Shauren b37163b5e2 Core/Quests: Correct criteria tree quest objective update conditions
* Apply same raid group restriction as normal objectives
* Check that player is on quest before updating criteria
* Remove non-GM requirement
2021-02-06 20:03:37 +01:00
Osleyder Gonzalez Acosta 7c58a13cc9 Core/DataStores: Update correct version check of the loaded DB2 files. (#26011) 2021-02-06 20:01:34 +01:00
BAndysc 17676d4d41 Core/SAI: Add missing AreaTrigger to SmartScript::GetBaseObject 2021-02-06 19:20:07 +01:00
Shauren 65df9d424d Core/Trainers: Remove all "hidden" rank based requirements for learning spell from trainers and always only rely on trainer_spell.ReqAbility fields in database 2021-02-06 18:30:07 +01:00
Matan Shukry 0cae71eac5 Core/Spells: Adding SpellTargetObjectTypes to spell target checker to early-eliminate alive units (#26028)
* Added object type into checker that is used by grid search to early eliminate alive units when looking for corpses
* Removed script 'spell_hun_pet_carrion_feeder'. Ability doesn't exist anymore
2021-02-05 21:29:00 +01:00
Matan Shukry b832ed2479 Core/Auras: Implement spell effect attribute NoScaleWithStack (0x40) (#26029) 2021-02-05 19:05:06 +01:00
Shauren 875fd4107f Core/SAI: Added SAI support for new areatriggers 2021-02-05 18:12:55 +01:00
Shauren db18aacc1f Core/Spells: Define spell effect attributes 2021-02-05 00:13:31 +01:00
Shauren 94397ac56c Core/Auras: Rename two more aura types 2021-02-04 22:50:12 +01:00
Shauren 5b7964f1f9 Fix build 2021-02-03 21:37:30 +01:00
Shauren d697882dfb Core/Auras: Renamed a bunch of unknown or changed spell aura types and implemented some of them 2021-02-03 19:25:30 +01:00
Shauren 23144d0665 Core/AreaTriggers: Optimize target searching
* Don't visit grid objects for serverside areatriggers (search world container only for player)
* Move existing target list to "exitUnits" instead of copying it
2021-01-30 18:10:21 +01:00
Shauren 7851cd3a96 Core/AreaTriggers: Code cleanup 2021-01-30 18:10:21 +01:00
Matan Shukry 0417c5ff5f Core/AreaTriggers: Implementation for sever side area triggers
- Spawn GridLoader to spawn area triggers correctly now
- Removed SAI completely
- Removed remnants of smart scripts. Created different issue for it
- Calling InitDbPhaseShift and not InDbPhaseShift
- changed SpawnId to uint64 rather than uint32
- not using CellGuidSet typedef as to not include ObjectMgr.h in the header
2021-01-30 18:10:21 +01:00
sirikfoll e83c0b07d1 Core/Scripts: Fixed typo in spell_pilgrims_bounty_a_serving_of
(cherry picked from commit 1a638b39e374fd4733be7d13bd9e4d4052412596)
2021-01-29 19:23:53 +01:00
Andrew Letson 0ec1699585 Scripts/Northrend: Move Sholazar Basin NPCs to SmartAI
(cherry picked from commit c99b89934e872343bece31f4bd744ebaec80364f)
2021-01-29 19:23:53 +01:00
ccrs 3e5a955fc8 Core/AI: rearrange SAI private methods
(cherry picked from commit 60a5535f64e4c0301c338f5c7a5871c59e2ac218)
2021-01-29 19:23:53 +01:00
ccrs bf12bae467 Core/Misc: waypoint movement
- Creature: update current waypoint to store nodeId and pathId
- MotionMaster: change variable type on GetMotionSlotType and GetMotionSlot to keep consistency and prevent errors (ASSERT is now no longer needed)
- UnitAI: add new waypoint hooks WaypointPathStarted and WaypointPathEnded
- SAI: handle WAYPOINT related events if creature is no escorting
* SMART_EVENT_WAYPOINT_RESUMED still not implemented for no escorting

TODO: the new hooks can save, now duplicated, logic on EscortAI and SAI

closes #20777
updates #20310
updates 21bd52cb99

(cherry picked from commit e10d7dd45cfc073c791cd5e5f3f964d14b37df3d)
2021-01-29 19:23:53 +01:00
Nathan Handley 502f77fe8c Core/Misc: Add functionality to allow low level quests/kills/discoveries to grant experience
(cherry picked from commit 6612ec47f4cd3b8c58f3fcde0c412e6fd3e68b48)
2021-01-29 19:23:53 +01:00
Wyreth 0c6447f94c Scripts/Tanaris: move Aquementas to SAI & improve related event (#20464)
* Script/Tanaris: move Aquementas to SAI and improve related event

Closes #11668

(cherry picked from commit 8888e6d96d026597190190d8f5f554d52df61216)
2021-01-29 19:23:53 +01:00
Andrew Letson b6f1ab5526 DB/Creature: Coosh'coosh to SAI
(cherry picked from commit 7822f058b0ee997d4c114b60ec9ea5ddc2cc2874)
2021-01-29 19:23:53 +01:00
Robingad 22d6ea3620 Core/Auras: Fixed stacking SPELL_AURA_MOD_CRIT_DAMAGE_BONUS with SPELLMOD_CRIT_DAMAGE_BONUS (#25978) 2021-01-29 10:52:38 +01:00
Matan Shukry db6eb69465 Core/Quests: Automatically add quests with AUTO_PUSH flag to player (#25938)
* Removed check for world quests on criteria tree reset
* Quests are currently filtered by their tag to only allow untagged or tag == 0 quests (other types are unsupported)
2021-01-29 10:50:02 +01:00
Osleyder Gonzalez Acosta d4ad987010 Core/Misc: Update a few enums from db2 to 9.0.2 (#25956) 2021-01-28 22:02:03 +01:00
MaxtorCoder b0e71506a4 Core/Misc: Define a lot of new enum members (#25959)
- Languages.db2
- EmotesText.db2
- Emotes.db2
- SkillLine.db2
- TotemCategory.db2
- BattlemasterList.db2
2021-01-26 22:57:27 +01:00
Matan Shukry 6dbaba7669 Core/Player: remaining XP logging overflow correction (#25934) 2021-01-26 16:48:28 +01:00
Osleyder Gonzalez Acosta 8ce9b69de3 Core/GameObjects: Allow setting GameObject anim kits in database (#25941)
Necessary to be able to see the new visual effects of the gameobjects such as the portals in the Portals Halls of Orgrimmar and Stormwind.
2021-01-25 23:17:20 +01:00
Robingad 5274f5ea54 Core/Commands: Fixed .go zonexy command (#25825) 2021-01-25 18:29:59 +01:00
Matan Shukry afbe45091d Core/Misc: Added more quest sort enums from db2 (#25946) 2021-01-25 18:17:58 +01:00
Shauren e3a9b18567 Core/Quests: Fixed marking quest objectives as complete clientside for objectives using flagging instead of counters 2021-01-25 16:18:53 +01:00
Matan Shukry e601c6d1f9 Core/Spells: Implemented summoning a personal gameobject effect (#25917) 2021-01-23 16:44:47 +01:00
Matan Shukry 1d51013b71 Scripts/Commands: Fixed .modify gender not setting correct customizations (#25920) 2021-01-23 15:35:22 +01:00
arcaniafr f34c18fb54 Core/Misc: Fix loading error log in the LoadTrainers (#25916) 2021-01-23 12:11:16 +01:00
Matan Shukry e08910deaf Core/Spells: IsAllowingDeadTargets now checks effects targets as well (#25914) 2021-01-22 21:24:07 +01:00
dr-j 9f32181ccb Quest/Script: Conversion of Bristlelimb Cage/Stillpine Captive cpp to SAI
Closes #19868

(cherry picked from commit 3bb5f17ff5ff8b208139388dce7411f6d55aa45e)
2021-01-21 22:30:40 +01:00
Aokromes 41a4692de3 Core/Logs: Add load time to some logs like every other load log
(cherry picked from commit 4289eae5e754c3abba85998045d958cfbef36abd)
2021-01-21 22:30:40 +01:00
Aokromes 93552510ab Core/Logs: Fix more logs
the others have exit,so they continue to be error because they are critical

(cherry picked from commit b68484cfb0c371dc8de24acf533a20cb5277d2fd)
2021-01-21 22:30:40 +01:00
Aokromes 848b60bff4 Core/Logs: Fix some logs
(cherry picked from commit 5f7ba453ce598f61c4f32958f21c7ad1bbf0fa9d)
2021-01-21 22:30:40 +01:00
tkrokli 0d32a1ef0f Scripts: tabs2spaces cleanup after commit cc89428
Thanks to Wyreth for reporting the overlooked tabs.

(cherry picked from commit bbd339370ed2eea5f12e79a977fd9e0e93543101)
2021-01-21 22:30:40 +01:00
Wyreth 45dbce6d78 Scripts/Northrend: talk event for quest A Suitable Test Subject (#20462)
- When using the quest item for A Suitable Test Subject and the spell aura vanishes,
  Bloodmage Laurith should turn toward the player and whisper a line.
- This is handled via spell event for Bloodspore Ruination (45997)

(cherry picked from commit fda99b2972aed2b98642f8974e34c5b18f7f3676)
2021-01-21 22:30:40 +01:00
Malleus 8eaf992f3e Script/Quests: Fix some missing NPC spells and quest credit
(cherry picked from commit cc894288b77299e9e73f322869f16c2791435104)
2021-01-21 22:30:40 +01:00
Killyana e73bd9763f Creature/Scripts: Add Aggro sound to Cairne Bloodhoo, Sylvanas Windrunner and Thrall
(cherry picked from commit 48ecd81d614559c6f023aa8910a99901d9d794b5)
2021-01-21 22:30:40 +01:00
Gerhood 4024df122a Calendar/GameEvents: Store + send holiday data (#20117)
Close: #16845
(cherry picked from commit 951fa46fe9b14a9e275ac9306b2346959e40e3e5)
2021-01-21 22:30:40 +01:00
Keader 2cb3d9514d Typo
(cherry picked from commit 04271388f8ba5160de0411451673a67a6828ae8a)
2021-01-21 22:30:40 +01:00
Keader 8a6fdb7a21 Scripts/BlackTemple: Updates on Illidan encounter
- Fixed issues related with Parasitic Shadowfiend
- Updated script to new model
- Fixed loop of Parasitic Shadowfiend Summon
- Added a new spell (SPELL_REMOVE_PARASITIC_SHADOWFIEND)
- Fixed illidari elite attacking players
- SPELL_PARASITIC_SHADOWFIEND now is a negative aura

(cherry picked from commit 90f07bd948546595a04d7633eaa95a463f0ce6f9)
2021-01-21 22:30:40 +01:00
Matan Shukry bb24c6a11b Core/logs: added xp info on login & logout (#25867)
* Core/logs: added xp info on login & logout

* - Moved getters to header
- Changed %s to %u
2021-01-17 17:08:22 +01:00
Shauren 28d470c50e Build fix 2021-01-15 15:47:59 +01:00
Shauren b2ddf547ff Core/Spells: Defined new spell attributes 2021-01-15 14:21:02 +01:00