Commit Graph

35957 Commits

Author SHA1 Message Date
Ovahlord
2edba50bcd Core/Units: summoned vehicles will now also get a creator guid 2020-04-28 17:47:21 +02:00
Ovahlord
92f8340da3 Core/Spells: allow Victory Rush's damage to crit but keep its healing effect non-critical 2020-04-28 01:27:47 +02:00
Ovahlord
9665da3435 Core/GameObjects: corrected a logic fail when checking for targets on the same map 2020-04-28 01:13:08 +02:00
Ovahlord
c94907814c Core/Spells: Victory Rush can no longer crit 2020-04-27 23:29:27 +02:00
Ovahlord
2725fdcbbe Core/Vehicles: update the power display of vehicles before being added to world to avoid building unnecessary update_object packets right after spawning them
# Conflicts:
#	src/server/game/Entities/Vehicle/Vehicle.cpp
2020-04-27 20:34:50 +02:00
Ovahlord
3f261c2418 Core/Units: do not apply mana regeneration rate for creatures in UpdatePowerRegeneration since we already handle this in the regeneration function itself 2020-04-27 16:56:09 +02:00
Ovahlord
5cf7de6aa7 Core/Units: make health regeneration functions for players and creatures virtual 2020-04-27 14:39:07 +02:00
Ovahlord
e7ba484fcf Core/Units: reworked creature power regeneration handling
* players and creatures now share the same power regeneration regeneration function
* UpdatePowerRegeneration is now virtual and handles creature and player specific formulas individually
* handle update field flag UF_FLAG_UNIT_ALL to handle UNIT_FIELD_POWER_REGEN_FLAT_MODIFIER and UNIT_FIELD_POWER_REGEN_INTERRUPTED_FLAT_MODIFIER for creatures as well
2020-04-27 14:20:33 +02:00
Ovahlord
902d373de5 Core/Objects: 153546acba followup 2020-04-26 21:00:57 +02:00
Ovahlord
153546acba Core/Units: do not send owner based update fields for units that only have a creator guild but no summoner guid 2020-04-26 16:56:38 +02:00
Ovahlord
07da39c0e1 Core/Spells: fixed Bloodsurge damage bonus for Slam 2020-04-26 00:31:45 +02:00
Ovahlord
416b0edd51 Core/Movement:
* chase movement will now use simple near point calculations for chase movement without pathfinding enabled
* units with a big boundary radius will no longer reposition themselves
2020-04-24 23:46:04 +02:00
Ovahlord
a2e6b77208 Core/Spells: restored summon number restriction as it needs more research on how to handle it 2020-04-24 22:48:59 +02:00
Ovahlord
c50338ab28 Scripts/BoT: fixed a issue that was causing Ignacious not being interruptible when channeling Rising Flames 2020-04-24 21:21:20 +02:00
Ovahlord
433d97bce5 DB/Vendors: added a elsegroup condition for Guild Herald items in guild vendors since their achievement is getting overriden by a second rank 2020-04-24 19:37:12 +02:00
Ovahlord
9c6ca290f7 Core/Movement: skip catchup calculations for follow movement when the distance between the follower and its destination is just very short 2020-04-23 21:29:59 +02:00
Ovahlord
79f98df65e DB/Creatures: added gossip and vendor data to Guild Pages and Guild Heralds and fixed their banner holding visual effect 2020-04-23 21:14:32 +02:00
Ovahlord
7556f4948e Core/Spells: fixed Chug-A-Lug guild perk 2020-04-23 19:23:16 +02:00
Ovahlord
cef6f94953 Core/Spells: implement SPELLVALUE_AURA_DURATION to allow casting spells with a duration value set 2020-04-23 19:22:31 +02:00
Ovahlord
6abab1704f Core/Spells: implement SPELL_AURA_INCREASE_SKILL_GAIN_CHANCE
*this fixes the Working Overtime guild perk
2020-04-23 18:19:59 +02:00
Ovahlord
bc68ecdbcc Core/Spells: fixed The Quick and the Dead guild perk 2020-04-23 17:04:32 +02:00
Ovahlord
5905ed2606 DB/Spells: updated Battle and Guardian Elixir stacking data to Cataclysm 2020-04-23 15:04:31 +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
5c61fcfb19 Core/GameObjects: implement JustAppeared AI hook for gameobjectAI 2020-04-23 14:02:19 +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
a3e97b38ed Core/GameObjects: implement helper to set the charges of gameobjects 2020-04-23 04:00:35 +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
bc178168cd Core/GameObjects: spellcaster and guild bank gameobjects will now inherits their summoner's guild data if available 2020-04-23 03:26:02 +02:00
Ovahlord
d49579395e Core/Movement: added another mmap raycast exception for follow movement 2020-04-22 18:17:17 +02:00
Ovahlord
1646f2a53d Core/Movement: do not use mmap raycasts when the movement generator owner is ignoring pathfinding (units on transport for example) 2020-04-22 17:54:27 +02:00
Ovahlord
b22f52acfa Core/Spells: fixed build 2020-04-22 17:38:51 +02:00
Shauren
b8077bd939 Misc: Improve gdb script output
* Switch disassembly to intel syntax
* Remove terminal colors
* Remove terminal line wrapping and pagination
* Start versioning the script
2020-04-22 17:05:24 +02:00
Shauren
95d7b0f2d6 Core/Misc: Improve assert message with more detail 2020-04-22 17:05:11 +02:00
jackpoz
3f7c7dcc30 Core/Spells: Fix assertion triggered 2020-04-22 17:04:57 +02:00
Ovahlord
724121fbb9 Core/Movement: optimized follow movement destination calculation by reducing the number of mmap raycasts down to one 2020-04-22 17:01:25 +02:00
Ovahlord
31a6a23c28 Core/Creatures: restore flag handling for companions 2020-04-22 15:10:30 +02:00
Ovahlord
78acad8f53 Core/Creatures: corrected vehicle requirements to automatically enter a summoned vehicle 2020-04-22 04:27:04 +02:00
Ovahlord
87ec7bd625 Core/Spells: fixed Healing Stream Totem heal formula and updated spell script to new model 2020-04-22 04:15:11 +02:00
Ovahlord
dbe365844b Core/Movement: fixed a typo in chase movement generator that was causing creatures to move backwards all the time when chasing another creature 2020-04-22 03:46:19 +02:00
Ovahlord
0647e3ca97 Core/Vehicles: restore power display id specific checks to determine if vehicle energy needs to be reset to its full capacity or not 2020-04-22 03:32:58 +02:00
Ovahlord
b653f2f819 Core/Units: ported power type updates from master branch 2020-04-22 03:13:02 +02:00
Ovahlord
e67167e8cf Core/Creatures: uncontrolled minions such as Army of the Dead and totem elementals will now be stored in the player's controlled list as well to trigger aggro mechanics 2020-04-22 00:40:48 +02:00
Ovahlord
c00858d969 Core/Creatures: removed hacks from SetMinion helper 2020-04-22 00:21:50 +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
e756c39e31 DB/Vendors: added guild vendor data and conditions for all guild vendors
closes #60
2020-04-21 02:44:30 +02:00
Ovahlord
29aac17e2c Core/Packets: removed unused field from attacker state update field 2020-04-20 22:03:23 +02:00
Ovahlord
0d9b5c7caf Core/packets: fixed a typo in health frequent packet class name 2020-04-20 21:22:09 +02:00
Ovahlord
736354af54 Core/Spells: fixed Charge not generating any rage 2020-04-20 20:33:00 +02:00
Ovahlord
867b581303 Fixed no pch build 2020-04-20 19:24:59 +02:00