Commit Graph
725 Commits
Author SHA1 Message Date
et65 50b50563ce Core/Spells: Fix logic in SpellEffect::EffectWeaponDmg, it should fix SPELL_EFFECT_WEAPON_DAMAGE_NOSCHOOL, SPELL_EFFECT_WEAPON_PERCENT_DAMAGE, SPELL_EFFECT_WEAPON_DAMAGE and SPELL_EFFECT_NORMALIZED_WEAPON_DMG.
Closes: #14675
2015-05-16 15:36:13 +02:00
Shauren 5b725db033 Core/Garrisons: Basics for garrisons 2015-05-08 00:03:15 +02:00
Shauren 49a63431a3 Core/Spells: Defined names for some new spell effects 2015-05-05 00:47:17 +02:00
Shauren edbd44a675 Core/Creatures: Extended npcflags to uint64 2015-05-04 12:39:36 +02:00
Kinzcool 0453fafaec Core/Enums: Defined two unknown item flags, and cleaned the other item flags enums to reflect a better standardization 2015-05-01 21:56:33 -04:00
Shauren ca83e14f8b Core/Entities: Reworked guid scopes
* Added ObjectGuid traits to easily access whether guid type can be generated globally (ObjectMgr) or not
* This adds separate (per map) guid sequences depending on object type
* Ported map object container from cmangos/mangos-wotlk@a2d396eb0b
* Added type container visitor for TypeUnorderedMapContainer
* Implemented helper function to erase unique pairs from multimap containers
* Moved object storage of all objects except players and transports to map level
* Added containers linking database spawn id with creature/gameobject in world
* Renamed DBTableGuid to spawnId
* Added a separate spawn id sequence generator for creatures and gameobjects - this will be used in db tables
* Moved building SMSG_UPDATE_OBJECT - updatefields changes broadcast to map update
2015-04-28 21:19:46 +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
Shauren ac318ae517 Core/Items: Fixed applying heirloom stats during login
Closes #14196
Closes #14476
2015-04-23 00:07:59 +02:00
Rat 11f6b9af0b Core/Spells: small cleanup in EffectDestroyItem 2015-04-06 19:50:21 +02:00
Rat 0685033834 Core/Spells: implemented SPELL_EFFECT_DESTROY_ITEM 2015-04-06 14:01:39 +02:00
DDuarte 7c776ddadf Core/Packets: Fix writing WorldPackets::Duel::DuelRequested 2015-04-02 18:58:35 +01:00
xerkoss ae9f9f5de6 Core/Packets: Updated and enabled duel opcodes
Closes #14438
2015-04-02 18:44:27 +02:00
Rat 3660c3a37f Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into 6.x
Conflicts:
	src/server/game/Handlers/MiscHandler.cpp
	src/server/game/Server/Protocol/Opcodes.cpp
2015-03-29 11:25:48 +02:00
Shauren 8cfb542ee4 Core/PacketIO: Updated values of all known server opcodes 2015-03-27 22:21:24 +01:00
Rat eebc468e62 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into 6.x
Conflicts:
	src/server/collision/Management/MMapManager.cpp
	src/server/game/Conditions/ConditionMgr.cpp
	src/server/game/Conditions/ConditionMgr.h
2015-03-24 20:01:02 +01:00
Rat 3fef9dcd66 Core/Spells: updated spelleffect array to 6.1 2015-03-21 22:00:46 +01:00
click 4df9f46214 Core: Move some more INFO-level logentries to DEBUG
(cherry picked from commit db302c28c24a5bc9f77463555453bb09ca4b094a)

Conflicts:
	src/server/game/Spells/Spell.cpp
	src/server/game/Spells/SpellEffects.cpp
2015-03-18 00:15:52 +00:00
Rat 8f3a80c1cf Core/Phases: Ported new phasing system from 4.3.4 branch and fixed some map swap logic 2015-03-16 07:28:49 +01:00
MitchesD c6718dc120 Core/PacketIO: updated and enabled SMSG_PLAY_MUSIC 2015-03-11 20:04:57 +01:00
MitchesD 47517b2128 Core/PacketIO: updated SMSG_CLEAR_TARGET and enabled some opcodes 2015-03-10 16:29:52 +01:00
Shauren 0ba2e0d5ee Core/Spells: Implemented multiple spell power costs 2015-03-08 13:31:57 +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 709275eecb Core/Spells: Fix a float division issue in EffectLeapBack
Ref Coverity CID 1227511
2015-02-15 15:01:36 +00:00
Duarte Duarte c29aebfc2c Core/Spells: Refactor code changed in 8c49d204c3 2015-02-12 22:08:17 +00:00
Duarte Duarte 97e62c0ea5 Core/Packets: Update and enable CMSG_GOSSIP_SELECT_OPTION, SMSG_BINDER_CONFIRM, SMSG_GOSSIP_COMPLETE and SMSG_PLAYER_BOUND
Fixes #14115
2015-02-12 04:23:19 +00:00
jackpoz e6f26cfb1f Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity.
Rename SpellMgr::EnsureSpellInfo() to SpellMgr::AssertSpellInfo() to be consistent with other similar methods.
2015-02-08 19:40:03 +01:00
Shauren 663052dd72 Core/Players: Resetting talents will no longer reset character specialization
* Fixed level requirements for specialization spells

Closes #14014
2015-02-03 20:10:12 +01:00
Shauren 3f28fd304d Core/Spells: Reimplemented automatic spell learning
* Fixed learning/unlearning talents
2015-01-30 23:58:16 +01:00
Gooyeth 3edd93d1e5 Core/Spells: Correction Stuck effect (6.0.3)
The player dies if heathstone is in cooldown, else the player is teleported to home.

Thanks @F03SD and @Kinzcool.
2015-01-27 14:08:13 -06:00
Gooyeth 5209531144 Core/Spells: Update Stuck effect 6.0.3
The stuck effect in Cataclysm and MoP the player dies, in WoD the player is teleported to home.

Closes #13938
2015-01-26 20:25:37 +00:00
joschiwald fd6668d17a Core/NetworkIO: sync opcode values with wpp and removed duplicate ones 2015-01-18 23:56:01 +01: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
Shocker a40afd9e60 Core/Spells: Define some new spell effects 2015-01-05 14:58:17 +02:00
Vincent-Michael ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +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
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
Rat ec513ecfc2 Core/Items:
- Added basic inventory item movements
(packets need to be ported to new handlers after more testing)
- Fixed some item visual bugs
2014-12-20 17:25:15 +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 19528f54a5 Core/Spells: Fixed player spells with only spellpower scaling doing no damage 2014-12-14 16:12:50 +01:00
Rat 4a6a91a32f Core/Spells: added missing spell effect handler placeholders
- some cleanup
2014-11-30 16:51:47 +01:00
Rat eda9094226 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into Spells 2014-11-29 14:52:53 +01:00
joschiwald b7baee390c Core/Packets: updated SMSG_BINDPOINTUPDATE, SMSG_INVALIDATE_PLAYER, SMSG_LOGIN_SETTIMESPEED, SMSG_WORLD_SERVER_INFO 2014-11-19 02:12:47 +01:00
Rat e9f9719af2 Core/Spells: spell system updates (no-compile-version_2) 2014-11-17 20:38:56 +01:00