Commit Graph

946 Commits

Author SHA1 Message Date
offl
0ddcfbf8a0 Scripts/Spells: Update Winter Veil holiday scripts to new register model (#26668) 2021-07-11 14:57:37 +03:00
offl
160d477811 Scripts/Spells: Update rogue scripts to new register model (#26667) 2021-07-11 14:57:28 +03:00
offl
9791f74ab9 Scripts/Spells: Update warlock scripts to new register model (#26666) 2021-07-11 14:57:16 +03:00
offl
741ebf8144 Scripts/Spells: Update mage scripts to new register model (#26665) 2021-07-11 14:57:05 +03:00
offl
31cc837005 Scripts/Spells: Update paladin scripts to new register model (#26664) 2021-07-11 14:56:28 +03:00
offl
484531d1b8 Scripts/Spells: Update death knight scripts to new register model (#26663) 2021-07-11 14:56:17 +03:00
jackpoz
33dace231c Core/Misc: Fix issues reported by static analysis 2021-06-20 13:11:53 +02:00
offl
e7e4786606 Scripts/Spells: Add comments with id & name of spells part 4 2021-05-31 20:35:03 +03:00
offl
03c727326d Scripts/Spells: Add comments with id & name of spells part 3 2021-05-31 04:13:29 +03:00
offl
0e804c95ac Scripts/Spells: Add comments with id & name of spells part 2 2021-05-29 20:47:46 +03:00
offl
80a4b7f1e2 Scripts/Spells: Add comments with id & name of spells part 1 2021-05-28 17:33:15 +03:00
Edder
3e407c7d1c Core/Quest: Threat From Above (#26468)
* [Quest] Threat From Above #26355

* [Quest] Threat From Above TrinityCore#26355

* Core/Quest: Threat From Above #26468 - modified sql according to guidelines; added override keyword

* Rename 2021_04_24_00_world.sql to 2021_04_25_00_world.sql

Co-authored-by: Edder <d.rosenauer@gmail.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-04-25 11:36:54 +02:00
offl
89c998c08d Scripts/Spells: Add script for Salvage Wreckage & update similar scripts (#26357)
Closes #25099
2021-04-13 13:44:15 +03: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
offl
293ae05d31 Scripts/Quest: Rework 'Basic Orders' (25199) (#26294) 2021-04-03 00:27:59 +03: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
Gildor
ca253e4124 Scripts/Events: Fix achievement in Love is in the air: "Lonely?" (#26083)
* Scripts/Events: Fix achievement in Love is in the air: "Lonely?"

* apply @keader feedback ;)

* apply @jackpoz feedback ;)

* @jackpoz feedback
2021-02-18 19:39:03 +01:00
Gildor
770a4499df Core/Spells: Fix Seed of Corruption (Warlock) target selection (#26019)
* Core/Spells: Fix Seed of Corruption (Warlock) target selection

* unneeded things
2021-02-06 19:17:54 +01:00
Keader
740a59d1cd Scripts/Priest: Fixed Lightwell getting removed in first damage
* Spell should drop charge, only when damage > 30% of total health.
2021-01-17 10:22:02 -03:00
Mikhail Redko
a9db8a9b9a Scripts/Spells: Implement effect "Party Time" & Add Rejuvenation when eating Deviate Fish (#25802)
* Scripts/Spells: Implement effect "Party Time" & Add Rejuvenation when eating Deviate Fish

* Rename XXXX_XX_XX_XX_world.sql to 2021_01_06_08_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-01-06 20:47:58 +01:00
Mikhail Redko
65083dc936 Scripts/Spells: Implement hunter pet talent "Improved Cower" (#25804)
* Scripts/Spells: Implement hunter pet talent "Improved Cower"

Closes #25600

* Rename XXXX_XX_XX_XX_world.sql to 2021_01_06_07_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-01-06 20:43:20 +01:00
Kargatum
a32b6b8ac4 Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf
2021-01-03 11:47:07 +01:00
offl
dc4cb8f1d3 DB/Quest: Convert & update support for 'Prison Break' (11587) to SAI 2020-11-10 00:36:00 +02:00
Keader
4fcd6ddb74 Scripts/Spells: Fixed some code style issues
Follow up: 18e88653b9
2020-08-29 11:33:09 -03:00
Moki
18e88653b9 Scripts/Spells: Transfer Nurturing Instinct in spell_druid.cpp (#25307)
* Scripts/Spells: Transfer Nurturing Instinct in spell_druid.cpp

* Fix travis

* Rename 2020_08_xx_xx_world.sql to 2020_08_29_01_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-08-29 13:09:16 +02:00
Shauren
74a0d579ee Core/Pets: Fixed automatic resurrecting pets on battleground graveyards
Closes #25289
2020-08-20 18:44:36 +02:00
Shauren
7d4fbf706a Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it 2020-08-20 16:03:47 +02:00
Shauren
7a5a010d41 Scripts/Spells: Convert remaining spell_generic scripts to simplified script registration using new additional constructor argument support 2020-08-20 15:58:57 +02:00
Shauren
5c1fc5e387 Core/Pets: Pet management refactoring (#25191)
* Core/Pets: Pet management refactoring

* Preload basic pet data on character login with async query
* Load additional pet data (declined names/auras/spells/cooldowns) using async query after we are sure pet loading will succeed
* Remove all select queries related to pet stable/unstable
* Remove all silent pet deletions except explicit UI-triggered abandons
* Fixed displaying stable master content when current pet is not summoned
* Allow to stable/swap unsummoned current pet

Closes #3610
Closes #21266
2020-08-16 21:39:25 +02:00
Peter Keresztes Schmidt
6c7837f947 Core/Unit: Make HandleEmoteCommand typesafe (#25249)
* Scripts/ScarletMonastery: Fix wrong emote during Headless Horseman encounter

* Scripts/HoR: Fix wrong emote during escape event

* Core/Unit: Make improve type safety of HandleEmoteCommand

Change argument type to the expected enum type Emote

* Scripts/CoS: Use SetUInt32Value to set UNIT_NPC_EMOTESTATE

UNIT_NPC_EMOTESTATE is no flag field
2020-08-15 15:29:43 +02:00
Rothend
a375f15ae2 Script/Quest: fix (More) Torch Catching (#24907)
* Script/Quest: fix (More) Torch Catching.

Closes #24893

Co-authored-by: Carbenium <carbenium@outlook.com>
2020-08-12 13:40:28 +02:00
Carbenium
8642aaaf92 Core/WorldObject: Replace non-std::chrono SummonGameObject overloads
Also fix intended despawn time of GOs used by the "Engineering a Disaster" quest
2020-07-27 23:00:51 +02:00
Carbenium
5832790428 Scripts/World+Outland+Spells: Use std::chrono overload of Creature::DespawnOrUnsummon 2020-07-26 22:21:59 +02:00
Treeston
896b68d5c2 Core/Time: Rename GetGameTime{System, Steady}Point methods
The names are a bit unhandy. Rename them (shorter but still meaningful).

GetGameTimeSystemPoint() -> GetSystemTime()
GetGameTimeSteadyPoint() -> Now()

Also add 2 new typedefs:

typedef std::chrono::steady_clock::time_point TimePoint;
typedef std::chrono::system_clock::time_point SystemTimePoint;

Closes #25042
2020-07-17 17:05:55 +02:00
Peter Keresztes Schmidt
c92950b3e1 Core/DataStores: Update DBC field names to generated ones (#24999) 2020-07-12 15:36:55 +02:00
Keader
4418450804 Scripts/Warrior: Fixed a typo on intervene script 2020-07-01 07:31:51 -03:00
Keader
6d16c39e76 Scripts/Warrior: Implemented threat effect of Intervene 2020-06-28 13:14:25 -03:00
Shauren
0468c70dfe Core/Maps: Implemented getting area id from gameobject spawns
Yes, you can now spawn LK platform anywhere and it will treat you as inside Icecrown Citadel

(cherry picked from commit 42f9deb21e)
2020-06-27 20:23:30 +02:00
Rothend
5f35bf9e79 Script/Spell: fix Midsummer's Juggling Torch (#24885)
* Script/Spell: fix Midsummer's Juggling Torch.

Closes #17446

* Remove unneeded GetPosition() call, thanks jackpoz for noticing!

* Rename 9999_99_99_99_world_midsummer_torch_juggling.sql to 2020_06_24_01_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-06-24 21:26:01 +02:00
Rothend
c4caae9b6d Script/Spell: properly round damage of Seal of Righteousness (on-hit proc). (#24821) 2020-06-17 19:28:05 +02:00
Sorikoff
34fecde022 Scripts/Pet: Lil' K.T (#24528)
* Lil' K.T.

* Rename 9999_99_99_99_world_335.sql to 2020_05_10_00_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-05-10 16:23:13 +02:00
Keader
94aff38187 Scripts/Spells: Fixed Mages 2P T10 proc delay (#24496) 2020-04-26 22:33:40 -03:00
jackpoz
cb41c8828f Core/Misc: Replace tabs with spaces 2020-04-05 19:11:01 +02:00
jackpoz
caae3886d2 Core/Misc: Remove whitespace at the end of lines 2020-04-05 19:11:00 +02:00
Giacomo Pozzoni
468ecb7252 Core/Logs: Log full guid instead of just low guid 2020-04-05 19:10:57 +02:00
Keader
ed1520bda1 Script/Spells: Fixed some codestyle issues of previous commit 2020-04-03 14:00:46 -03:00
Alan Deutscher
2b1b36f561 Scripts/Spells: prevent Drain Soul from cancelling prematurely (#24378)
More info at https://github.com/TrinityCore/TrinityCore/pull/24390#issue-398263036
2020-04-03 13:57:20 -03:00