Commit Graph

68 Commits

Author SHA1 Message Date
Lee
6750fd5a73 [Core /Script] Added On player complete quest hook (#1427)
* Added OnPlayerCompleteQuest Hook
2019-02-07 22:03:30 +00:00
Francesco Borzì
264dd0c65a fix(gobject): elevator bug + prevent bugs related to faction and flags (#1402)
- Closes #1396
2019-02-02 14:34:50 +01:00
Francesco Borzì
38b368e909 feat(gameobject): allow gameobjects to loot money + align table with TC (#1368) 2019-01-28 20:24:43 +01:00
Francesco Borzì
7c7c5eb203 Core/DB: refactor(creature_template): closes #1181 (#1322)
* refactor(creature_template): closes #1181

* chore: improve code readability
2019-01-20 13:39:32 +03:00
Poszer
d5294f7112 Merge pull request #1255 from poszer/QuestAbandonFinishFix
Quest abandon finish fix
2019-01-15 13:52:26 +01:00
Poszer
6ef7c40313 Update Player.cpp 2019-01-15 00:48:54 +01:00
Kargatum
93bccb9b85 Core/Gossip: improve gossips related to Dual Talent Specialization (#1218) 2019-01-13 17:16:09 +03:00
Kargatum
b34bc28e5b Core/DB: Update all locales to actual TrinityCore (#1160)
* Core/Misc Update all locales table structure to simple system. Port from TrinityCore
Co-Authored-By: Winfidonarleyan <dowlandtop@yandex.com>
* Core/Db/Gossip Update structure gossip_menu and gossip_menu_action to actual TrinityCore
* Core/DB Update Broadcast system to actual TC
* Core/Mail: implement Quest Mail Sender
* Core/Quest Split quest template locales
2019-01-13 01:56:06 +03:00
Poszer
e993c20cac Update Player.cpp 2019-01-10 13:35:54 +01:00
Poszer
ffd578559a Update Player.cpp 2019-01-10 13:23:46 +01:00
Poszer
cfa2f86a0d Merge pull request #1241 from poszer/QuestAbandonFinishFix
Core/Quests: Abandon&Finish quest items
2019-01-09 19:58:57 +01:00
Kargatum
1a9f8dfc0c Core/DBC Move WorldSafeLocs.dbc storage to DB (#932) 2019-01-08 09:37:31 +03:00
Stoabrogga
3d416de893 Core/Movement: Prevent pet animation stuttering during movement (#1142)
* fix vanity pet distance and angle
* fix vanity pet distance to player
* put size calculation for normal pets into the if-statement for vanity pets
* change pet speed algorithm
* change distance calculation
* another change to the distance calculation; differentiate between player running or flying
2019-01-08 09:36:25 +03:00
poszer
d213a4ef93 Core/Quests: Abandon&Finish quest items
Destroy quest items on quest failure/abandon.

Failing/abandoning a quest should not unconditionally remove required items, non-quest specific items such as crafting reagents should remain in inventory.

Delete all quest bound items on quest reward, failure or abandoning.

Only delete all quest bound items from inventory on turn in if the quest is not repeatable
2019-01-07 18:13:47 +01:00
Viste(Кирилл)
3f45c14822 Core/Quest: implement Quest Tracker (#1233) 2019-01-06 09:32:17 +03:00
Viste(Кирилл)
204358bb67 Core/Players: Fixed saving quest item progress (#1129)
Ported from TC (original commit by Shauren)

Add 2 columns to character_queststatus
2018-12-23 14:58:21 +01:00
Nefertumm
468faa3ead Refactored quest_template table structure 2018-12-19 13:47:24 +01:00
Amin.MasterkinG
4bd1330b6e Core: Fix titles not showing on login (#1114)
Wrong field ID fixed.

Closes #1059
2018-12-13 16:43:43 +01:00
talamortis
a9b981d619 [Core / Fix] Fixed an issue if charmed creatures was created by spell they wouldn't disappear if owner was too far away from it.
Lets take quest Taming the beast for example, Once beast was tamed and player was too far away from the creature it would still appear as a pet and cause issues.
2018-11-30 00:27:32 +00:00
talamortis
50aace0e52 [Core / Fix] Mage: Empowered Fire Talent
Fixed an issue where the Mana return was returning 0.2% instead of 2%.
2018-11-29 19:49:47 +00:00
Jinyang li
4b6342b42f Core/NPC: Creatures now alert when they detect stealthed players (#1060)
Creatures stop when they detect a stealthed player like in retail.
Closes #1020
2018-10-31 20:25:23 +01:00
talamortis
7ffc68e4aa Added missed copyrights to CreatureGroups.cpp 2018-10-27 21:28:37 +01:00
Barbz
879553ddf8 Core/Conf: Fix StartAllReputation from player.cpp (#973)
Remove StartAllReputation from player.cpp
Move StartAllReputation to handler
Add the config back
2018-10-23 19:39:14 +02:00
Kargatum
0d6eb11db9 Core/Account: Add total time played in account (#1003)
This saves the total time played on the account, even if your characters have been deleted.
2018-09-17 19:58:42 +02:00
talamortis
562833c9d6 Fixed Glyph Learning.
* Fixed an issue where if players learn a glyph in spec 1 the same glyph couldnt be applied in spec 2.

closes #739 #411
2018-07-21 23:38:33 +01:00
Kartselyanski
90fdd10c3f Fix Fishing's spell cast interruption. 2018-07-11 00:16:35 +02:00
talamortis
775d5094d2 Removed comment from hook - No idea why it was there. 2018-07-06 15:05:47 +01:00
FALL1N1
613b586485 Fix Maexxna's portal rotation. (#925)
* Maexxna portal rotation.

* Rewritten sql to update, ready to be merged.

* Portal's visual effect should be in different phasemask and appear only when maexxna is killed.

* split the update query in two, forgot that visual is in phase2

* i want to kms.. all should be good now
2018-07-02 19:20:46 +01:00
talamortis
5100a533d2 Added check to player to return if player is in tank spec 2018-06-28 01:57:48 +01:00
Rochet2
a3d3042049 Core Hook - Remove temporary fix and document possible null in hook (#805)
* Remove workaround

Partially revert temporary crash fix a36e94a49a

* Update ScriptMgr.h
2018-06-20 00:38:32 +02:00
Nick Kraftor
3fecbf9f31 Module hook for kills performed by pets/totems (#912)
* Add hook for pet/totem kills

* Use method to cast unit to creature
2018-06-07 22:00:21 +01:00
ayase
00777a80ae Eluna implementation (#847)
* azerothcore + eluna done.

* Remove the Eluna single thread limit.

* Read Eluna Settings file.

* submodule change.

* fix(test)  Ubuntu - Cant Link Library after Compile

* The ELUNA is disabled by default.

* remove submodule luaEngine.

* some change

* fix a error

* change cmake

* fix: some onplayerchat does not have hooks.

* Eluna: Add BG event Hooks.

* fix:cmake hook AFTER_LOAD_CONF not work.

* Remove the eluna switch.

* Remove some define in the core.

* fix conf file not read in the linux.

* eluna : change bg hook parameter type

* Remove TC log function call

* change bg hook OnBGEnd parameter type.


Note: to enable Eluna, the module is required
2018-05-22 20:22:11 +02:00
Barbz
9db1d639fc Merge pull request #755 from Nefertumm/PlayerBytes
Split playerBytes fields in characters table
2018-04-19 19:51:33 +02:00
Yehonal
91cbe9e98a Fixed Creature_SelectLevel hook 2018-03-20 13:50:35 +00:00
Nefertumm
dd300003e2 Update license links (#783) 2018-03-12 10:54:57 +01:00
Trystanosaurus
f477948595 Implement RATE_CREATURE_AGGRO
Make aggroRate a local variable and return aggro range of 0 if aggroRate is 0 to save unnecessary calculations.
2018-03-04 19:00:03 +01:00
Yehonal
a36e94a49a Fixed crashes with not initialized CustomData 2018-03-02 21:03:40 +00:00
talamortis
ac54e94907 Fix heirlooms to apply stats before giving health. 2018-02-09 09:19:15 +00:00
Yehonal
a6e91bc4ac Fix lootable items re-fill when not really empty 2018-02-06 22:15:35 +00:00
José González
d85e55dd9b Fix compile error related to last commit (#776) 2018-02-01 18:21:41 +00:00
Rochet2
ff2851164d Implement data storage for Entitiies (#748) 2018-02-01 13:46:34 +01:00
Nefertumm
13d09b6590 PlayerBytes fields in characters table 2018-01-14 02:07:31 -03:00
Kaev
05cd8c8c61 Move area trigger storage from DBC to database (#742)
Renamed AreaTrigger + related stuff to AreaTriggerTeleport
2018-01-02 22:08:08 +01:00
Yehonal
403ed2600f Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk into dir-restructure 2017-12-21 11:26:43 +01:00
Yehonal
17332304fd Using TC structure allowing easier patches importing 2017-12-21 00:20:29 +01:00
Yehonal
b0c8eceb08 Refactoring part 2 [W.I.P] 2016-08-12 02:38:26 +02:00
Yehonal
83c9046ae3 Fixed compilation 2016-08-08 12:12:33 +02:00
Yehonal
28d7f59b32 Impl usefull functions 2016-08-08 11:51:59 +02:00
Yehonal
8586373c9b Ensuring original team for this check 2016-08-08 11:47:03 +02:00
Yehonal
2636b90869 Improved ScriptMgr with more hooks 2016-08-08 11:46:34 +02:00