Commit Graph
576 Commits
Author SHA1 Message Date
Ovahlord 906c4ed081 Core/GameObjects: corrected implementation of spellcaster.playerCast 2026-06-10 13:41:51 +02:00
Shauren 490ed994bc Core/GameObjects: only add GameObject uses when the triggered cast is successful 2026-06-09 16:53:26 +02:00
Shauren f5f344ddad Core/GameObjects: Fixed GameObject::SetRespawnTime putting gameobjets not using compatibility spawning mode into invalid state
Closes #31047
2025-06-17 22:15:52 +02:00
Ovahlord e8588fd5ba Core/Objects: ported Heartbeat implementation fron master branch 2025-03-09 02:40:05 +01:00
Ovahlord 6b67cd773e Core/Objects: replaced ObjectUpdateFlags with CreateObjectBits to get closer to how master branch handles their bits 2025-03-09 00:26:00 +01:00
Ovahlord 0927c5af40 Core/Misc: backported most boost changes from master branch 2025-02-27 23:47:52 +01:00
Ovahlord 5c13baf230 Core/Misc: removed unused includes and removed unit include from vehicle.h 2023-10-10 03:01:05 +02:00
Shauren 62389bc267 Core/GameObjects: Fixed traps not being able to trigger for friendly targets 2023-07-11 17:24:33 +02:00
Ovahlord b489a905e1 Core/Misc: fixed another bunch of GCC warnings 2023-07-08 21:33:08 +02:00
Ovahlord e5a9630b49 buildfix 2023-02-05 22:59:03 +01:00
Shauren 0d0aa6a75b Core/GameObjects: Fixed crash with transport gameobjects that have only 1 entry in TransportAnimation/TransportRotation db2
Closes #28673
2023-02-05 22:16:36 +01:00
Ovahlord 4c1c593200 buildfix 2023-01-17 22:31:33 +01:00
Ovahlord 6ecaebb19e Core/GameObject: implement gaining experience from unlocking chests
* this handles gathering experience as well as getting some extra xp from opening hidden treasure chests
2023-01-17 22:05:16 +01:00
Ovahlord f18a592a7e Core/GameObjects: remove incorrect gathering experience implementation 2023-01-17 19:56:25 +01:00
Ovahlord acaf42798a Core/GameObjects: sync gameobject data field names with master branch and added some missing entries for Cataclysm 2023-01-17 19:45:56 +01:00
Ovahlord 68e5567583 Core/GameObjects: defined and implemented playerCast field for GAMEOBJECT_TYPE_SPELLCASTER 2023-01-11 17:08:58 +01:00
Shauren 0f0b283168 Core/Pools: Implemented pooling for instances 2022-12-29 11:56:56 +01:00
Ovahlord 75447899c4 Core/GameObjects: implement allowMounted for GAMEOBJECT_TYPE_SPELLCASTER and only count uses if the spell has actually been cast
* this fixes Cauldrons of Battle to no longer prematurely despawn when a player attempted to pick up multiple flasks while already carrying one in his inventory
2022-12-20 09:52:14 +01:00
Shauren 5657280b65 Core/GameObjects: Implemented playerCast (Data23) for GAMEOBJECT_TYPE_GOOBER 2022-12-19 16:06:26 +01:00
Shauren f5f6dbfa3e Core/GameObjects: Use serverOnly property of GameObjectTemplate for all types that have it, not just spell focus 2022-11-18 10:38:58 +01:00
Gildor eab8e4aefb Core/Gameobjects: Improve stealth detection 2022-09-12 09:15:27 +02:00
ariel- b6fac86b71 Core/Spells: rework part 5: GameObject casting 2022-09-12 09:15:14 +02:00
Shauren 4b92f09fec Core/Transports: Initialize stoppable transports at start of path 2022-07-15 22:21:07 +02:00
Shauren 279f1cccae Core/GameObjects: Fixed crash when GameObject::Delete was used for transports 2022-07-10 01:15:57 +02:00
Ovahlord dff55fa7ab Core/GameObjects: use the correc HighGuid value when spawning GAMEOBJECT_TYPE_TRANSPORT gameobjects 2022-06-24 22:49:08 +02:00
Shauren 338e9d8033 Core/GameObjects: Use all axis rotations for gameobject model collision, not just orientation 2022-06-20 15:21:55 +02:00
Ovahlord fc0dc939ba fixed nopch build and some warnings 2022-06-19 21:19:26 +02:00
Ovahlord fbd92f5476 Core/GameEvents: removed a debugging leftover that was causing GameEvents to not launch at all
* fixed a crash when trying to cast event sources and targets into non-allowed types
2022-06-19 19:56:51 +02:00
Shauren acb599823e Core/Transports: Fixed stoppable elevator position calculation when going from first floor to third or higher
# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.cpp
2022-06-19 16:15:44 +02:00
Shauren e212f92161 GCC warning fix 2022-06-18 22:16:26 +02:00
Ovahlord 58aac6430a Core/Transports: corrected a cherry pick mistake for BuildingUpdateValues 2022-06-18 21:55:34 +02:00
Shauren 25465699f7 Core/GameObjects: Transport (type 11) improvements
* Fully synchronize serverside animation progress with client
* Implemented updating passenger positions on elevators
* Removed visibility hack for elevators that always forced CreateObject packet to be sent to client
2022-06-18 21:36:17 +02:00
Shauren 79aa6e2456 Core/GameObjects: Implement more gameobject gameevent uses 2022-06-18 19:08:44 +02:00
Shauren 2b7b0b0db1 Core/Scripts: Begin unifying triggering gameevents (not the game_event db stuff) 2022-06-18 19:05:57 +02:00
Ovahlord 6e9ec1a4bf Core/Transports: undo all custom transport changes as preparation for cherry picks 2022-06-18 18:37:14 +02:00
Shauren f2b4f2208e Core/Objects: ported master branch handling for properly destroying objects via out of range and destroy object opcode
# Conflicts:
#	src/server/game/Entities/Creature/Creature.cpp
2022-02-02 16:24:42 +01:00
Shauren f3e0650886 Core/PacketIO: Reduce size of SMSG_UPDATE_OBJECT by trimming trailing zeros in values updatemask 2021-04-25 17:22:58 +02:00
Matan Shukry 434bc017c2 Core/Objects: Move personal summon handling from TemporarySummon/GameObject to WorldObject and check it using dedicated guid field 2021-03-29 20:45:13 +02:00
Matan Shukry abae5e4596 Core/Spells: Implemented summoning a personal gameobject effect (#25917)
# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.cpp
#	src/server/game/Entities/GameObject/GameObject.h
#	src/server/game/Miscellaneous/SharedDefines.h
#	src/server/game/Spells/SpellInfo.cpp
2021-02-19 13:01:10 +01:00
Ovahlord 754c138f89 Core/Spells: ported CastSpell unclusterfucking from 3.3.5 branch 2020-11-04 22:37:11 +01:00
Giacomo Pozzoni 8bbe17c684 Core/Creature: Ignore combat reach when looking for assisting creatures 2020-09-24 00:37:11 +02:00
Ovahlord 40cda24dc2 Core/GameObjects: trigger npcs that are summoned for gameobject casts will now inherit the gameobject's phase shift as well to hit intended phased targets 2020-09-11 16:23:42 +02:00
Eridium 2aa05b951b Core/GameObject: Remove linked traps when the main GameObject is remo… (#24480)
* Core/GameObject: Remove linked traps when the main GameObject is removed from from the world

* Indentation
2020-09-11 15:24:21 +02:00
Ovahlord e871d2f0eb Fixed build 2020-09-11 15:23:53 +02:00
Giacomo Pozzoni 2cea40a466 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.

# Conflicts:
#	src/server/scripts/Spells/spell_generic.cpp
2020-09-11 15:12:12 +02:00
ariel- dcd017bbad Core/Spell: fix LoS checks for GameObject spells
Closes #21580
2020-09-11 15:11:24 +02:00
ariel- d34eb1a276 Core/GameObject: kill uninitialized, unused field from GameObjectTemplateAddon struct 2020-09-11 15:10:18 +02:00
ariel- 9040070520 Core/GameObject: refactor dismounting on use
# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.cpp
2020-09-11 15:09:58 +02:00
ariel- 46866bad04 Core/GameObject: implement dismount on use of certain GOs
- The fact of player dismounting was entirely client-sided, with no server code enforcing it.

Closes #19979

# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.cpp
2020-09-11 15:08:53 +02:00
Wyrserth d2b27bc43c Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura (#23319)
* Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura.

* Forgot to change this in last-second rename.

* Apply suggested changes, thanks Shauren!

# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.cpp
#	src/server/game/Entities/Unit/UnitDefines.h
#	src/server/game/Entities/Unit/enuminfo_UnitDefines.cpp
#	src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp
2020-09-11 15:06:15 +02:00