Commit Graph

1611 Commits

Author SHA1 Message Date
Shauren
935c93e099 Core/Player: Fixed being teleported into void when on a transport 2015-10-21 22:37:02 +02:00
Shauren
b808910a89 Core/Auras: Fixed auras limited to a single target not being removed in all cases as expected
* Fixes possible assertion failure in Aura::UnregisterSingleTarget
Closes #15696
Ref #15668
2015-10-14 08:29:19 +02:00
Shauren
3bc3b67a8f Core/Player: Changed ranged weapons to be equipped in main hand slot instead of no longer used ranged slot
Closes #14675
Closes #15296
2015-09-27 00:06:08 +02:00
Duarte Duarte
eb65c8051c Merge pull request #15452 from Treeston/3.3.5
Core/Unit: Allow mounting for certain transformations
(cherry picked from commit 6cdfe9dc09)
2015-09-25 00:03:23 +02:00
StormBytePP
bfdaee68ce Core/Unit: Do not remove aura with interrupt flag AURA_INTERRUPT_FLAG_NOT_UNDERWATER when already flying
(cherry picked from commit 70f029fd0a)
2015-09-24 23:27:19 +02:00
StormBytePP
b3eb1ead96 Core/Misc: Added checks for procSpell nullptr cases
Fixes Coverity Defect ID: 1023036

(cherry picked from commit 424576e098)

Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
2015-09-24 22:54:17 +02:00
jackpoz
4700b24263 Core/Misc: Remove unneeded ToCreature() casts
Remove some ToCreature() casts not needed anymore after 1ee90e1022 changes that moved IsPet(), IsTotem(), IsSummon(), IsGuardian(), IsHunterPet() and IsVehicle() from Creature to Unit

(cherry picked from commit ea4d9c0d9e)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Unit/Unit.cpp
	src/server/scripts/Spells/spell_pet.cpp
2015-09-24 22:06:05 +02:00
jackpoz
cacf184822 Core/Misc: Remove unneeded ToCreature() casts
Remove some ToCreature() casts not needed anymore after 1ee90e1022 changes that moved IsPet() from Creature to Unit

(cherry picked from commit d243630acf)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Spells/Spell.cpp
	src/server/game/Spells/SpellEffects.cpp
2015-09-24 21:04:46 +02:00
jackpoz
bfb373ef22 Merge pull request #15119 from robinsch/grounding
Core/Spells: Grounding totem fix

Fixes #15108
(cherry picked from commit 3f3ff8b36b)
2015-09-24 19:59:09 +02:00
jackpoz
57328c69aa Core/Spells: Fix damage done by SPELL_EFFECT_NORMALIZED_WEAPON_DMG
Fix a rare case that would cause SPELL_EFFECT_NORMALIZED_WEAPON_DMG to do 4 billions damage or to trigger an assertion in Unit::CalculateDamage() depending by Unit base damage.
To reproduce the issue cast spell 25816 on a level 1-14 warrior, then make the warrior cast spell 694 on a Creature.

(cherry picked from commit 143026ed19)
2015-09-24 19:51:05 +02:00
Shauren
91f2bef235 Core/PacketIO: Fixed creature teleports not working clientside 2015-09-23 00:05:18 +02:00
StormBytePP
0bed9d56cb Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert 2015-09-21 15:17:05 +02:00
Shauren
492bd23599 Warning fix 2015-09-19 17:55:45 +02:00
Shauren
225bbe7f72 Core/PacketIO: Implemented correct opcode for GameObject animkit changes and enabled all animkit related opcodes 2015-09-16 17:06:24 +02:00
Shauren
8998218eac Core/Unit: Fixed incorrect value sent in highest threat unit update 2015-09-15 16:58:09 +02:00
Thomas33
1ad11b6b46 Core/Spells: Fix Tauren and Night Elf Moonkin form
Closes #15392

Signed-off-by: DDuarte <dnpd.dd@gmail.com>
2015-08-31 16:43:25 +01:00
StormBytePP
235a639162 Core/Unit: Prevent AoE damage to have effect in some cases when faction is unfriendly but they don't attack you and you don't have at war enabled (Example, Sporaggar faction)
Fixes #15374
2015-08-29 05:13:02 +02:00
Shauren
f0e7ef1f9f Core/PacketIO: Exclude DamageDealt/DamageTaken script hook results from damage sent in SMSG_SPELL_NON_MELEE_DAMAGE_LOG 2015-08-10 17:46:31 +02:00
Vincent-Michael
f792e8ee7c Core/PacketIO: Updated and enabled SMSG_BREAK_TARGET opcode 2015-08-08 22:30:27 +02:00
Shauren
fcc8c2d12c Core/PacketIO: Implemented advanced combat logging 2015-08-08 15:15:14 +02:00
Shauren
370f967895 Core/PacketIO: Refactored combat log packet sending in preparation for advanced combat logging config option 2015-08-06 17:08:52 +02:00
Shauren
bf8dc08f1b Core/PacketIO: Updated and enabled a few combat log opcodes
* Fixed structure of SMSG_SPELL_NON_MELEE_DAMAGE_LOG
2015-08-05 00:08:49 +02:00
Shauren
c35e323bc9 Core/Misc: Defined combat log flags and new spell attribute 2015-08-04 21:39:18 +02:00
Shauren
4b9b77eefc Core/PacketIO: Updated and enabled SMSG_DESTROY_ARENA_UNIT 2015-08-03 16:39:37 +02:00
Vincent-Michael
d8850f0536 Core/PacketIO: Update and enabled SMSG_PARTY_KILL_LOG opcode 2015-08-02 20:35:01 +02:00
Vincent-Michael
2e586bc520 Core: Header cleanup in game/*/*.cpp 2015-07-25 20:18:42 +02:00
Shauren
a22e4e121a Core/Misc: Fixing warnings detected by Visual Studio 2015 compiler 2015-07-21 00:33:36 +02:00
mik1893
fa0e5289a8 Merge pull request #14974 from pete318/stealth_work
Stealth changes (Player stealthed vs NPCs) - 3.3.5
(cherry picked from commit 90fcfb3f2d)

Conflicts:
	src/server/game/Entities/Object/Object.h
	src/server/game/Entities/Unit/Unit.cpp
2015-07-19 01:43:05 +01:00
Rushor
911349fb77 Merge pull request #15092 from robinsch/shamanT10enhancement
Core/Spells:  Enhancement Shaman T10 4P bonus set
closes #15090
(cherry picked from commit ab0c0b7cb8)
2015-07-19 01:32:20 +01:00
Vincent-Michael
dc87018345 Core/PacketIO: Updated and enabled barber shop opcodes 2015-07-12 22:34:45 +02:00
Shauren
1b5665597a Core/Spells: Implemented CAST_FLAG_IMMUNITY
(cherry picked from commit efad3a3123)

Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
	src/server/game/Spells/Spell.cpp
2015-07-12 13:24:38 +01:00
Shauren
228b932925 Core/Players: Fixed power slot ordering 2015-07-12 00:41:56 +02:00
Carbenium
a08ec6c098 Core/Unit: Fix travis build 2015-07-10 01:30:56 +02:00
Carbenium
eeaa78c8df Merge pull request #14821 from Boomper/auraoverridespellbar
Core/Unit: Correct Handling of SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS
2015-07-10 01:08:28 +02:00
Shauren
dea6c0b122 Core/DataStores: Updated dbc/db2 structures to 6.2.0 2015-07-07 12:13:14 +02:00
robinsch
aac7374a09 Core/Unit: Fix issue with Divine Shield immunities
Closes #14910

(cherry picked from commit 2263cb9e10)

Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
2015-07-03 01:13:24 +01:00
Shauren
585f978c58 Core: Started work on 6.2.0.20182 2015-07-01 02:22:03 +02:00
jackpoz
d7258abb0e Merge pull request #14250 from xjose93/SPELL_AURA_USE_NORMAL_MOVEMENT_SPEED
Core/Unit: Fix snare/daze immunities versus SPELL_AURA_USE_NORMAL_MOVEMENT_SPEED

Fix SPELL_AURA_USE_NORMAL_MOVEMENT_SPEED modifying speeds of bosses that are immune to changes of speeds.
(cherry picked from commit 81cec13a58)
2015-06-26 03:25:51 +01:00
jackpoz
6df2d03f72 Merge pull request #14641 from tkrokli/Fix_cast_on_fear_while_rooted
Core/Spells: Fix being able to cast while feared and rooted at same time

Disallow to cast if feared and rooted at same time
(cherry picked from commit 1161295f4f)

Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
2015-06-26 02:56:20 +01:00
MitchesD
66056b2f8a Core/PacketIO: updated SMSG_SET_AI_ANIM_KIT and SMSG_SET_PLAY_HOVER_ANIM 2015-06-23 15:03:49 +02:00
Shauren
d2142ac380 Core/Units: Changed SPELL_AURA_MOD_MINIMUM_SPEED to always be applied, not only if under a slow aura (SPELL_AURA_MOD_MINIMUM_SPEED can set the minimum speed higher than base speed) 2015-06-17 16:45:28 +02:00
Shauren
5249be851f Core/Auras: Implemented SPELL_AURA_OVERRIDE_SPELL_POWER_BY_AP_PCT 2015-06-11 00:09:19 +02:00
MitchesD
45eaeff553 Core/PacketIO: updated structure of SMSG_SPELL_INTERRUPT_LOG, SMSG_SPELL_ENERGIZE_LOG 2015-06-03 15:02:38 +02:00
Boomper
32baf4341e Core/Unit: Correct Handling of SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS and SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS_2
- if aura  SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS/*_2 has a ClassMask it changes spells that fit into that classmask
 - if aura  SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS/*_2 doesn't have a ClassMask it changes spells with spellId equal to miscValueA
2015-05-31 21:20:20 +02:00
Shauren
83df74e3dc Core/Auras: Implemented SPELL_AURA_MOD_STAT_BONUS_PCT (467) 2015-05-31 00:12:21 +02:00
MitchesD
1f71eb7210 Core/Packets: fixed logic fail caused by misunderstanding of multistrike
* when multistrike is implemented, we have to do some changes here
2015-05-27 00:23:31 +02:00
MitchesD
ca5ea3c85d Core/PacketIO: updated structure of SMSG_SPELL_PERIODIC_AURA_LOG
* debug info is no implemented since we don't know the right usage
2015-05-26 21:51:01 +02:00
Shauren
acd4b6fb50 Core/Entities: Allow all object types to use anim kits, not only players/creatures 2015-05-25 01:50:03 +02:00
et65
c6ab951025 Core/PacketsIO: Implemented or updated most of party related packets.
Packets updated or implemented :
- SMSG_INSTANCE_INFO : updated

- CMSG_SAVE_CUF_PROFILES : updated
- SMSG_LOAD_CUF_PROFILES : updated

- SMSG_PARTY_COMMAND_RESULT : updated

- CMSG_PARTY_INVITE : updated
- SMSG_PARTY_INVITE : updated
- CMSG_PARTY_INVITE_RESPONSE : updated
- CMSG_PARTY_UNINVITE : updated
- SMSG_GROUP_UNINVITE : updated
- CMSG_LEAVE_GROUP : updated
- SMSG_GROUP_DECLINE : updated

- SMSG_GROUP_DESTROYED : updated

- CMSG_MINIMAP_PING : updated
- SMSG_MINIMAP_PING : updated

- CMSG_CONVERT_RAID : updated
- CMSG_SET_EVERYONE_IS_ASSISTANT

- CMSG_DO_READY_CHECK : updated
- CMSG_READY_CHECK_RESPONSE : updated
- SMSG_READY_CHECK_COMPLETED : updated
- SMSG_READY_CHECK_RESPONSE : updated
- SMSG_READY_CHECK_STARTED : updated

- CMSG_REQUEST_PARTY_JOIN_UPDATES : implemented (source : sniffs)
- CMSG_REQUEST_PARTY_MEMBER_STATE : updated
- SMSG_PARTY_MEMBER_STATE : updated
- SMSG_PARTY_UPDATE : updated

- CMSG_REQUEST_RAID_INFO : updated

- CMSG_INITIATE_ROLE_POLL : updated
- SMSG_ROLE_POLL_INFORM : updated
- CMSG_SET_ROLE : updated
- SMSG_ROLE_CHANGED_INFORM : updated

- CMSG_CHANGE_SUB_GROUP : updated
- CMSG_SWAP_SUB_GROUPS : implemented

- CMSG_SET_ASSISTANT_LEADER : updated
- CMSG_SET_PARTY_LEADER : updated
- SMSG_GROUP_NEW_LEADER : updated

- CMSG_CLEAR_RAID_MARKER : implemented
- SMSG_RAID_MARKERS_CHANGED : implemented

- CMSG_UPDATE_RAID_TARGET : updated
- SMSG_SEND_RAID_TARGET_UPDATE_ALL : updated
- SMSG_SEND_RAID_TARGET_UPDATE_SINGLE : updated

- CMSG_OPT_OUT_OF_LOOT : updated
- CMSG_SET_LOOT_METHOD : updated

About group update flags:
- Not sure they are use for now.
- Pets now have their group update flags.
- Pets'power is no send to client anymore.
- Changes about them are inspired from SMSG_PARTY_MEMBER_STATS parsing of WowPacketParser, but it seems this packet is not use anymore.

CHAT_MSG_RAID has been fixed.

About Ready check:
- Correctly implemented this function.
- An update function has been added to Group class, and to GroupMgr class in order to manage the ready check expiration (when 35 seconds were gone, players who have not answered must be reported as AFK)

About Raid markers:
- Old spell effect SPELL_EFFECT_SUMMON_OBJECT_SLOT3 has been renamed to SPELL_EFFECT_CHANGE_RAID_MARKER and implemented. I'm sure about that because raid markers spells are the only spells that have this effect type.

Source: WowPacketParser, and sniffs from official.
2015-05-19 13:10:29 +02:00
Shauren
edbd44a675 Core/Creatures: Extended npcflags to uint64 2015-05-04 12:39:36 +02:00