Commit Graph
1810 Commits
Author SHA1 Message Date
Aokromes 86cda20261 Revert "Core/Player: More cleanups to Player::UpdateZone, including correcting an oversight that was causing the last known zone id to not update when leaving map. Closes #20289 for real this time."
This reverts commit 6d2bfac955.
2017-09-10 16:46:42 +02:00
Treeston 6d2bfac955 Core/Player: More cleanups to Player::UpdateZone, including correcting an oversight that was causing the last known zone id to not update when leaving map. Closes #20289 for real this time. 2017-09-10 15:42:55 +02:00
Aokromes 2fc3ddec1d Core/Player: Resequence Player::UpdateZone some more to hopefully prevent future edge cases like #20289 from occurring. 2017-09-10 15:37:49 +02:00
Treeston 46657cca71 Core/Player: Update map zone stats BEFORE invoking scripts. Fixes a crash with zone change scripts that invoke another zone change. Closes #20289. 2017-09-10 15:34:30 +02:00
Treeston 46565118b3 Core/Player: Prevent changing equipment while charmed. Closes #20209. 2017-09-10 15:30:11 +02:00
Aokromes fde6fdc9ca Core/Conditions: Rename CONDITION_SOURCE_TYPE_QUEST_ACCEPT to CONDITION_SOURCE_TYPE_QUEST_AVAILABLE
By Malcrom
2017-08-20 12:59:18 +02:00
Aokromes 8592066446 Core/Taxi: Properly send taxi node status on login, as well as if the taxi master is out of range 2017-07-18 16:43:49 +02:00
jackpoz 3410edfdae Core/Misc: Fix static analysis issues 2017-07-17 18:51:56 +02:00
Treeston e4841c960b Core/Quest: Prevent an issue causing quests to become invisible upon relog. (#20030)
Closes #20012
2017-07-16 14:38:37 +02:00
Aokromes 0c53cc5a08 build fix 2017-07-13 22:07:53 +02:00
Aokromes 1561dc79a5 Core/Quests: Fixed order of RewardChoiceItems and reputation reward 2017-07-13 21:39:23 +02:00
Aokromes 1a5c0f5c3b Core/Grids: Ported cmangos/mangos-wotlk@ea99457
(cherry picked from commit 9299e9b)
2017-06-19 20:20:26 +02:00
joschiwald 28de675dd9 Core/Misc: Added Creature::CanGiveExperience helper function
(cherry picked from commit c1cc0e9949a73e1cbb2640032d5d038cca051954)
2017-06-19 07:54:58 +02:00
Aokromes 6b31134c27 Revert "Cross-check client-submitted fall time with server-measured time. When excessive difference is detected, punish player."
This reverts commit e0e2242b17.
2017-06-18 04:56:42 +02:00
Aokromes be42649128 partialy revert fdcca7177b 2017-06-18 04:52:14 +02:00
Aokromes fdcca7177b typo fix 2017-06-17 14:01:26 +02:00
Aokromes e0e2242b17 Cross-check client-submitted fall time with server-measured time. When excessive difference is detected, punish player.
Fixes an exploit that could trivialize the Lich King encounter.
2017-06-17 11:58:15 +02:00
Aokromes 4e95a6b4ad Group creation again (follow-up to 132538d). Groups now only disband if all members reject the invitation (as opposed to if any member rejects the invitation). 2017-06-17 11:41:57 +02:00
treeston 5812c6559f build fix 2017-06-15 07:49:57 +02:00
Aokromes 29cbbc50d3 Core/Player: Keep shared quests through map changes instead of getting stuck in busy state 2017-06-15 07:40:14 +02:00
Aokromes be80e08ac6 Core/Misc: Fix typo in UNDERWARER_INDARKWATER 2017-06-09 13:25:35 +02:00
Aokromes f8d9d954d1 Get zone/area IDs from vmap data in the liquid update
* Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup
* Use this lookup in Map:: relocation methods to update m_areaId and m_zoneId fields on WorldObject
* Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields
* Clean up liquid state handling on Unit and Player
* Hand floor's Z coord up through GetFullTerrainStatusForPosition, use it to update a new field in WorldObject, and use that to feed a new GetFloorZ call on WorldObject.
2017-06-09 13:20:37 +02:00
Aokromes 6021c8d29c typo fix on previous commit 2017-05-29 19:20:32 +02:00
Ryan 79661eeb39 Fix build 2017-05-28 20:19:48 +01:00
Ryan f29874d7ad Core/Player: Add missing return 2017-05-28 19:58:44 +01:00
Ryan be1ca945c7 Core/Player: Fixed gem activation requirements
Not sure if the structure is totally correct, but it can now properly read all the data we actually use
2017-05-28 19:55:25 +01:00
Ryan 1442984686 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2017-05-28 19:10:00 +01:00
ariel- 70f3879c32 Core/Player: update interaction checks, some info taken from client 2017-05-26 14:26:43 +02:00
Aokromes f0e36b0863 Core/Defines: define faction templates and replace magic numbers from scripts 2017-05-23 14:37:54 +02:00
Ryan 20726edec2 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2017-05-19 23:49:46 +01:00
xinef1 b88200cd58 Core/Misc: Various crash fixes 2017-05-05 01:59:34 +01:00
Aokromes a16f3b9e0f Missing change 2017-05-04 18:09:12 +02:00
Aokromes 9bdf7bc7f0 Core/Misc: Update locales_gossip_menu_option to simple system 2017-05-04 17:57:22 +02:00
xinef1 ae4b91bcf6 Fixed setting and unsetting of m_spellModTakingSpell 2017-05-04 04:32:26 +01:00
Gerhood 0e1cc63055 Core/Spells: implement Mad/Crazy Alchemist's potions 2017-05-04 04:17:24 +01:00
ariel- 69625f32fe Core/Spell: kill old charge restoring system. Mods are fully handled by proc system now.
- Fixes an edge case of spell failing due to out of range and re-adding charges to an existing aura.
2017-05-04 04:00:58 +01:00
ariel- c1accd4537 Core/Player: fix some PCT_MOD charge consumption
By xinef1

Closes #18516
2017-05-04 04:00:36 +01:00
ariel- 6e62130e96 Core/Spell: improved immunity logic for dispels 2017-05-04 03:26:54 +01:00
ariel- 3d9c4fd3fc Core/Spells: use DamageInfo struct to calc spell absorbs and resists, and use calculated proc hitMask on aura ticks 2017-05-04 01:07:05 +01:00
ariel- 805c10a365 Core/Spells: add proc cooldown on item equip. 2017-05-03 23:44:15 +01:00
ariel- 51f26dfe51 Core/Spells: Implementation of QAston proc system 2017-05-03 20:08:08 +01:00
Aokromes 83680656fb compile fix 2017-05-02 03:52:26 +02:00
Aokromes bdac4421e2 Core/Scripts: fix Nightfall proc chance and reduce it for victims with level above 60 2017-05-02 02:59:58 +02:00
Aokromes acd63b4259 Core/Entities: moved PetAura handling to Player where it belongs 2017-05-02 02:10:32 +02:00
Aokromes c015a5cf10 Core/Misc: camelize GetFaction/SetFaction properly 2017-05-02 02:02:31 +02:00
Aokromes d2e0ad00b6 fix some coverity issues 2017-04-26 18:08:08 +02:00
jackpoz 1664c1bd2e Core/Misc: Fix static analysis issues 2017-04-26 05:09:44 +02:00
ariel- e6580ad922 Core/Player: don't randomly change temporary spell status
- They shouldn't be saved in db
- Prevented temporary spell removal after a save

Closes #14373
2017-04-25 13:27:28 +02:00
Aokromes 9bd0fbb718 typo fix 2017-04-18 14:24:55 +02:00
Aokromes 6d25d89e2b Core/Misc: Sync database schema with master 2017-04-18 14:11:21 +02:00