Ovahlord
677990a1b8
Core/Spells: removed more unused parameters for 4.x since SPELL_AURA_MOD_CRIT_PERCENT_VERSUS is not used at all
2020-08-28 12:20:35 +02:00
Ovahlord
dccd460088
Core/Spells: corrected Shatter bonus logic and fixed another warning
2020-08-28 12:10:53 +02:00
Ovahlord
74b44c91a7
fixed warnings
2020-08-28 11:54:53 +02:00
Ovahlord
25c980c390
Core/Units: ported spell crit chance updates from 335 branch
2020-08-28 11:46:07 +02:00
Ovahlord
afba1ba347
Core/Quests: launch gossips on rewarding quests only when the corresponding quest flag is present
2020-08-27 23:22:28 +02:00
Ovahlord
30e787d5a4
Core/Player: update agility dodge coefficients
2020-08-27 21:41:21 +02:00
Ovahlord
4ab66b1462
Core/Units: added crit chance supression
...
According to blueposts and wikis, there is a supression to crit chances if the target is having a higher level than the attacker. Each level that the target is above the one of the attacker, the crit chance is reduced by 1%. Though this number is solely based on bluepost data so this needs extensive testing since fan made calculations point more towards 0.7%.
2020-08-27 17:00:00 +02:00
Roc13x
110f178527
Core/Player: HasItemCount and DestroyItemCount now count bank bags
2020-08-24 23:49:47 +02:00
Roc13x
c8d6fc99c0
Core/Player: Fix equipment sets not saving correctly
...
New sets were always saved to _equipmentSets[0], overwriting eachother
2020-08-24 23:49:47 +02:00
Roc13x
31a04a1de1
Core/Guild: Implement guild master dethrone feature ( #168 )
2020-08-24 23:48:30 +02:00
Ovahlord
75a0e1c011
Core/Spells: updated Bloodworm's Blood Gorged behaivior to Cataclysm
2020-08-24 18:32:31 +02:00
Ovahlord
47ac0004c2
Core/Packets: converted SMSG_DESTROY_OBJECT to packet class
2020-08-23 23:09:34 +02:00
Shauren
3dfa88f20e
Core/Spells: Relaxed aura exclusivity check to allow casting spells that have other, non-aura effects even if aura will not be applied
2020-08-23 20:21:40 +02:00
Shauren
0c08285932
Core/Spells Fixed scroll stacking check when not targeting self
...
* Reuse code that removes non-stackable auras at apply to check before casting the spell to keep reagents/cast item
2020-08-23 20:18:52 +02:00
Ovahlord
1ddb3d2456
Fixed more warnings
2020-08-23 17:38:45 +02:00
robinsch
1aaa949fff
Core/Unit: Fixed race condition when loot recipient is in different map
2020-08-23 17:36:12 +02:00
Ovahlord
52cc952392
Core/Units: fixed virtual item slot check for parry chance calculation
2020-08-23 17:25:04 +02:00
Ovahlord
116f10104a
Fixed a warning
2020-08-23 17:22:27 +02:00
Ovahlord
a657a21c4a
Core/Units: backported hit, dodge, parry and crit chance updates from 335 and fixed logics in 4.x specific code
2020-08-23 17:14:34 +02:00
Shauren
fa6f081037
Core/Creatures: Move gossip trainer assignment to creature_trainer table - same gossip can open different trainers depending on which creature it is assigned to
2020-08-22 18:22:57 +02:00
Ovahlord
0bf3444a80
Core/Packets: converted SMSG_CATEGORY_COOLDOWN to packet class and fixed packet structure
2020-08-09 20:51:06 +02:00
Ovahlord
aa31b0d16d
Core/Movement: send SMSG_MOVE_UPDATE_TELEPORT for players only after receiving the ack opcode
2020-08-08 20:22:16 +02:00
Ovahlord
d45d4ed0de
Core/Misc: apply missile canceling codestyle changes based on master branch feedback
2020-08-06 13:38:28 +02:00
Roc13x
ac6604fba7
Core/Creature: Refactor vendor item code ( #167 )
...
* Fix loading referenced vendor items
* Refactored vendor item storage
2020-08-06 01:43:39 +02:00
Ovahlord
f9fdce6d4f
Core/Movement: converted SMSG_ON_MONSTER_MOVE and SMSG_ON_MONSTER_MOVE_TRANSPORT to packet class
...
* define and use MOVEMENTFLAG2_IS_VEHICLE_EXIT_VOLUNTARY
2020-08-05 13:55:17 +02:00
Ovahlord
f42d242996
Core/Spells: implement and enable SMSG_MISSILE_CANCEL and use it in Murozond encounter
2020-08-04 16:53:59 +02:00
Roc13x
5360da31a2
Core/Items: Fix some cases where items could be created without random properties ( #166 )
2020-08-04 10:19:24 +02:00
Roc13x
8669b5d22c
Core/Gossips: Make MenuID/OptionID consistently use uint32 types ( #165 )
2020-08-04 10:14:47 +02:00
Roc13x
31b6b77200
Core/Players: Several gold handling improvements ( #155 )
...
* Updated the following systems to support large (64bit) gold numbers:
- Auction House
- Mail
- Commands
- Guild bank withdraw limits
- Guild Bank eventlog
- Vendor
* Fixed some vendor checks for when BuyCount > 1
* Tweaked some checks for available gold space
2020-08-03 17:24:32 +02:00
Shauren
80e4effba5
Core/Mail: Load mails at login instead of on demand when queried by packets (logging in always sends one of the packets that cause mail loading anyway)
2020-08-01 15:21:13 +02:00
Shauren
adb7e4dba8
Refactor mail loading to execute 2 database queries instead of 1+mails.size()
2020-08-01 15:15:07 +02:00
Shauren
1c1c62d108
Core/Misc: Replace database query in WorldSession::HandleAddFriendOpcode with async version
2020-08-01 15:09:05 +02:00
Ovahlord
b3394e13cb
Core/Creature: removed deprecated IsCombatDisallowed helper
2020-07-29 20:09:46 +02:00
Ovahlord
9340f8d9df
Core/Units: add new functionality for units to block or enable combat entirely via helper to reflect what CREATURE_DIFFICULTYFLAGS_IGNORE_COMBAT and client ai functions imply
2020-07-29 15:46:09 +02:00
Ovahlord
64c4b4f529
Core/Misc: converted quest, creature and quest query packets to packet class and ported query data caching from 335 branch
2020-07-28 21:34:12 +02:00
Ovahlord
9a18121318
Core/Spells: SPELL_ATTR3_NO_DONE_BONUS will now also prevent bonus values for heal spell effects
2020-07-27 01:43:21 +02:00
Ovahlord
9d618c3162
Core/Creatures: ensure that ai is enabled when updating ai for corpses
2020-07-24 12:32:51 +02:00
Giacomo Pozzoni
9c77105040
Core/Combat: Disable triggers entering combat ( #25086 )
...
* Core/Combat: Disable triggers entering combat
* Move check to database flags_extra flag in creature_template with value 0x00002000
* Fix Rotface puddle stalker too
* Rename 9999_99_99_99_world.sql to 2020_07_22_00_world.sql
# Conflicts:
# src/server/game/Entities/Creature/Creature.h
# src/server/game/Entities/Creature/enuminfo_CreatureData.cpp
2020-07-24 00:18:25 +02:00
Ovahlord
a31111ebbb
Core/Spells: allow Rune Strike to be permanently used while in Blood Presence
2020-07-23 22:52:55 +02:00
Ovahlord
aec1d1a2fa
Misc: fixed build
2020-07-23 17:00:54 +02:00
Ovahlord
e677461c5d
Core/Combat: more cleanups and converted threat packets back to packet class
2020-07-23 13:33:46 +02:00
Ovahlord
1ab7a9328f
Core/Combat: reduce differences between 4.x and 335
2020-07-22 21:37:02 +02:00
Kelno and Giacomo Pozzoni
507868a9e1
Fixed PvP Combat timer never getting refreshed ( #24058 )
...
* Fixed PvP Combat timer never gets refreshed while meleeing
* Apply Treeston feedback
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
2020-07-22 19:24:19 +02:00
Treeston
f41cfa9185
Core/SmartAI: SmartAI creatures no longer process health-based hooks after death.
2020-07-22 19:21:21 +02:00
Ovahlord
2c88471fe3
Scripts/Misc: more followups
2020-07-22 19:20:54 +02:00
Treeston
1d02149384
Core/Combat: Properly unset engagement flag on death.
...
# Conflicts:
# src/server/game/AI/CoreAI/GuardAI.cpp
# src/server/game/Entities/Creature/Creature.cpp
2020-07-22 19:16:35 +02:00
Treeston
c7c4f267c4
Core/AI: Finally move the "is creature engaged" flag to be a property of the creature AI, where it honestly always belonged. Fixes #17981 and #23602 for real this time.
2020-07-22 19:14:52 +02:00
Treeston
db3282e65a
Combat/Threat: Split ThreatManager::NotifyDisengaged off from ThreatManager::ClearAllThreat. NotifyDisengaged signifies intent to clear the engagement flag, and should only be called from AI. Fixes #23490 .
...
# Conflicts:
# src/server/game/AI/CreatureAI.cpp
# src/server/game/AI/ScriptedAI/ScriptedFollowerAI.cpp
# src/server/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp
# src/server/scripts/Kalimdor/zone_desolace.cpp
# src/server/scripts/Northrend/zone_borean_tundra.cpp
2020-07-22 18:38:35 +02:00
Ovahlord
de6a514ec5
Core/Misc: fixed build
2020-07-22 18:35:41 +02:00
Ovahlord
47ef91c23d
Core/Misc: more fixups
2020-07-22 18:10:50 +02:00