Commit Graph

15254 Commits

Author SHA1 Message Date
offl
ba7f11c5f6 Scripts/Utgarde Pinnacle: Update Gortok Palehoof to new model (#26370)
* Scripts/Utgarde Pinnacle: Update Gortok Palehoof to new model

* RegisterGameObjectAI > RegisterUtgardePinnacleGameObjectAI

Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-12 15:01:52 +02:00
offl
3ece1ee87c Scripts/VoA: Update remaining scripts to new model (#26372)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-12 15:00:26 +02:00
Jan Van Buggenhout
f0536cf465 Core/Shared: Remove unneeded DetourNavMesh.h include from SharedDefines.h (#26374) 2021-04-12 14:59:00 +02:00
offl
8d9f24bb18 Scripts/Utgarde Keep: Update Ingvar to new model (#26369)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-12 14:58:09 +02:00
offl
94299a3ae9 Scripts/Violet Hold: Update Cyanigosa to new model (#26371)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-12 14:56:43 +02:00
Mikhail Redko
1539bed3db Core/Misc: Fixed utf8 encoding in console input/output. (#26352)
* Core/Misc: Fixed utf8 encoding in console input/output.

* Fix gcc build

* Fixed that weird 'a' with circle above it and other similar letters. Also fixed encoding in AppenderConsole which sometimes did not work as it should

* Fix build on Linux

* Probably better to do it like this
2021-04-11 19:41:44 +02:00
Gildor
6bdfa91fa7 Core/Spells: players shouldn't force their orientation (serverside) on each periodictick when channeling (#26363)
* Core/Spells: players shouldn't force their orientation (serverside) on each periodictick when channeling

* apply @Ovahlord feedback
2021-04-11 13:57:14 +02:00
offl
11ba46d64b Scripts/Spells: Update hunter spells to modern standards (#26366) 2021-04-11 13:56:45 +03:00
offl
5715ed009d Scripts/Spells: Update warrior spells to modern standards (#26365) 2021-04-11 13:56:30 +03:00
offl
b1e4d934ed Scripts/Spells: Update shaman spells to modern standards (#26361) 2021-04-11 13:56:04 +03:00
offl
7cb9cd90f0 Scripts/Spells: Update priest spells to modern standards (#26359) 2021-04-11 13:55:47 +03:00
Ovah
6215cb4e00 Core/Spells: implement SpellInfo helper to filter for relevant mechanic immunities in spell_start packet (#26183)
* Core/Spells: implement SpellInfo helper to filter for relevant mechanic immunities when sending SMSG_SPELL_START packets.

According to sniff analysis Blizzard does not send all mechanic immunities of creatures but instead only the ones that are responsible for actual interrupts which are MECHANIC_INTERRUPT  and MECHANIC_SILENCE. Additionally we no longer send immunities for instant cast spells as sniffs confirm that they are not sent for spells without a cast time.
2021-04-11 12:51:58 +02:00
Jan Van Buggenhout
43dd1b37d6 Core/Entities: Move GridObject to its own header (#26358)
* GridObject

* Add include to more files
2021-04-11 12:50:13 +02:00
jackpoz
f8bd46cf8c Core/Misc: Fix typo 2021-04-11 12:48:41 +02:00
jackpoz
11d9a4e251 Core/PlayerStats: Fix PlayerSave.Stats.MinLevel not saving spell crit percentage
Fix PlayerSave.Stats.MinLevel always saving 0.0f in spellCritPct database field of table character_stats. As there is a percentage for each school but the table has only 1 column, the max value will be saved.
Fix #15928
2021-04-10 21:14:36 +02:00
offl
e6d9d9ead9 Core/Misc: Define / rename attributes and flags (#26315)
Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com>
2021-04-08 19:28:02 +03:00
Giacomo Pozzoni
9aff21b3d5 Scripts/Commands: Add ".list auras id <aura id>" and ".list auras name <name part>" subcommands (#26346)
Add ".list auras id <aura id>" and ".list auras name <name part>" subcommands to allow filtering the auras
2021-04-08 15:34:09 +02:00
jackpoz
2cea7d000c Scripts/Commands: Restore ".character level" command behavior
Restore ".character level" command behavior by setting the level instead of adding the level
2021-04-05 19:44:54 +02:00
Matan Shukry
ee839fee1e Core/SAI: Added new Flags argument for SMART_ACTION_SUMMON_CREATURE (#26055)
* Added personalSpawn for SMART_ACTION_SUMMON_CREATURE
* Added flags for smart action summon creature, including prefer unit and personal spawn. When preferUnit flag is chosen only the unit will be chosen, even if nullptr

(cherry picked from commit e0278f0537)

# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.cpp
#	src/server/game/AI/SmartScripts/SmartScriptMgr.h
2021-04-05 17:29:41 +02:00
Mikhail Redko
6a72f9fbfd Core/Player: Fix output of .additem command with negative count value (#26290) 2021-04-04 22:19:29 +02:00
CraftedRO
db69b832b9 Group repair command attempt (#26304)
* Group repair command attempt

* Update cs_group.cpp
2021-04-04 22:01:46 +02:00
killerwife
00da074109 MapExtraction: Fix water height redundancy algorithm ignoring "no water" (#26324)
* MapExtraction: Fix water height redundancy algorithm ignoring "no water"

* Update MMAP_VERSION

* Change map version

Co-authored-by: jackpoz <giacomopoz@gmail.com>
2021-04-04 21:52:57 +02:00
Giacomo Pozzoni
42877e75e2 Core/Maps: Change .map file version from FourCC to uint32 (#26326) 2021-04-04 21:49:50 +02:00
Keader
c6e2b6e88c Revert "Core/Spells: Spells with Attribute SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY should dispel snare auras. (#20621)"
This reverts commit b507acf1c0.
2021-04-03 10:20:16 -03:00
offl
293ae05d31 Scripts/Quest: Rework 'Basic Orders' (25199) (#26294) 2021-04-03 00:27:59 +03:00
Gildor
80f30d5ca9 Core/Maps: increase value of fixed offset when retrieving floor Z (#26321) 2021-03-26 13:26:21 +01:00
offl
1a624cad36 Scripts/Ahn'kahet: Herald Volazj texts (#26202)
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-03-20 17:00:12 +02:00
Jakub Cieplinski
397d4b5d05 Group level up (#26139)
* First version of command handler

* Done HandleReviveAllCommand

* Moved command to group subcommonads

* Added group level up

* Removed empty line

* Added additional nullchecks

* Removed newline

* Code styling

* Added group set level command

* Removed whitespace

* Removed group set level command

* Unnecessary comma

* Added check for level lower bound
2021-03-20 12:21:22 +01:00
offl
df8ab338c7 DB/Quest: Rework 'Avruu's Orb' (9418) 2021-03-15 01:09:31 +02:00
offl
c905af818c DB/Quest: Rework 'A Spirit Guide' (9410) 2021-03-14 03:20:36 +02:00
offl
43fa6698d7 DB/Quest: Rework 'The Road to Falcon Watch' (9375)
Closes #26233
2021-03-14 03:17:43 +02:00
offl
62594c62f6 Scripts/Misc: Let core take care of Feign Death related flags 2021-03-12 18:06:10 +02:00
offl
d0b67aecb6 Scripts/Spells: Feign Death & 'prevent emotes flag' spell scripts (#26198)
Closes #25842 Ref #25764
2021-03-11 20:20:34 +02:00
offl
5a22cd868a Scripts/The Eye: Update instance script (#26190) 2021-03-11 20:19:23 +02:00
offl
10304a8875 Core/Spells: Apply UNIT_FLAG_IMMUNE after applying SPELL_AURA_DAMAGE_IMMUNITY (#26187) 2021-03-11 20:16:36 +02:00
offl
d6c8359224 DB/Spells: Sayge's Carnie Buff & Buffeting Winds of Susurrus
Ref #24663
2021-03-11 18:26:23 +02:00
Shauren
a34519bded Core/Units: Renamed unknown unit flag (UNIT_FLAG_UNK_29 -> UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT) 2021-03-02 23:11:49 +01:00
Keader
06c1f728ba Script/Ulduar: Fixed conflict with Random Aggro Periodic spell (#26184) 2021-02-28 17:22:29 -03:00
Jakub Cieplinski
97e41645d3 Revive all command (#26127)
* First version of command handler

* Done HandleReviveAllCommand

* Moved command to group subcommonads

* removed empty row

* nullptr check for player target
2021-02-27 14:04:07 +01:00
Shauren
fd54f19d41 Core/SAI: Reserve master branch SAI action id 143 2021-02-27 11:46:40 +01:00
Kargatum
b0aaccb908 Core/ThreadManager: delete double include "TemporarySummon.h" (#26163) 2021-02-25 17:46:54 +01:00
robinsch
60680283db Core/LFG: Fixed incorrect role check timer unit (was milliseconds instead of seconds) (#26145) 2021-02-24 21:20:47 +01:00
jackpoz
7635f3f948 Scripts/Ulduar: Apply renames of #25529
Apply renames of #25529 to review that PR easier
2021-02-23 19:36:33 +01:00
offl
cdb7904182 DB/Instance/Gruul's Lair: Overhaul 2021-02-22 17:20:03 +02:00
Gildor
6e1b9d775c Core/Spells: Warlock Death Coil shouldn't be able to crit (#26118) 2021-02-21 22:23:33 +01:00
Giacomo Pozzoni
f96aab2186 Core/Maps: Use a fixed offset instead of full collision height when retrieving floor Z (#26092)
Use a fixed offset 0.5f instead of full collision height when retrieving floor Z as a full collision height ended up on the floor above a few times. It makes more sense to cast the ray just a bit higher up than using a full collision height (which by default is 2.0f)
2021-02-21 17:29:09 +01:00
Metalaka
69916138bd Core/Unit: Fix glancing blow calculation (#26120)
* Fix glancing blow calculation

* Comment readability improvement

Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com>

* Update src/server/game/Entities/Unit/Unit.cpp

Co-authored-by: Metalaka <Metalaka@users.noreply.github.com>

* Tabs to spaces

Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-02-21 17:28:47 +01:00
jackpoz
8014fa1a2f Revert "Core/Unit: Improve Glancing Blow calculation (#26100)"
This reverts commit c3165dce31.
2021-02-20 15:21:38 +01:00
Metalaka
c3165dce31 Core/Unit: Improve Glancing Blow calculation (#26100)
* Core/Unit: Improve Glancing Blow calculation

* Fix minimum reduction of Glancing Blow

* Fix comment

* Fix glancing minimum damage reduction
2021-02-19 18:13:10 +01:00
offl
6ad76dd7c0 DB/Instance/The Eye: Overhaul part 2 2021-02-19 00:40:50 +02:00