Commit Graph
370 Commits
Author SHA1 Message Date
Ovahlord 7e62a55074 Scripts/Spells: moved all scripts into their own respective namespaces 2023-12-08 19:57:27 +01:00
Ovahlord 1dfe0f0974 Core/Spells: modernize a bunch of spell scripts in spell_generic 2023-10-21 21:34:19 +02:00
Ovahlord 6e5a63f165 Core/Spells: handle missing creature interrupt part of Silence, Strangulate and Arcane Torrent 2023-10-21 21:09:24 +02:00
Ovahlord 5c13baf230 Core/Misc: removed unused includes and removed unit include from vehicle.h 2023-10-10 03:01:05 +02:00
Ovahlord 7743236911 nopch fix 2023-07-18 08:26:27 +02:00
Ovahlord 12a3e9e64c Core/Spells: implement generic shop keeper greeting spells and use them for a couple Stormwind Vendors 2023-07-18 00:02:21 +02:00
Ovahlord 84ceb78a7f Core/Spells: modernized remaining mage spell scripts 2023-01-30 18:23:41 +01:00
Ovahlord b11ae06b1d Core/Spells: fixed another gameobject caster crash 2023-01-17 11:02:07 +01:00
Ovahlord 0166f84a1b Core/Spells: replaced SPELLVALUE_AURA_DURATION implementation with master's SPELLVALUE_DURATION version 2022-10-16 11:20:51 +02:00
Shauren ca7d36873f Core/Spells: Rename SpellAttr1 to use official attribute names
* Implemented SPELL_ATTR1_NO_SKILL_INCREASE, SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT, SPELL_ATTR1_DISPEL_ALL_STACKS
2022-09-12 09:15:31 +02:00
PolarCookie 81e5943bd0 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
2022-09-12 09:15:23 +02:00
ariel- 1d1787f70a Scripts/Spells: fix Seaforium Blast script crash 2022-09-12 09:15:19 +02:00
AG 58cc1d7f3f Core/Spells: handle night elf racial bonus for Shadowmeld and no longer allow Pounce and Ravage being casted while using Shadowmeld (#348) 2022-04-13 20:42:29 +02:00
Ovahlord ca9f34574d Core/Misc: fixed a bunch of GCC warnings 2022-03-21 21:32:41 +01:00
xinef1 f431459063 Core/Creatures: Various fixes for creatures, regarding combat conditions, despawning, and few others (#18998)
* Made some changes to kiting mechanics, simplified code and made taunt auras prolong combat no matter the distance from the spawn
Unified some creature despawning code, removed some brutal direct calls in scripts
Don't play death anim on forced despawn
Removed some redundant visibility changes on creature despawn
Fixed possible problem with pet initializing template info from difficulty greater than normal
Properly keep UNIT_FLAG_IN_COMBAT on UpdateEntry call
Moved RegenerateMana function to general Regenerate(Power) function
Fixed increased health regeneration from polymorph for pets
Implemented CREATURE_TYPE_FLAG_GHOST_VISIBLE, those creatures will be properly seen when player is dead also
Removed hackfix from Gaeriyan and Franclorn Forgewright, fixed properly
Simplified ForcedRespawnTime code in ForcedDespawn
Do not allow to assist unit while evading or when enemy is evading
Do not allow to attack other units when evading or when the unit is evading
Corrected distance checking code before creature is allowed to evade, should fix some common problems
Properly return summon position for summoned creatures as their respawn position
Properly stop all moving units on gossip hello, no matter their npc flags

(cherry picked from commit e1f14215d86fc9f0cd041f0e87bf0a689c086329)
2022-02-16 04:49:24 +01:00
Krudor 732f5623f3 Core/Spells: Removed a faulty aura handler 2021-12-02 13:46:33 +01:00
Ovahlord 949f92e0a1 Core/AI: ported charm updates from 335 2021-09-16 16:48:07 +02:00
Ovahlord 3506dae653 Core/Spells: ported PROC_FLAG_ENTER_COMBAT implementation from master branch and handle the Worgen transformation via its proc aura 2021-08-30 19:24:36 +02:00
Ovahlord 7fcb1c03da Correct script name added in 9616582b05 2021-08-28 15:05:24 +02:00
Ovahlord 9616582b05 Core/Spells: load BonusCoefficient into SpellInfo and use it for Goblin's Rocket Barrage Racial spell damage calculation 2021-08-28 15:01:28 +02:00
Ovahlord b0101ecb67 Scripts/Quest:
* fixed a typo that was preventing Paladins from receiving kill credits for practicing Judgement on training dummys
* added spell script to Wounded spell for wounded healing targets and fixed quest 'Healing the Wounded' in Northshire
2021-02-25 13:30:16 +01:00
Ovahlord 754c138f89 Core/Spells: ported CastSpell unclusterfucking from 3.3.5 branch 2020-11-04 22:37:11 +01:00
Ovahlord 35b07faf2b Scripts/Quests: scripted Launch Quest spells and use them to launch the 'A Personal Summon' quests when entering Stormwind or Orgrimmar 2020-09-26 19:57:05 +02:00
Warpten 2b2fc5fb8a Core/Spells: remove PrepareSpellScript and PrepareAuraScript macros and make Hooklist use emplace behaivior (#174) 2020-08-28 15:40:26 +02:00
Shauren 44e0d6c0f9 Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it 2020-08-23 17:44:48 +02:00
Ovahlord 9f6a7f6671 DB/Spells: added missing scriptname to Druid's bear form Vengeance proc 2020-07-26 18:23:41 +02:00
Ovahlord 7bbc603efa Core/Spells: feign death react state cleanup 2020-07-22 17:23:58 +02:00
Treeston ec04d3b2cd [3.3.5] Combat/Threat rewrite - prep & refactor (#19966)
* Combat/Threat rewrite (PR #19930) prep work. Mostly refactors, and a compatibility layer on ThreatManager/HostileReference that allows scripts to be changed already.
2020-07-22 13:43:23 +02:00
Ovahlord e1d74d4dc6 Core/Misc: added more fallthrough attributes and added some missing breaks reported by CI 2020-07-19 12:24:58 +02:00
Warpten 0af44ccc01 Core/Spells: implement DoT clipping
* Core/Spells: Implementation of DoT clipping.
* Core/Utilities: Backport "EnumFlags v3.0" from master.
* Core/Spells: Switch AURA_REMOVE_MODE to a flag set.
2020-06-04 18:16:03 +02:00
Ovahlord e64a3bcd90 Scripts/HoO: implement Ammunae encounter 2020-05-04 00:14:06 +02:00
Ovahlord 7556f4948e Core/Spells: fixed Chug-A-Lug guild perk 2020-04-23 19:23:16 +02:00
Ovahlord bc68ecdbcc Core/Spells: fixed The Quick and the Dead guild perk 2020-04-23 17:04:32 +02:00
Ovahlord d148116ebe Scripts/Guilds: fixed Cauldron of Battle, Big Cauldron of Battle and their Flask effect 2020-04-23 14:38:21 +02:00
Ovahlord 06b983bee2 Core/Spells: fixed Mobile Banking spawning a different chest for Alliance players 2020-04-23 12:52:04 +02:00
Ovahlord a850243e89 Core/Spells: fixed Mobile Banking guild perk
*Misc: moved guild faction define to the other faction enums
2020-04-23 03:45:43 +02:00
Ovahlord b653f2f819 Core/Units: ported power type updates from master branch 2020-04-22 03:13:02 +02:00
Ovahlord d30c811d9e Core/Creatures: reworked tempoary summon creation
* all stats and values will now be set before summons are getting added to map
* cleaned up summon spell effect handler to reduce duplicade code
* summoner guids will no longer be set for every minion and correctly handle assigning creator guids instead. These values will serve as fallback guid if there is no summoner guid
* friendly tempsummons will now inherit the guild data of their player and pass them on to further allied summons. This fixes guild specific visuals for creatures such as Guild Battle Standards and Guild Heralds.

Todo: check for regressions
2020-04-22 00:20:18 +02:00
Ovahlord bc1a69caa3 Core/Spells: fixed Guild Battle Standard buff effects 2020-04-21 13:34:23 +02:00
Ovahlord 077b679000 Scripts/Items: scripted Bedrock Talisman, Spidersilk Spindle and Variable Pulse Lightning Capacitor 2020-04-17 14:29:09 +02:00
Ovahlord 60f630027f scripts/Companions: scripted Singing Sunflower 2020-03-30 19:46:00 +02:00
DevPrimeandEvef b046b19fd3 Core/Scripts: fixed most script related no pch warnings
Co-authored-by: Evef <everf@outlook.com>
2020-03-11 12:54:27 +01:00
Ovahlord a998247586 Scripts/Duskwood: reworked SAI scripts for the following creatures:
Nightbane Tainted One, Nightbane Vile Fang, Black Ravager, Blackbelly Forager, Barn Owl, Splinter Fist Ogre, Splinter Fist Firemonger and Splinter Fist Warrior
2020-02-18 23:18:04 +01:00
Ovahlord f336d6032b Scripts/Spells: moved Magmaw's involved eject passenger spells to generic spell script and use vehicle exit position script hook 2020-01-28 08:17:06 +01:00
Ovahlord fcb79fee07 Core/Datastores: updated DBC structure names to generated member format 2020-01-25 12:36:32 +01:00
Aokromes d6d3f06f06 New year 2020-01-04 18:32:38 +01:00
funjoker 6c56916b29 Misc: Update copyright information
Happy new year
2020-01-01 18:47:28 +01:00
Ovahlord 15f09fb82b Core/Misc: fixed warnings and building connection patcher with boost versions below 1.61 2019-11-06 00:51:04 +01:00
Ovahlord 1ea13572cf Core: fixed several warnings accross the board 2019-10-04 03:40:43 +02:00
Ovahlord 351f26721d Core/Spells: updated Vengeance handling to 4.3 2019-09-27 03:23:59 +02:00