Commit Graph
826 Commits
Author SHA1 Message Date
Shauren f45ae7af43 Core/PacketIO: Updated spell packets 2015-07-18 00:45:21 +02:00
Shauren 1b5665597a Core/Spells: Implemented CAST_FLAG_IMMUNITY
(cherry picked from commit efad3a3123aee9347f2aaa3034550cd0b0543e60)

Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
	src/server/game/Spells/Spell.cpp
2015-07-12 13:24:38 +01:00
jackpoz 7cabfc7420 Core/Spells: Fix Charge "no path" error with huge targets
Fix Charge returning "no path found" error when targeting targets with Object Size of 8 like Festergut by changing how the target Z coordinate is set, using only half object size.
It is unclear why the CalculatePath() call in Charge handler is using target object size, maybe for corner cases where the target is slightly below the ground.

(cherry picked from commit a328a119784252c6d514436f4ceffa693ac65453)
2015-07-12 12:43:21 +01:00
Shauren dea6c0b122 Core/DataStores: Updated dbc/db2 structures to 6.2.0 2015-07-07 12:13:14 +02:00
mik1893 ee168cae9b Merge pull request #14797 from czw/3.3.5
Core/Spells: Fix DK Death rune selection
(cherry picked from commit 94bb71e5a1f2b341e94aa6adc661f1200b2b10aa)

Conflicts:
	src/server/game/Spells/Spell.cpp
2015-07-03 01:16:12 +01:00
jackpoz 5254a1e164 Core/Spells: Fix Charge pathing
Fix charge allowing to run to unreachable places
Close #13847

(cherry picked from commit 91c399cad239b20dac68629587e7c8b4ec612be3)
2015-06-26 03:28:39 +01:00
MitchesD 45eaeff553 Core/PacketIO: updated structure of SMSG_SPELL_INTERRUPT_LOG, SMSG_SPELL_ENERGIZE_LOG 2015-06-03 15:02:38 +02:00
DDuarte b8c681c776 Core: Fix multiple Coverity issues 2015-06-01 03:03:05 +01:00
DDuarte eeadf2964e Core/Spells: Fix invalid iterator usages in Spell::SelectSpellTargets()
Closes #14751
2015-06-01 00:27:28 +01:00
Shauren b06cd11496 Core/Spells: Fixed effects with index >= 8 not being handled 2015-05-10 00:07:48 +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 48ee1f0033 Core/Misc: Moved Position to its own file 2015-05-02 00:05:01 +02: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
Naios d37ecf796e Core/Misc: Use boost::in_place() to initialize optionals.
* Improves commit 800d5d8939
* Thanks @Shauren for this great suggestion.
2015-04-27 17:01:30 +02:00
Naios 800d5d8939 Core/Misc: Replace tc's optional with boost::optional.
* benefits from empty optimization (objects are only constructed if needed).
* supports r-value references (move semantics) (boost >= 1.56.0).
* preparation for c++14/17's std::optional and std::none_t.
* add move constructor to CompactArray.
2015-04-26 23:45:52 +02:00
Vincent-Michael b2e6e678c3 Core/PacketIO:
* Updated and enabled SMSG_RESURRECT_REQUEST
* Fix typo for CMSG_RESURRECT_RESPONSE
2015-04-19 13:45:43 +02:00
Vincent-Michael a1fe3cccd8 Core/Spells: Cleanup in ca5c939a89 2015-04-18 19:17:47 +02:00
Vincent-Michael ca5c939a89 Core/PacketIO: Updated and enabled SMSG_SPELL_EXECUTE_LOG for WoD 2015-04-18 17:02:55 +02:00
Shauren b66d2da2c7 Core/PacketIO: Updated and enabled SMSG_SPELL_CHANNEL_START and SMSG_SPELL_CHANNEL_UPDATE 2015-04-04 16:04:40 +02:00
Shauren 89007ac1d0 Core/Players: Updated trading
* Use special Uniq ObjectGuid::TradeItem for enchanting trade items
* Added additional validation of trade state
* Fixed an ancient bug in trade display causing pending enchantment to never update clientside if too many operations were done in a trading session
2015-04-04 00:07:16 +02:00
Shauren 8cfb542ee4 Core/PacketIO: Updated values of all known server opcodes 2015-03-27 22:21:24 +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
Naios 9a61049f88 Core/Game: Fix some issues detected by static analysis.
* Possible inefficient checking for 'list' emptiness.

* Variable '_scheduledScripts' is assigned in constructor body.
  Consider performing initialization in initialization list.

* Variable 'Text' is assigned in constructor body.
  Consider performing initialization in initialization list.

* Possible inefficient checking for 'm_loadedScripts' emptiness.
2015-03-11 08:53:13 +01:00
Shauren c97a9e5607 Core/Spells: Implemented SPELLMOD_JUMP_DISTANCE 2015-03-08 17:39:20 +01:00
Shauren 0ba2e0d5ee Core/Spells: Implemented multiple spell power costs 2015-03-08 13:31:57 +01:00
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 54cc8adac5db101f427b76373ce79d587f7e5332)
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