Commit Graph

258 Commits

Author SHA1 Message Date
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
click
1c5a193aba Core: Follow codingstyle guidelines (CamelCase for functions, lowerCamel for vars and local stuff)
(cherry picked from commit adb39317fa)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Spells/SpellInfo.cpp
2015-04-14 01:02:16 +01:00
click
0192a602d6 Core/Spells: Allow non-skill-based flying mounts to be used in designated areas.
- Flying mounts that are not in the "SKILL_MOUNT"-tree and area-restricted can now be used properly (ex. 64749 - Loaned Gryphon).
- Remove isKnowHowFlyIn()-function (useless and deprecated since this is handled properly in the spellsystem).
Massive thanks to rat for extremely good help and support on fixing this (most of this is his work).
(cherry picked from commit 0e3607df5b)

Core/Spells: Reinstate helperfunction removed in commit 0e3607d (with a new functionname to make more sense out of it), and adjust the remaining code slightly to accomodate that.
(cherry picked from commit 6c1e4bc20d)
2015-04-14 01:02:08 +01:00
Rat
930b74d0ca Core/Spells: Spell radius calculation update 2015-03-23 07:42:50 +01:00
Shauren
14c5e67a89 Core/Spells: Fixed level value scaling for spells with scaling class < -1
Closes #14133
2015-03-09 00:50:09 +01:00
Shauren
0ba2e0d5ee Core/Spells: Implemented multiple spell power costs 2015-03-08 13:31:57 +01:00
Shauren
e63872e1ee Core/DataStores: Updated dbc structures to 6.1 2015-03-04 12:17:06 +01:00
Shauren
5c4fd7ac4f Core/DataStores: Added tables for all loaded DB2 stores 2015-02-22 10:29:12 +01:00
Shauren
474d299b0e Core/Auras: Implemented using Mount.db2 for selecting mount display id 2015-02-19 22:25:59 +01:00
joschiwald
d56d318c7f Core/Spells: fixed mem leak 2015-02-17 21:00:15 +01:00
Shauren
56186319bd Core/Spells: Cooldown updates
* Refactored cooldown handling to separate class shared by creatures and players
* Updated and enabled cooldown packets
* Implemented creature school lockouts
* Implemented spell charges
* Fixed AuraUpdate structure
* Fixed aura flag AFLAG_NOCASTER handling
* Implemented spell charge related auras
2015-02-17 01:01:44 +01:00
Shauren
3f28fd304d Core/Spells: Reimplemented automatic spell learning
* Fixed learning/unlearning talents
2015-01-30 23:58:16 +01:00
Shauren
faa583c784 Core/Maps: Updated map difficulties 2015-01-10 01:35:47 +01:00
Shocker
e99411e405 Core/Spells: Implement HasAttribute() helper for SpellInfo for easier readability 2015-01-05 23:49:43 +02:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
joschiwald
9ecc578cb1 Core/Scripts: multiple changes
- fixed non pch build
- fixed some warnings
- fixed some coverity issues
- some random things here and there
2014-12-29 01:00:16 +01:00
joschiwald
6c6e4d4328 Core/Packets: moved chat packet building function to packet builder class 2014-12-23 00:06:36 +01:00
Shauren
9f0051c4e5 Core/Spells: Implemented using dbc spellpower/ap coeffiecients for spells 2014-12-19 23:52:29 +01:00
Shauren
5f133e3e4d Core/Spells: Implemented varying damage for spells with no base value 2014-12-19 18:55:09 +01:00
Shauren
fedca01b4b Core/Spells: Updated base scaling value calculation 2014-12-14 16:14:08 +01:00
Shauren
25ff9daab1 Core/Spells: Optimized spell effect info loading 2014-12-14 16:11:33 +01:00
Shauren
edf5fc2236 Core/Spells: Fixed a crash in SpellInfo::GetEffect happening when the current difficulty did not have an overriding effect 2014-12-14 11:28:13 +01:00
Rat
16ff14e758 Merge branch 'Spells' of https://github.com/TrinityCore/TrinityCore into Spells 2014-12-08 15:33:16 +01:00
Intel
4825832c85 Merge branch '6.x' into Spells
Conflicts:
	src/server/game/DataStores/DBCStores.h
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Unit/Unit.cpp
	src/server/game/Server/Protocol/Opcodes.cpp
	src/server/scripts/Spells/spell_druid.cpp
2014-12-07 23:20:52 +02:00
Rat
30e2e04c01 Core/Spells: some work on effects scaling 2014-12-07 10:11:47 +01:00