Commit Graph

282 Commits

Author SHA1 Message Date
Shauren
a52c50e809 Core/Auras: Add root aura handler to aura type 455
Closes #18030
2016-10-05 23:15:58 +02:00
joschiwald
12a52595ed Core/Spells: use spellinfo helper methods 2016-10-01 17:51:05 +02:00
Shauren
4a13ec2fcb Core/Spells: Defined known shapeshift flags 2016-08-23 16:00:44 +02:00
Shocker
0ba1d49bae Core/Spells: Define SPELL_EFFECT_PLAY_SCENE (effect #198) 2016-08-18 18:15:35 +03:00
Shauren
51657e44d1 Core/Spells: Renamed some old and new spell effects 2016-08-09 17:21:19 +02:00
Shauren
70137b8f3a Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-06 00:05:13 +02:00
Shauren
7ed1c47f6b Core/Auras: Implemented SPELL_AURA_OVERRIDE_SPELL_VISUAL 2016-06-29 19:49:23 +02:00
Shauren
5da217877b Core/Spells: Automatically generate spell rank info from SkillLineAbility
* This fixes weird spellbook/talent/glyph/profession ui behavior when knowing multiple spells to remove talent or glyph, or multiple spells to open profession ui
2016-06-15 16:20:43 +02:00
Shauren
d2733eb6f1 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-06-13 21:00:25 +02:00
Shauren
f14c66b5e4 Core/Players: Updated talent specializations 2016-06-09 21:33:18 +02:00
Shauren
b920d6a35c Core/Spells: Fixed possible null pointer dereference
Coverity CID 1355243
2016-06-06 08:45:09 +02:00
Shauren
3ab3a667ed Core/Spells: Add assertions validating various spell enums 2016-06-03 16:45:01 +02:00
Shocker
63f8f54e5c Core/Spells: Define SPELL_EFFECT_ALTER_ITEM 2016-06-02 17:07:07 +03:00
Shauren
31009887e3 6.x rebase 2016-05-21 00:32:38 +02:00
Shauren
70102f32fe Core/DataStores: Updated opcodes and db2 to 7.0.3.21414 2016-05-20 23:49:53 +02:00
Shauren
41ae38d94d Core/DataStores: Updated dbc/db2 to 7.0.1.20914 2016-05-20 23:48:24 +02:00
Shauren
5c2c9a684f Core/DataStores: Updated dbc/db2 to 7.0.1.20810 2016-05-20 23:46:17 +02:00
Shauren
44962fe3a9 Core/Spells: Corrected spell effect value rounding 2016-05-06 00:05:45 +02:00
Shauren
8e84cd760a Core/Spells: Fix typo in item level ppm calculation 2016-05-03 10:08:46 +02:00
Shauren
110ae3e626 Core/Spells: Implemented RPPM proc effects
Closes #17001
2016-05-02 18:52:15 +02:00
Shauren
35ab476f16 Core/Spells: Fixed flat SPELLMOD_DAMAGE_MULTIPLIER calculation 2016-04-30 13:02:39 +02:00
Rushor
926c1ac9a0 Merge pull request #16494 from Rushor/calc
Core/Spell: Magic Absorption Calculation
(cherry picked from commit ebafa2fdea)

# Conflicts:
#	src/server/game/Spells/SpellInfo.cpp
2016-04-28 17:22:57 +01:00
Ovalord
948146f3ee Core/Instances: Updated and enabled encounter packets and implemented combat resurrection limit
Closes #16966
2016-04-24 12:46:26 +02:00
Shauren
4a2bcb483a Core/Spells: Fixed spell effect value calculation for spells having MaxScalingLevel defined 2016-04-19 17:22:46 +02:00
Lopfest
ff3e176eb1 Core/Spells: enabled SPELL_EFFECT_160 (#16987) 2016-04-16 15:24:57 +02:00
Shauren
f4029faece Core/Spells: Implemented spell effect 243 - SPELL_EFFECT_APPLY_ENCHANT_ILLUSION (and fixed enchant visuals, for real this time) 2016-04-07 21:36:36 +02:00
treeston
60b98ecc27 Revert "Merge pull request #16483 from Treeston/3.3.5-debuffimmunity" to fix #16589 while I investigate the retail behavior of SPELL_ATTR_0_UNAFFECTED_BY_INVULERABILITY further.
This reverts commit d67e87733b, reversing
changes made to cfed2d7a3d.

(cherry picked from commit 26bbba4b8d)
2016-04-05 22:12:11 +02:00
joschiwald
d729fc31c6 Core/Spells: spells with SPELL_ATTR1_NO_THREAT also causes no initial aggro
(cherry picked from commit b4b43d03b3)
2016-04-05 20:55:08 +02:00
Treeston
ac034a51da Merge pull request #16483 from Treeston/3.3.5-debuffimmunity
[3.3.5] Make Web Wrap / Mutating Injection (and others) properly cancel on immunity (Divine Shield/Ice Block)
(cherry picked from commit d67e87733b)
2016-04-05 19:56:26 +02:00
Shauren
70412e7e25 Core/Misc: MSVC warning fixes 2016-04-05 00:15:56 +02:00
Shauren
cf2fead644 Core/Spells: Adjusted implicit targeting for SPELL_EFFECT_DESTROY_ITEM 2016-03-02 17:24:07 +01:00
Vincent-Michael
478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren
ef91ba9517 Core/Spells: Fixed a crash when npc casts a spell with SpellLevel = 0 and SPELL_ATTR0_LEVEL_DAMAGE_CALCULATION attribute
Closes #16072
2015-12-20 12:44:14 +01:00
Shocker
e9a1db916e Core/Spells: Implement SPELL_AURA_MOD_SKILL_2 2015-11-29 19:27:29 +02:00
Shauren
d5fb18d3c3 Core/Spells: Implemented scaling spell value with item level 2015-11-24 00:16:42 +01:00
Zedron
bd04a46011 Core/Spells: Fixed a mistake in SpellInfo::CalcPowerCost
Fixed a mistake which caused some SPELLMOD_COST modifiers to give (lots) of power instead of taking power in Spell::TakePower
2015-10-28 16:57:52 -05:00
Shauren
5e0cee85dd Core/Conditions: Type renaming 2015-10-25 10:59:58 +01:00
Shauren
191d2c7262 Core/Spells: Extended spell required shapeshift masks to 64 bits and defined a new spell attribute 2015-09-01 16:59:28 +02:00
David Carlos Manuelda
e488470879 Core/Spell: Remove Rigor Mortis casting on DK creation and make Rigor Mortis spell be positive instead of negative by @Killyana and @killradio 2015-08-23 20:06:46 +02:00
Shauren
a22e4e121a Core/Misc: Fixing warnings detected by Visual Studio 2015 compiler 2015-07-21 00:33:36 +02:00
Shauren
f45ae7af43 Core/PacketIO: Updated spell packets 2015-07-18 00:45:21 +02:00
Shauren
dea6c0b122 Core/DataStores: Updated dbc/db2 structures to 6.2.0 2015-07-07 12:13:14 +02:00
Shauren
585f978c58 Core: Started work on 6.2.0.20182 2015-07-01 02:22:03 +02:00
Shauren
6ae0162390 Core/Spells: Fixed spell effect selection depending on map difficulties 2015-06-25 00:20:25 +02:00
Shauren
de486ebc2c Core/Spells: Fixed spell mana costs - percentage should be calculated using base mana, not total 2015-06-04 15:04:54 +02:00
pete318
97a074def2 Core/Spells: Support for targetting spells onto in flight units
* This adds support to spell_custom_attr to allow a spell to be cast
  upon a unit on a taxi/in flight.
* This will allow the Issue #11880 with Horde quest Test At Sea (11170) to be corrected.
* closes #14235

Signed-off-by: Naios <naios-dev@live.de>

(cherry picked from commit f9cba93985)
2015-06-04 13:38:53 +02:00
DDuarte
b8c681c776 Core: Fix multiple Coverity issues 2015-06-01 03:03:05 +01: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
675a2fcd3b Core/Util: Fixed flag128 and removed flag96 - previously if flag128 and flag96 were used in together the result was always a bool instead of expected flag result due to implicit boolean conversion 2015-04-27 00:33:27 +02:00
DDuarte
86168ff142 Misc: SQL and small code changes for the 71 last cherry-picks 2015-04-14 01:03:57 +01:00