Commit Graph

20369 Commits

Author SHA1 Message Date
lee
063d9b156d Scripts/Battle for Mount Hyjal:Fix wrong npc text,trash movment,archimode last phase (#27910)
* Fix wrong npc text,trash movment,archimode last phase

1.Fix wrong npc text for Jania,Thrall,Tyrande.
2.Change Hyjal trash movement from walk to run.
3.Fix archimode drain worldtree event.
4.Fix archimode below 10% hp phase.Case Protection of elune on player.

* fix code style

fix code style

* fix wrong type

* Revert "fix wrong type"

This reverts commit 204c45f7d7.

* fix wrong type

* Update boss_archimonde.cpp

* add missing Creature Text

* fix code style

* Update hyjalAI.cpp

* do some work to prevent respawn mobs in combat

* remove dup yell at alliance base

* fix code style

* fix SPELL_METEOR unvisiable when spawn Giant Infernal

* change to DoCastSelf

* hide archimonde doomfire spirit visual

* fix code style

* fix SQL warning when startup server

* fix code style

* move SetRun out of constructor

* remove target list

* move setRun

* fix code style

* Change npctext ID to high ID.Fill text into Creature Text

Change npctext ID to high ID.
Fill text into Creature Text.

* Remove Magic Numbers

* change npctext high ID

* fix change high npc_text id in code

* remove setCanFly,add flight state to db

* change npc_text id

* change npc yell condition after second boss dead

* update npc_text IDs taken from sniff file.

Updated IDs taken from sniff file provided by Aokromes.

* remove MoveInLineOfSight

* move protection_of_elune immuity effect to spell script

* move worldtree channel target to db

Move worldtree channel target to db
Fix wrong position and movement_type of worldtree channel target

* update wrong npc_text IDs in code

* remove CastProtectionOfElune

* remove SetVisible(false),change flags_txtra of doomfire(18095) and doomfire_spirit(18104)

* update sql

* fix compile error

* revent spawntime,move guards say slay and say death to db

* Move code from Initialize() to Reset()

Move code from Initialize() to Reset()

Move code from Initialize() to Reset()

Update boss_archimonde.cpp

* remove unneeeary ->AI()

* Update hyjal_trash.cpp

* Update src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp

* Update src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp

* Rename 9999_99_99_world.sql to 2022_09_11_00_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit fea9de5b17)
2022-09-29 21:59:52 +02:00
Shauren
ffbde7cccc Core/Auras: Fixed requireImmunityPurgesEffectAttribute logic for school immunities
Closes #28237

(cherry picked from commit a55a566602)
2022-09-29 21:45:57 +02:00
M'Dic
400b8e3192 Scripts/Events: Ironforge hourly bell event correction (#28234)
Changes go_bells script to play the BellTollDwarfGnome once at every hour.

References:
https://www.reddit.com/r/classicwow/comments/ou0rw5/question_what_is_that_super_loud_bellowing/
cherry-pick commit (Hourly bell: Dwarf horn sound should only play once vmangos/core#1569)

Co-authored-by: schell244 <9536270+schell244@users.noreply.github.com>
(cherry picked from commit 5ec5e1e1d0)
2022-09-29 21:44:13 +02:00
Shauren
0c90378cec Core/Players: Fixed pvp talents being removed and immediately readded from players when entering/leaving Orgrimmar and Stormwind 2022-09-29 20:51:17 +02:00
DeadMouse
5c5446d63e Core/PacketIO: Fixed loading PreloadPos in character enum packet (#28285) 2022-09-24 23:57:12 +02:00
Meji
bc18b72d80 Core/Units: Set UNIT_FLAG2_UNTARGETABLE_BY_CLIENT as allowed flag for database column (#28281) 2022-09-24 21:43:58 +02:00
Teleqraph
68d6044a5c Scripts/Silverpine: Implemented quest The Warchief Cometh (questid 26965) (#28251) 2022-09-21 15:05:58 +02:00
Aqua Deus
56ef6c06eb Core/Spells: Fix glyph of stars (druid) (#28258) 2022-09-19 20:07:00 +02:00
Meji
b4d2166f0c Core/Items: Added correct context and bonus calculation for character loadout items (#28242) 2022-09-19 13:27:58 +02:00
Shauren
301572212f Core/Misc: Changed string formatting functions to accept std::string_view as format argument instead being templated on it to slightly improve compile times and reduce executable size 2022-09-19 00:33:19 +02:00
Shauren
f67cd38312 Core/Player: Extend action button value to uint64 to be able to hold battle pet guids 2022-09-18 23:52:17 +02:00
Meji
e15898bf56 Core/Player: Allow companion action buttons to be saved 2022-09-18 23:52:17 +02:00
Shauren
cbf2064c62 Core/Loot: Refactored Player::SendLoot to accept Loot object directly 2022-09-18 18:24:57 +02:00
Shauren
8c20f620d7 Core/Loot: Move loot generation out of Player::SendLoot 2022-09-18 16:33:38 +02:00
Shauren
c00e2e4851 Core/Loot: Simplify loot containers
* Unify items and quest_items
* Drop PlayerQuestItems and PlayerNonQuestNonFFAConditionalItems
2022-09-17 20:58:24 +02:00
Shauren
3ef5079fee Core/Loot: Move loot rolls from Group to Loot
* Partial port of cmangos/mangos-wotlk@ffdf9a05d6
2022-09-16 16:58:03 +02:00
Shauren
9700b2a786 Core/Loot: Store method used at loot generation inside Loot object 2022-09-14 22:03:47 +02:00
Shauren
f19f32f2a4 Core/Loot: Store references to Loot objects directly in players loot view map instead of guids of world objects holding that loot 2022-09-14 20:49:38 +02:00
Gosha
d0a5d04c4c Core/Battlegrounds: Corrected unit of PLAYER_POSITION_UPDATE_INTERVAL, should be milliseconds not seconds (#28247) 2022-09-14 16:08:02 +02:00
Shauren
8a183a6e5e Core/bnetserver: Implemented reconnecting with launcherlogin 2022-09-13 14:27:54 +02:00
Shauren
30ad7e3337 Core/Loot: Corrected loot release logic on leaving world and swapping bags 2022-09-13 14:10:47 +02:00
Shauren
e9d083a2ee Core/Loot: Set loot guid and type in Loot constructor 2022-09-11 18:21:01 +02:00
Shauren
78698463ff Core/Spells: Remove all hardcoded restrictions for pick pocket spell effect and rely only on presence of pickpocket loot in db 2022-09-11 14:13:10 +02:00
Ovahlord
2556d6d705 Core/Players: assign forbidden skills to a proper position to no longer interfere with legit skills that have been stored as first element.
* This fixes aura-based skills to no longer invalidate legit skills that have been assigned to position 0, breaking them entirely in the process
2022-09-11 10:03:05 +02:00
Shauren
9cfc74d8c8 Core/Spells: Corrected implementation of SPELL_ATTR1_ALLOW_WHILE_STEALTHED and SPELL_ATTR2_ALLOW_WHILE_INVISIBLE to use DispelType instead of checking effect types 2022-09-10 21:51:04 +02:00
Meji
f75f8d9bb8 Core/Unit: Update collision height calculation (#28239) 2022-09-10 13:42:52 +02:00
Meji
1521a0d131 Core/Gossip: Fixed loading ActionPoiID data after 69e0249807 (#28240) 2022-09-10 12:46:52 +02:00
Shauren
82de680132 Core/Misc: Update ResponseCodes enum for 9.2.7
Closes #28235
2022-09-09 16:01:26 +02:00
Shauren
53d77e4bf6 Core/Misc: Fixed build with clang 13 2022-09-08 14:49:55 +02:00
Meji
69e0249807 Core/Gossip: Drop OptionType for gossip_menu_option and rename OptionIcon to OptionNpc as it also determines functionality on client side (#28220)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-09-08 14:49:03 +02:00
Aqua Deus
6e9a6700d8 Core/Auras: Implement SPELL_AURA_MOD_BONUS_ARMOR_PCT and rename HandleModStatBonusArmor (#28226) 2022-09-07 14:50:50 +02:00
Meji
8660655de0 Core/Creatures: Don't remove hovering from creatures that can fly (#28217) 2022-09-07 14:48:44 +02:00
Shauren
0f09fc355a Scripts/Spells: Fixed crash in spell_pri_atonement 2022-09-07 11:37:24 +02:00
offl
c7ab687139 Core/Creatures: Name more static flags (#28189) 2022-09-06 21:17:43 +02:00
Shauren
89652bd78f Core/bnetserver: Add compatibility for classic clients 2022-09-06 16:29:36 +02:00
funjoker
0a496d1f27 Misc: Codestyle fix 2022-09-06 10:10:21 +02:00
Shauren
d7f5c19e1a Core/Players: Properly mark all class/specialization/talent/pvp talent learned spells as dependent 2022-09-05 23:30:16 +02:00
Shauren
66b03acc47 Core/Auras: Improve aura interactions with immunities on spell effect level
* Effects that target is immune to will be suppressed instead of completely removed

Closes #28096

(cherry picked from commit 3306a4d06c)
2022-09-05 22:23:03 +02:00
Shauren
b2eeca702c Core/Spells: Move entering combat for caster and calculating crit chance to separate function called only once for each target instead of doing it once for every effect on every target
(cherry picked from commit f3384fecaa)
2022-09-05 22:23:03 +02:00
Shauren
a7b7ad94f8 Core/Spells: Simplify combat flagging code on spell launch and impact
(cherry picked from commit e2840a3f81)
2022-09-05 22:23:02 +02:00
Shauren
9bfc29f4af Core/Combat: Allow PvE combat references to become suppressed, just like PvP ones
(cherry picked from commit e8dfd8c25c)
2022-09-05 22:23:02 +02:00
Alan Deutscher
ff99952dfb Core/Spells: Delay combat flagging for spell targets until spell missile lands
(cherry picked from commit b59706c8b6)
2022-09-05 22:23:02 +02:00
Gildor
a1ddf5195b Core/Battlegrounds: Capture flag immediately when standing on capture point and your team's flag return due to drop timer ended (#28200)
(cherry picked from commit d86dcce1c8)
2022-09-05 22:23:02 +02:00
CoderKane
bd74524d4c Core/Battlegrounds: Capture flags immediately when standing on capture point and your team's flag gets returned (#28087)
Closes #28076

(cherry picked from commit 2ad36c37b4)
2022-09-05 22:23:00 +02:00
Dan Johnson
98e0acd768 Scripts/Naxxramas: Curse of the Plaguebringer should affect 10 targets in 25 man mode (#28164)
(cherry picked from commit 3735a3df0e)
2022-09-05 21:35:30 +02:00
Dan Johnson
c2cfda91a3 Scripts/Naxxramas: Fixed number of affected targets for Cripple and Curse spells in 25 man version of Noth the Plaguebringer encounter (#28161)
(cherry picked from commit 6b2fac687d)
2022-09-05 21:34:48 +02:00
offl
4462aad70f Scripts/Spells: Random fixes (#28143)
(cherry picked from commit 53cc21b1b4)
2022-09-05 21:26:35 +02:00
offl
c746d9a59c Scripts/Quest: Rework 'Fel Spirits' (10909) (#28134)
(cherry picked from commit aef55d5dfa)
2022-09-05 21:18:23 +02:00
offl
243efd378c Scripts/Spells: Script 'Hate To' spells (#28129)
(cherry picked from commit d06842d42a)
2022-09-05 21:18:23 +02:00
offl
2102eced8f Scripts/Quest: Adjustments to Runeforging (#28115)
(cherry picked from commit 444928f3c5)
2022-09-05 21:18:21 +02:00