Commit Graph

801 Commits

Author SHA1 Message Date
Shauren
5c4fd7ac4f Core/DataStores: Added tables for all loaded DB2 stores 2015-02-22 10:29:12 +01:00
Shauren
ea9eccae85 Core/Spells: Restored totem category check
Revert "Core/Totems: In cata totem items are no longer needed"

This reverts commit 45e0cae7be
2015-02-21 16:58:09 +01:00
Shauren
68fceee10e Core/Spells: Removed leftovers of old cooldown handling
* Use ItemEffect.db2 data directly instead of copying it to another structure
2015-02-21 13:08:33 +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
Duarte Duarte
c29aebfc2c Core/Spells: Refactor code changed in 8c49d204c3 2015-02-12 22:08:17 +00:00
Duarte Duarte
8c49d204c3 Core/Packets: Write targets (hit & miss) to SMSG_SPELL_GO
Fixes most spell visuals.

Also write explicit basic types in SpellPackets (cosmetic)
2015-02-12 20:02:37 +00:00
Duarte Duarte
20aa605485 Core/Packets: Update and enable CMSG_USE_ITEM
Ref #14115
2015-02-12 02:37:42 +00:00
Shauren
a043d539f0 Core/Spells: Implemented SpellLearnSpell.db2 for auto learning linked spells 2015-02-08 16:23:31 +01:00
Shauren
6d70acbbd6 Core/Spells: Renamed SPELL_ATTR4_TRIGGERED to SPELL_ATTR4_CAN_CAST_WHILE_CASTING and adjusted trigger flags accordingly 2015-01-31 19:52:36 +01:00
Shauren
3f28fd304d Core/Spells: Reimplemented automatic spell learning
* Fixed learning/unlearning talents
2015-01-30 23:58:16 +01:00
Duarte Duarte
b9e435631d Merge pull request #13907 from Aaron126/diminishing_returns
Core/Spells: Update DR's for WoD
2015-01-26 20:27:53 +00:00
Aaron126
f0e5c8b78f Core/Spells: Update DR's for WoD
thx @fatalaim for doing some of the spells
2015-01-17 15:04:31 -06:00
joschiwald
36e50ff8ae Core/Opcodes: sync with wpp 2015-01-17 03:55:29 +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
c5a79fe37b Core: fixed more typos 2014-12-29 04:00:29 +01:00
joschiwald
e8f97ec80a Core: fixed typos from previous commit and kill more warnings 2014-12-29 01:32:55 +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
MrSmite
584672556c Fix spell cooldown for guardian pets
(cherry picked from commit 54cc8adac5)
2014-12-27 13:58:06 +00:00
Unholychick
ebf95e7ed7 Core/Scripts: Add new SpellScript hook OnEffectSuccessfulDispel
Adds SpellScript hook to execute scripts after succesful dispels, example could be warlock pets Devour Magic, which should only trigger when succesfully dispelling an aura.
2014-12-25 22:21:15 +01:00
Shauren
941904d5ea Core/Items: Updated item stat calculations
* Implemented item modifiers
* Implemented item bonuses
2014-12-23 00:25:43 +01:00
Shauren
6dbb516b65 Core/Items: Refactored ItemTemplate 2014-12-21 13:35:43 +01:00
Shauren
9f0051c4e5 Core/Spells: Implemented using dbc spellpower/ap coeffiecients for spells 2014-12-19 23:52:29 +01:00
Rat
9fefd963b3 Core/Spells: fixed build and SelectEffectImplicitTargets logic 2014-12-19 20:47:01 +01:00
Shauren
5f133e3e4d Core/Spells: Implemented varying damage for spells with no base value 2014-12-19 18:55:09 +01:00
Rat
30e2e04c01 Core/Spells: some work on effects scaling 2014-12-07 10:11:47 +01:00
Intel
0d21ed3f86 Core/Packets: Implemented SMSG_CAST_FAILED and updated SpellCastResult enum 2014-12-05 00:33:21 +02:00
Intel
713488596f Core/Packets: Convert SMSG_SPELL_START and SMSG_SPELL_GO to JAM structures 2014-12-02 00:07:36 +02:00
Rat
b91ac01bc7 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into Spells 2014-12-01 21:09:23 +01:00
Gacko
05913b8208 Core/Game: Fix several warnings about wrong data types 2014-12-01 17:21:18 +01:00
Intel
3e7e3f2b6e Core/Packets: Added SMSG_SPELL_FAILURE, SMSG_SPELL_FAILED_OTHER, SMSG_SET_FLAT_SPELL_MODIFIER, SMSG_SET_PCT_SPELL_MODIFIER packets 2014-11-30 20:13:23 +02:00
Rat
065e1ec3cd Core/Spells: some work on auras and packets 2014-11-30 15:37:11 +01:00
Rat
60e377bd3e Core/Spells: some crash fixes 2014-11-27 15:11:43 +01:00
Rat
e9f9719af2 Core/Spells: spell system updates (no-compile-version_2) 2014-11-17 20:38:56 +01:00
Rat
588143b9b6 Core/Spells: Spell system updates (don't even try to compile this) 2014-11-16 14:20:01 +01:00
Intel
1e51d22d29 Core/DataStores: Updated Item DataStores
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2014-11-15 04:27:37 +00:00
Intel
b5236a6cdc Core/DataStores: Updated AreaTable.dbc
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2014-11-15 04:27:35 +00:00
Rat
ac0ff1fc9b Merge branch 'dbc' of https://github.com/Intel/TrinityCore into Intel-dbc
Conflicts:
	src/server/game/DataStores/DBCStores.cpp
	src/server/game/DataStores/DBCStructure.h
	src/server/game/Events/GameEventMgr.cpp
2014-11-10 15:18:01 +01:00
Intel
43d5fb5eae Core/DataStores: Updating spells dbc part 2 2014-11-10 02:51:55 +02:00
Intel
f847f55385 Core/DataStores: Updating spells dbc part 1 2014-11-09 23:53:48 +02:00
joschiwald
2fee7d195b Core/NetworkIO: updated SMSG_UPDATE_WORLD_STATE, added SMSG_PVP_SEASON and added packet class for SMSG_INIT_WORLD_STATES 2014-11-09 04:25:09 +01:00
Intel
a7f56c2208 Core/DataStores: Updated GameObjectDisplayInfo.dbc, GemProperties.dbc, GlyphProperties.dbc, GlyphSlot.dbc, GuildPerkSpells.dbc structs 2014-11-08 20:21:17 +02:00
Shauren
7afab9f783 Core/Entities: Updated HighGuid values 2014-10-27 12:03:35 +01:00
Shauren
10fb948c40 Core/Entities: Changed a few lowguid uses to ObjectGuid::LowType 2014-10-25 17:11:35 +02:00
DDuarte
f37e5b9afd Core/Opcodes: Support opcodes with the same ids and different direction
- Split enum Opcodes in enum OpcodeMisc/OpcodeClient/OpcodeServer
	- Old MSGs are temporarly in the enum OpcodeClient
- Split _internalTable of OpcodeTable in two tables, one for CMSG opcodes and another for SMSG opcodes

Note: most added static_cast<OpcodeX> will be removed once WorldPacket
is split in two classes (ServerPacket/ClientPacket, see #13434)
2014-10-25 15:42:16 +01:00
Shauren
08c56eb110 Core/Entities: First step to 128 bit guids
* Database fields storing full guid have been converted to BINARY(16)
2014-10-23 17:01:26 +02:00
Shauren
bea5cad67d Core/Entities: Fourth part of removing GetGUIDLow() uses 2014-10-22 21:22:04 +02:00
Shauren
68f45e8734 Core/Entities: Final batch of removing implicit conversions of ObjectGuid to uint64 2014-10-21 21:09:15 +02:00
Shauren
034561792c Core/Entities: Second batch of removing implicit conversions of ObjectGuid to uint64 2014-10-21 20:27:00 +02:00