Commit Graph

23351 Commits

Author SHA1 Message Date
offl
f89bb43419 Core/Misc: Link CREATURE_FLAG_EXTRA_INSTANCE_BIND to corresponding static flag 2021-09-22 18:06:31 +03:00
Shauren
4ec52fb160 Core/Authserver: Fix uninitialized variable, fixes changing realms after logging in to world 2021-09-20 22:03:21 +02:00
offl
c8061d8ba6 Core/SAI: Remove possibility to set/remove unit_flags2
So far I see that only Cannot Turn flag can be changed by scripts and action to change it didn't existed in 3xx. If someone will need to change that flag, it should be implemented by action which will change only that flag and not any flag of that type.
2021-09-19 02:15:09 +03:00
offl
8a70efed8c Core/Misc: Leave detailed description for UNIT_FLAG_NON_ATTACKABLE 2021-09-18 03:26:53 +03:00
offl
b4bb2bc0c5 Core/Misc: Update comments of static flags 2021-09-18 01:54:07 +03:00
Shauren
2d8d118c43 Tools/Mapextractor: Remove reading MWMO from mapextractor
Ref #26537
2021-09-17 15:31:59 +02:00
offl
f381e18244 Core/Misc: Update enums of static flags 2021-09-17 04:45:57 +03:00
offl
4b028e599e Core/Misc: Rename few type flags 2021-09-16 22:10:46 +03:00
offl
8047532605 Core/Misc: Name unknown CreatureEliteType 2021-09-16 21:48:19 +03:00
offl
4e291caff8 Core/Misc: Rename UNIT_FLAG_PVP to UNIT_FLAG_PVP_ENABLING
Ref #26912
2021-09-16 21:21:25 +03:00
offl
e4a82ee97a Core/Misc: Rename UNIT_FLAG_SWIMMING to UNIT_FLAG_CAN_SWIM
Ref #26912
2021-09-16 21:15:52 +03:00
offl
a50ce8755b Core/Misc: Rename UNIT_FLAG_TAXI_FLIGHT to UNIT_FLAG_ON_TAXI
Ref #26912
2021-09-16 04:43:06 +03:00
offl
1a9b914ac0 Core/Creature: Add first 4 enums of static flags (#26914) 2021-09-16 04:27:02 +03:00
offl
c4741a131a Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE (#26913) 2021-09-15 01:04:03 +03:00
offl
b2fffe674d Scripts/Misc: Remove useless comments & Varos' Centrifuge Shield adjustments 2021-09-14 22:18:30 +03:00
stoneharry
a18b19aece Core/Spells: Implement SPELL_ATTR7_BYPASS_NO_RESURRECT_AURA (#26901)
When this aura is given on a spell, it allows for it to bypass 314 SPELL_AURA_PREVENT_RESURRECTION.
2021-09-12 17:13:44 +02:00
Mikhail Redko
5286ecfca8 Scripts/Spells: Wandering Plague should ignore targets under breakabl… (#26889)
* Scripts/Spells: Wandering Plague should ignore targets under breakable by damage crowd control effects.
Closes TrinityCore#26162
2021-09-11 17:46:16 -03:00
offl
70c3e58327 Scripts/Creature: Update Dancing Flames (#26883) 2021-09-09 23:54:27 +03:00
offl
ff8ddbfd53 Scripts/Spells: Script for 'Injured' (22269) (#26882) 2021-09-09 23:54:05 +03:00
Shauren
8d034b2502 Core/Spells: Typo fix 2021-09-07 11:37:55 +02:00
Shauren
325bdc0ab0 Core/Spells: Remove remaining direct accesses to SpellInfo::Effects 2021-09-04 14:21:02 +02:00
offl
0e12e23f77 DB/Creature: Remove remaining non-static flags from DB, finally (#26884) 2021-09-04 02:13:45 +03:00
HelloKitty
5a60082e5d Core/QuestHandler: Fix potential crash caused by QUEST_FLAGS_PARTY_ACCEPT with conditions (#26880) 2021-09-02 08:53:43 +02:00
robinsch
0bba998622 Core/BG: Do not allow to queue rated arena without a group (#26875) 2021-09-01 12:07:04 +02:00
Gildor
188b074f3c Core/Disables: Fixed params_1 (SPELL_DISABLE_AREA) data loading for DISABLE_TYPE_SPELL (#26878) 2021-09-01 12:06:30 +02:00
offl
fd9d04062c DB/GameObject: Update Toy Train Set 2021-08-31 23:51:35 +03:00
Shauren
c3455595fc Core/Misc: Fixed effect index check in ObjectMgr::LoadSpellScripts 2021-08-31 21:59:22 +02:00
Shauren
6ad58d604a Core/Misc: Fix windows nopch build
Closes #25363
2021-08-31 13:46:17 +02:00
Giacomo Pozzoni
3af4d17188 Handle deprecated SAI actions and events (#26846)
* Core/SAI: Show a clear error for no longer supported SAI actions

* Core/SAI: Show a warning for deprecated SAI events, still loading them.

Disable log "sql.sql.deprecation" in config if you want to ignore the warning
2021-08-31 09:23:24 +02:00
Shauren
e50102178b Core/Spells: Spell effect info access refactoring part 3 - removed direct SpellInfo::Effects field access from game 2021-08-31 00:13:44 +02:00
Shauren
665f215486 Core/Spells: Fixed implementation of Spell::EffectRechargeManaGem when it is not the first effect on a spell (0 cases, sync code between branches) 2021-08-30 23:51:46 +02:00
Shauren
0c9cc0c8ae Core/Auras: Changed aura dot stacking rule to not ignore aura type of "existingAura" 2021-08-30 23:51:46 +02:00
Shauren
7440c9cf19 Core/Spells: Removed SpellEffIndex effIndex argument from spell effect handlers 2021-08-30 23:51:37 +02:00
Kelno
462e11c96f Remove combo points on a creature when it evades (#26836) 2021-08-30 11:27:51 +02:00
trickerer
8729bec844 Core/Combat Fix first autoattack being skipped after charging (#26860)
Fixes #25014
Fixes #24626
2021-08-30 11:26:37 +02:00
Giacomo Pozzoni
cb764a932d Core/SAI: Change error to warning for unused parameters (#26848)
Change error to warning for unused parameters and load the scripts instead of skipping them
2021-08-30 11:20:31 +02:00
Gildor
0fad28e4ab Core/Unit: improve SPELL_AURA_MOD_IMMUNE_AURA_APPLY_SCHOOL immunities (#26849) 2021-08-30 11:19:32 +02:00
Shauren
5ccf7164cb Build fix 2021-08-29 22:14:34 +02:00
Keader
1fd95cef7c Scripts/Black Temple: Removed Illidari Council Enconter Frame 2021-08-29 17:09:48 -03:00
Keader
551c2c2de7 Core/Spells: Fixed Travel time of Scatter Shot / Silencing Shot
Proofs:
https://www.youtube.com/watch?v=GwTc98-X60E (06:52, 09:15) - original link: https://www.warcraftmovies.com/movieview.php?id=158811
https://www.youtube.com/watch?v=G_m9hwU75No (00:46, 01:36)
https://www.youtube.com/watch?v=zLBpEslWusw (04:58) - original link: https://www.warcraftmovies.com/movieview.php?id=136161
2021-08-29 16:59:58 -03:00
Shauren
6573395f24 Core/Spells: Spell effect info access refactoring part 2 - passing SpellEffectInfo as arguments directly instead of SpellInfo + effect index 2021-08-29 21:12:49 +02:00
ccrs
505e91a016 Scripts/VioletHold: f661bc6 follow-up - remove remnants of SetVisible calls from npc_sinclari_vh 2021-08-29 13:42:51 +02:00
ccrs
4c0ff09171 Scripts/VioletHold: corrections to violet_hold_trashAI to prevent trash npcs being stuck in place forever if SPELL_DESTROY_DOOR_SEAL is no longer being casted for w/e reason 2021-08-29 13:33:45 +02:00
Shauren
4c59532865 Core/Spells: Begin unifying spell effect access api with master branch
* Introduce SpellInfo::GetEffects and SpellInfo::GetEffect functoins
2021-08-28 23:42:25 +02:00
Shauren
203f175ec9 Core/Vehicles: Remove unused field 2021-08-28 13:35:21 +02:00
Giacomo Pozzoni
d9a0db79a8 Core/DB: Improve MySQL version check messages (#26866)
* Core/DB: Improve MySQL version check messages

* Make it more clear that any version above the required one is supported

* Implement feedback
2021-08-27 18:40:20 +02:00
offl
afafff57a8 DB/Quest: Rework 'Bitter Departure' (12832) 2021-08-24 23:27:14 +03:00
offl
2f02c2fb86 DB/Creature: Get rid of more flags
Ref #25764
2021-08-23 00:08:36 +03:00
offl
354a45b09d DB/Creature: Get rid of more Feign Death flags
Ref #25764
2021-08-22 19:18:54 +03:00
Ovah
a0aa9730e2 Core/Quests: check PreviousQuestID values as well when trying to make quest groups available to players (#26769)
* Core/Quests: check PreviousQuestID values as well when trying to make a quest available to support quest group requirements for another quest group

* checking for previous quests via NextQuestID only works for single followup quests. However, if we want to make multiple quests available after rewarding all quests of an exclusive group we have to consider PreviousQuestID values as well as every single quest of the next quest group has to check the rewarded exclusive group

* only check for previous quests that must be rewarded instead of being active
2021-08-22 09:58:46 +02:00