Keader
e15354dc7f
Scripts/Spells: Fixed Black Magic proc with some druid spells ( #24002 )
2019-12-30 10:42:21 -03:00
Keader
ecd4ffc1ce
Build fix
2019-12-15 12:40:26 -03:00
Killyana
6ca4f340bd
Tabs
2019-12-15 16:33:00 +01:00
Killyana
c22b1e6cb4
DB/Quest: Take Down Tethyr!
...
Closes #22407
2019-12-15 16:27:21 +01:00
Giacomo Pozzoni
909941e1b4
Core/GameObjects: Skip LoS checks for traps ( #23936 )
...
* Core/GameObjects: Skip LoS checks for traps
* Core/GameObjects: Fix spells cast by traps missing always
* Scripts/Spells: Fix WSG heal buff not healing
The WSG green heal buff is now cast by a GameObject so the spell target should be used to calculate the healing, not the GameObject.
2019-11-24 21:00:42 +01:00
Wyrserth
246a8661fd
Script/Spell: don't use invalid spells for the Magic Rooster mount.
...
Closes #1822 .
2019-07-19 00:31:39 +02:00
Wyrserth
25e01b0402
Core/Script: fix logical mistake in spell_gen_clone_weapon_aura.
2019-07-17 20:42:42 +02:00
ForesterDev
c44fb37f74
Core/Unit: Implement more helper methods ( #23555 )
2019-07-05 14:07:35 +02:00
ForesterDev
b47bb59e2a
Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender ( #23520 )
...
* Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender and fix some cases, where we should get player gender, instead of modified by display gender
* fix merge
* Add virtual methods for Unit class
2019-07-02 10:17:02 +02:00
ccrs
401777d024
Core/Unit: rename several getters to follow codestyle
...
uint8 GetLevel()
uint8 GetLevelForTarget(WorldObject const* /*target*/)
void SetLevel(uint8 lvl)
uint8 GetRace()
uint32 GetRaceMask()
uint8 GetClass()
uint32 GetClassMask()
uint8 GetGender()
2019-07-01 21:36:32 +02:00
Sorikoff
e9d803ccee
Scripts/Spells: Migrate Teleporting to Script ( #23458 )
...
* Scripts/Spells: Migrate Teleporting to Script
* Rename 9999_99_99_99_world.sql to 2019_06_21_02_world.sql
2019-06-21 19:25:51 +02:00
Wyrserth
2315d43b2c
Core/Spell: allow Northrend Inscription Research to unlock three recipes the first time it is cast. ( #23401 )
...
Also prevent double skill-up because of duplicate UpdateCraftSkill() calls.
2019-06-15 14:13:19 +02:00
Killyana
7dd87e3df4
Spell/Script: Stasis Field
...
Closes #23355
2019-06-04 18:25:21 +02:00
Giacomo Pozzoni
797fba98e9
3.3.5 gameobject summoner ( #23289 )
...
* Scripts/Misc: Change IsSummonedBy(Unit*) to IsSummonedBy(WorldObject*)
* Scripts/Misc: Fix build
* Core/TempSummons: Rename GetSummoner() to GetSummonerUnit()
* Core/TempSummons: Add support to TempSummons::GetSummoner() to return GameObject too
* Fix build
* Core/TempSummons: Allow GameObject to be owner of TempSummon
* Core/TempSummons: Add support to SAI for GameObject owner of TempSummon
* Scripts/Misc: Fix no-pch build
* Core/TempSummons: Implement PR comments
2019-05-23 21:08:29 +02:00
Wyrserth
4d04344b41
Core/Spell: add proper cooldowns to some spells used by vehicles ( #23260 )
...
* Core/Spell: add proper cooldowns to some spells used by vehicles, thanks to jackpoz and sirikfoll.
* Add Wing Buffet and Stampy's Stompy-Stomp.
* Add Tag Greater Felfire Diemetradon and Touch of Darkness.
* Rename 9999_99_99_99_world.sql to 2019_05_17_00_world.sql
2019-05-17 12:08:20 +02:00
Sorikoff
2cfaeb1400
Scripts/Spells: Migrate Some Scripted Spells to Scripts ( #23185 )
...
* Migrate spells to scripts
* Simplify code
* I need to sleep
* Update chapter1.cpp
* Use actual damage
* No need in null check here
2019-04-16 09:49:39 +02:00
Gustavo
cc3293c002
Core/Scripts: Fix Blood summon position ( #23088 )
...
* Core/Scripts: Fix Blood summon position
Updates #13162
2019-04-04 00:30:25 -03:00
PolarCookie
ec3cb05d7f
Core/Spell: SpellAura Redux ( #22794 )
...
* typo and correction
* spell aura no longer shared between targets
_spellAura isolated
* SPELL_AURA_CONTROL_VEHICLE is not strictly single target spell
Steam Tank Control and Wyrmrest Commander
units can reseat themselves again
* Rename 9999_99_99_99_world.sql to 2019_03_08_00_world.sql
2019-03-08 08:34:16 +01:00
Keader
990ad000f8
Spell/Script: Freezing Circle
...
Closes #11312
See the original issue before cherry pick
2019-03-02 19:57:38 +01:00
Killyana
fb28083b3b
DB/Creature: Wrath Corruptor
...
Thanks to Keader for the spell_script
Original sql by Tobschinski https://github.com/cmangos/tbc-db/commit/c8f1753834ba3dba4c6263346afe29cd363c2431
2019-01-12 00:11:59 +01:00
Rynem Storm
a057d26f20
DB/Spell: fix mistake in Blood Draining's CheckProc and remove Attack Power scaling ( #22862 )
2019-01-10 14:11:07 +01:00
DanVS
8051ff13df
Core/Scripts: Move some spells to scripts ( #22332 )
2019-01-05 01:54:33 +01:00
Treeston
fcfcb0eb6f
Happy New Year, folks. It's 2019!
2019-01-01 15:45:25 +01:00
Keader
87d6f62ba6
Scripts/Spells: Fixed wrong change in Drain Mana removing fear/poly effects
...
Update: #20234
Followup: a6673f6aa7
More Info: https://github.com/TrinityCore/TrinityCore/issues/20234#issuecomment-436970730
2018-11-08 09:19:33 -03:00
Treeston
042f5515e4
Core/AI: Clean up charm AI handling, we now have two unique_ptr instead of a crapton of booleans
2018-08-23 16:34:42 +02:00
DanVS
ba9943d8a4
Core/Entities: Ethereal Soul-Trader ( #22050 )
2018-07-25 15:35:03 +02:00
ariel-
6eb122792c
Scripts/Spells: fix Seaforium Blast script crash
...
Closes #21663
2018-03-18 16:08:36 -03:00
ariel-
6e0b9a7916
Core/Creatures: port power type updates from master branch
...
Core/Misc: Added helper function Unit::SetFullPower
Cherry-picked from 8199eef81c
Core/Creatures: Updated power type handling (#20981 )
Cherry-picked from 16a7a414ab
2018-03-07 03:34:45 -03:00
ariel-
a6673f6aa7
Core/Scripts: implement Drain Mana breaking some auras on hit
...
Updates #20234
2018-02-17 17:46:38 -03:00
ariel-
7dc78d8e3f
Core/Scripts: implemented Fungal Decay & Tail Sting
...
Refs #18542
2018-02-16 00:54:53 -03:00
Treeston
ac8b9be5d6
Core/Spell: Properly remove REACT_PASSIVE on permanent feign death unapply. Fixes and closes #21156 .
2018-02-13 15:47:44 +01:00
ariel-
3b01cccd7e
Core/Spell: SpellValueOverrides encapsulation
...
- No sense to let scripts use SpellValueOverrides, we already have modifiers in CastSpellExtraArgs struct
2018-01-13 20:49:43 -03:00
tkrokli
f6b6f57a6d
Update copyright note for 2018
...
Best wishes for the new year.
2018-01-01 01:55:29 +01:00
Treeston
d507a7e338
[3.3.5] CastSpell unclusterfucking (that's a word now) ( #21123 )
...
Core/Spell: The giant CastSpell unclusterfucking (that's a word now) of this generation.
- CastSpell now always takes three arguments - target, spellId, and a struct containing extra arguments
- This struct (CastSpellExtraArgs, see SpellDefines.h) serves as a conglomerate of every previous combination of the 20 billion different CastSpell overloads, all merged into one
- It has some great utility constructors - check them out! All of these can be used to implicitly construct the ExtraArgs object.
- A gajillion refactors to make everything behave the way it always has
2017-12-30 20:28:41 +01:00
Keader
2362e9c794
Scripts/Trial of Crusader: Northrend Beasts Rework ( #21031 )
...
* Rewritten Gormok encounter
* Rewritten Snobold Vassal Script
* Rewritten Jormungars encounter
* Rewritten Icehowl encounter
* Added missing texts
* Added missing spells
* Implemented berserk mechanic on heroic diffs.
* Implemented Achievement requirement to make heroic diffs.
* Rewritten Barrett Ramsay scripts
* Added Barrett gossips and ported everything to DB.
* Added right Barrett in each encounter
* Removed a lot of hacks
* Rewritten Tirion Fordring script
* Rewritten Varian Wrynn script
* Rewritten Garrosh script
* Rewritten Wilfred event
* Rewritten Lich King event
* Updated codestyle
* Added missing spawns
* Fixed combat behavior before Gormok
* Fixed some visual stuff
2017-12-23 22:03:57 -03:00
ariel-
de9f904269
Core/Spells: fix some DB errors
...
Ref #18542
- Implemented Choking Vines transformation at 5 stacks
- Implemented periodic Aura of Fear ticks
- Fixed Savage Rend passive proccing on anything (raptor pets)
2017-12-20 02:25:25 -03:00
ariel-
5fc4d36a1f
Core/Scripts: fix drink auras
2017-12-15 19:58:12 -03:00
ariel-
ea0224e3bd
Core/Scripts: travis fixes
2017-12-15 02:51:48 -03:00
ariel-
a36e804ae4
Core/Auras: periodics refactor part 5: ported periodic trigger spell auras to scripts
2017-12-15 01:46:52 -03:00
ariel-
16e20711d2
Core/Auras: periodics refactor part 3: move more switch hacks to scripts
...
- Incidentally fixed some spells which were supposed to be removed by proc instead of healing to full
2017-12-15 00:37:12 -03:00
ariel-
0510bf7afe
Core/Auras: periodics refactor part 2: Move UpdatePeriodic to AuraScripts
2017-12-15 00:35:28 -03:00
ariel-
5d91beb1db
Core/Auras: periodics refactor part 1:
...
- Don't skip ticks if diff is greater than amplitude
- Fixed spells without ampltude in DBC
2017-12-15 00:25:58 -03:00
Treeston
c7896f3102
Core/Unit: For convenience, explicitly redirect CastSpell with nullptr as first argument to the Unit* overloads. No more ->CastSpell((Unit*)nullptr, ...) all over the place!
2017-07-21 18:02:48 +02:00
Treeston
49aa8a2e59
Scripts/Spell: Port spell_generic.cpp to new script registration syntax wherever possible. No actual changes in functionality. ( fb87ac8 follow-up)
2017-07-20 16:43:45 +02:00
ariel-
85a7d5ce9a
Core: ported headers cleanup from master branch
2017-06-19 23:20:06 -03:00
Shauren
d6201e5dbb
Core/Grids: Ported cmangos/mangos-wotlk@ea99457e50
...
(cherry picked from commit 9299e9bde0 )
2017-06-19 13:16:13 -03:00
ForesterDev
abea8bf4cb
Core/Defines: define faction templates and replace magic numbers from scripts
2017-05-23 12:30:27 +02:00
Mikhail Redko
8a5b998f48
Core/Spells: Move Big Blizzard Bear implementation to spell script ( #19544 )
2017-05-04 12:46:10 -03:00
ariel-
4c4dca6d69
Core/Misc: camelize GetFaction/SetFaction properly
2017-04-28 18:37:38 -03:00
xinef1
e72b380b93
Added new creature extra flag which makes npc visible only to dead units
...
closes #19333
* Rename 9999_99_99_99_world.sql to 2017_99_99_99_world_335.sql
- file affects creature removed in patch 4.0.3a
* Update Creature.cpp
2017-03-27 06:41:53 +02:00