71 Commits

Author SHA1 Message Date
Hondacrx 3e028633ba Updated all spell scripts 2025-10-13 13:23:31 -04:00
Hondacrx 144cd4151b Core/Objects: Removed type casts before accessing WorldObject::m_Events that became unneccessary after moving it from Unit to WorldObject
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc8874f30597a996eb30b7b278bcc71b2f082f10)
2025-06-08 14:52:11 -04:00
Hondacrx 2ef023e733 Core/Creatures: Fix level scaling for summons without SummonPropertiesFlags::UseCreatureLevel
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f6bc9ff5feb090a2ca8a7c0aea79ee14099b454)
2024-08-25 00:18:00 -04:00
Hondacrx 9193c25cde Core/Spells: Implemented SummonPropertiesFlags::UseDemonTimeout
Port From (https://github.com/TrinityCore/TrinityCore/commit/c15c8609f0b950804ce798369bd7c3f54b5ab221)
2024-08-25 00:16:51 -04:00
Hondacrx 5b71b59358 Core/Pets: Removed overriding unit class for pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/2c702df4e3b25d764a2712577048921008a20671)
2024-08-04 16:33:41 -04:00
hondacrx 1e421b9f53 Misc fixes 2024-03-19 17:21:32 -04:00
hondacrx 3a976b2353 Core/Creatures: Implemented unsummoning and resummoning critter pets on flying mounts and teleports (and related static flags)
Port From (https://github.com/TrinityCore/TrinityCore/commit/f2ce5072d62e2835c4426220ebf8ade5fa67a79b)
2024-03-04 11:50:36 -05:00
hondacrx a46f98642b Core/Creatures: Refactor CreatureEliteType
Port From (https://github.com/TrinityCore/TrinityCore/commit/bfbda8dcce8d19dda0ee3d8f96d176901902e102)
2024-02-04 14:42:40 -05:00
hondacrx cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx 85f37f6edf Added some implicit operators to spell casting. 2023-10-01 07:32:38 -04:00
hondacrx f636ea225f Messed up the commit history, so here is all the files rip, Credit to TrinityCore 2023-09-16 08:42:35 -04:00
hondacrx 45c95d22ed Core/Creatures: Updated totem slot assignment logic
* Implemented SUMMON_SLOT_ANY_TOTEM
* Fixed showing totems on player frames
* Fixed removing totems from player frames
* Fixed being able to summon unlimited windfury totems
Port From (https://github.com/TrinityCore/TrinityCore/commit/fefc7192631764245396cd2622aa11f649411946)
2023-09-14 03:27:06 -04:00
hondacrx 3f8dedfb7a Core/Creatures: Clean up temporary summon duplicate level initialization
Port From (https://github.com/TrinityCore/TrinityCore/commit/1cae07870b4ff3c33669326756392d9086dac50f)
2023-09-13 21:03:36 -04:00
hondacrx 0482541ac2 Core/Creatures: Allow modifying TempSummon duration after summoning
Port From (https://github.com/TrinityCore/TrinityCore/commit/01a09de3197612acdfd2d3d72548c9ae7288faa5)
2023-09-13 21:00:49 -04:00
hondacrx 0e2dd0cda3 Core/Creatures: add TimeSpan to TempSummon
Port From (https://github.com/TrinityCore/TrinityCore/commit/1dd4b38170339e2d1d959c45ecad1b3b8dceb216)
2023-09-13 20:59:45 -04:00
hondacrx 49a07ebcce Core/Items: Item bonus generation improvements
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
Port From (https://github.com/TrinityCore/TrinityCore/commit/0fb8765a6638fd947b59fce44d5c31251d0cdadd)
2023-06-21 09:19:40 -04:00
hondacrx 068ccd990f Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty
Port From (https://github.com/TrinityCore/TrinityCore/commit/06d0b16f158e8793860d9edd11b990f20b1d0dac)
2023-05-30 08:16:40 -04:00
hondacrx 11575d6d39 Core/Creatures: Allow summons to be initialized properly when summoner is not in world yet
Port From (https://github.com/TrinityCore/TrinityCore/commit/7881f0ef5ff79b691a5abb9cd727755f49afba47)
2023-05-30 05:08:45 -04:00
hondacrx 6f2f65cc27 Core/Creatures: Fixed some creatures having 0 max health (and being unkillable)
Port From (https://github.com/TrinityCore/TrinityCore/commit/7f98b71698eca5b136676991026de1d0d212f9fb)
2023-05-23 08:13:25 -04:00
hondacrx d55f4f836f Core/Units: Power handling improvements
* Don't include creature_template power multipliers in CreateMana updatefield
* Allow NPCs to have power types other than mana
* Add missing Essence config regeneration rate
* Fixed demon hunter powers not decaying immediately after combat
* Fixed some powers decaying immediately out of combat after energizing (for example holy power)
* Replace hardcoded list of powers to set to full on levelup with a db2 flag check
* Updated Creature::GetPowerIndex for 10.1 new power types
Port From (https://github.com/TrinityCore/TrinityCore/commit/1325e0c4b279d590acbcbb05d6abdf5fdb66a882)
2023-05-23 05:44:42 -04:00
hondacrx be0a98f3de Scripts/Spells: Implement Summon Sayaad
Port From (https://github.com/TrinityCore/TrinityCore/commit/c7ff9a9083fdb5aab1fe54b16ffd84851f99424d)
2023-05-02 16:32:00 -04:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx bae8363ca3 Core/Creatures: Implemented sending different creature id for summoner
Port From (https://github.com/TrinityCore/TrinityCore/commit/ebf1b6eb5cbfd1dc8f1b0d26c29ae1423784cabb)
2022-07-04 00:49:18 -04:00
hondacrx 8d55654b73 Core/Creatures: Only use scaling data when it was actually loaded for the creature, not always if it just exists in db
Port From (https://github.com/TrinityCore/TrinityCore/commit/a4fba9b3c461676622079b166a376e29685d2ca7)
2022-06-02 20:26:27 -04:00
hondacrx d5b3bf6a5a Core/Misc: Add TempSummon timer to GetDebugInfo
Port From (https://github.com/TrinityCore/TrinityCore/commit/1d30f7ae2b5451571f6e8cac9a30741ca4cdb29b)
2022-05-30 13:56:49 -04:00
hondacrx 39ec9e309f Core/Objects: Use player as summoner for personal clones
Port From (https://github.com/TrinityCore/TrinityCore/commit/79c605436942d652c50e4cfeac9d1b20a86a2343)
2022-05-05 10:02:40 -04:00
hondacrx ffd0f4280b Core/Objects: Cleanup SmoothPhasing code - move to separate files and better integrate it with visibility system
Port From (https://github.com/TrinityCore/TrinityCore/commit/70442041300bb0a1146717497fd5f771d874befa)
2022-03-09 14:51:55 -05:00
hondacrx 042bfc12e5 Convert alot of methods to use TimeSpan. 2022-03-01 23:47:53 -05:00
hondacrx a031530b2a Core/Auras: Prevent getting negative scale with auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/679e9910e09a55dd1743f236dbd99b7fa48fe9c1)
2022-02-18 16:40:32 -05:00
hondacrx e0340e7c07 Core/BattlePets: Misc fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/924182f692bde38d8fed85d5dbe7531a09790501)
2022-01-07 13:20:16 -05:00
hondacrx 0d68984717 Misc fixes, and added GetDebugInfo() which was missed. 2022-01-05 13:11:32 -05:00
hondacrx 1a35b4c6f7 Core/Pet: Fix guardians low damage
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e1ed95a63b12d7eb94bfb06b9e2569c4f15e5d2)
2022-01-04 20:51:40 -05:00
hondacrx 6fe5a31fab Scripts/Outland: Fix npc_ancestral_wolf not starting waypoint
Port From (https://github.com/TrinityCore/TrinityCore/commit/913f0903a3264f14ea44356bc86dade81348a546)
2022-01-04 20:01:29 -05:00
hondacrx 263ad06c82 Core/Creature: honor existing DB data for health and mana in case of summoned pets that don't have pet-specific stat data.
Port From (https://github.com/TrinityCore/TrinityCore/commit/434ef51c10535a4ef79e6210a762b9680518442b)
2022-01-01 15:55:33 -05:00
hondacrx e28b42b270 Entities/Unit: Fix an issue where Unit pointers could be left dangling if a channeled Charm was interrupted by a control aura application.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d10554da14fb8371072567f673c9f919cbe6b929)
2021-12-23 20:19:55 -05:00
hondacrx c37e1c9f7d gameobject summoner
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f545f540216d3b94c26e4aeda50c8bb8d5c3d74)
2021-12-07 20:42:47 -05:00
hondacrx 501f280140 Core/Unit: rename & cleanup GetCreatePowers
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8ec1ba9bc2d6d24407670159a765099f2a3004d)
2021-11-23 21:26:01 -05:00
hondacrx 3ab092a655 Core/Spells: Implemented SummonPropertiesFlags: UseSummonerFaction & IgnoreSummonerPhase
Port From (https://github.com/TrinityCore/TrinityCore/commit/a832435b9787c1997da87a124ff99bf06251aa07)
2021-11-16 13:23:42 -05:00
hondacrx 333179e1e9 Core/Entities: Handle partial state change for pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/0585032c9000386846c506a360eddc09cf069afe)
2021-11-15 23:12:46 -05:00
hondacrx ffb04bffc0 Core/Unit: Store charmer and charmed pointers on Unit directly, no more map lookups for Unit::GetCharmer and Unit::GetCharmed
Port From (https://github.com/TrinityCore/TrinityCore/commit/a5989dcee9150565e7f4b8e3f7a62a414a484a3f)
2021-11-01 11:19:47 -04:00
hondacrx 26940fa650 Core/AI: Clean up charm AI handling.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e4e8c1c59c8b37216814526b4d2551f23934f465)
2021-10-31 13:55:26 -04:00
hondacrx 31d6fb2e24 Core/Entities: ghouls start with full energy
Port From (https://github.com/TrinityCore/TrinityCore/commit/e8e501609fd6e8b4b0affd8d91077d36e7161a89)
2021-08-23 14:31:37 -04:00
hondacrx 52e43853fe More Cleanups 2021-06-08 12:56:09 -04:00
hondacrx b4bf10ed22 Core/Objects: Move personal summon handling from TemporarySummon/GameObject to WorldObject and check it using dedicated guid field
Port From (https://github.com/TrinityCore/TrinityCore/commit/1082a6645e96c611b3145b5d6208fc4db6e4b2d3)
2021-03-29 17:11:46 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx 250d7fb83b Core/Conditions: CONDITION_NEAR_CREATURE will exclude personal spawns that aren't the target's owner
Port From (https://github.com/TrinityCore/TrinityCore/commit/d2641c4924022369d4af595925bf04d034db5d72)
2021-02-18 12:53:42 -05:00
hondacrx 03456fb574 Core/Scripts: Reworked scripts. More to come. 2021-02-18 11:57:11 -05:00
hondacrx 0c036ef4db Core/Spells: Implemented using base weapon damage in spell attack power formulas
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd21e7ff404aed1d449b09db2b7fcbe2be8536c3)
2020-09-10 19:53:09 -04:00
hondacrx 35c13d69ca Core/Creature: temporary summons are now dynamic flagged (oversight in dynspawn). This fixes issues with vehicle kit resets breaking AI.
Port From (https://github.com/TrinityCore/TrinityCore/commit/22b754c9e22cfdd9dab998ca45e6724b62760f78)
2020-08-24 19:13:15 -04:00
hondacrx ea80678e9a Core/Creatures: Fixed level 240 guards and updated scaling level calculation
Port From (https://github.com/TrinityCore/TrinityCore/commit/82b4ca3b7c2329e571d0a341b8a5ab366a5d26f4)
2020-05-20 20:04:00 -04:00