Commit Graph

82 Commits

Author SHA1 Message Date
Moki
26c99c383f Core/Scripts: fix Nightfall proc chance and reduce it for victims with level above 60. (#3304)
* Core/Scripts: fix Nightfall proc chance and reduce it for victims with level above 60

Adding a TrinityCore commit eac9c1f0b9

* Update rev_1597581112860069800.sql

* Update rev_1597581112860069800.sql

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-09-01 14:19:09 +02:00
Kitzunu
1f89282b22 refactor(Core): NULL -> nullptr (#3275)
* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-08-31 11:55:09 +02:00
Kitzunu
73d725312d feat(Core/Config): CONFIG_INTERVAL_SAVE (#3171) 2020-08-20 15:50:32 +02:00
IntelligentQuantum
5d284f02a7 feat(Core/SendListInventory): Add multivendor function (#3172) 2020-08-20 11:00:11 +02:00
Kitzunu
b3b56bc655 fix(Core/Player): Display random properties in inspect (#3067)
5b7b21c362
Co-Authored-By: Paraciusz <paraciusz@users.noreply.github.com>
2020-07-14 23:36:08 +02:00
IntelligentQuantum
ec806d6c60 refactore(core/config): Move BG Report AFK To Conf (#2813) 2020-07-10 20:06:12 +02:00
Kitzunu
74e0f00229 fix(Core/Conditions): Add CONDITION_SOURCE_TYPE_QUEST_AVAILABLE (#2859)
* Merge CONDITION_SOURCE_TYPE_QUEST_ACCEPT & CONDITION_SOURCE_TYPE_QUEST_SHOW_MARK to CONDITION_SOURCE_TYPE_QUEST_AVAILABLE

Co-authored-by: SnapperRy <snapperry@users.noreply.github.com>
Co-authored-by: Aokromes <aokromes@gmail.com>
2020-05-13 08:46:05 +02:00
P-Kito
2514f8fc9a feat(Core/AI): CU_SAI - Custom Target Options (#2879)
NEW:
* SMART_TARGET_PLAYER_WITH_AURA (spellid, negation?, distMax, distMin) - if target.O is set it will resize the list of targets to target.o
* SMART_TARGET_RANDOM_POINT (range, amount (for summon creature), self (creature is middle else use xyz) (ONLY USED FOR SUMMON CREATURE OR MOVE/JUMP TO POS ACTIONS FOR NOW)

MODIFIED:
* SMART_ACTION_SUMMON_CREATURE now possible to spawn multiple creatures with SMART_TARGET_RANDOM_POINT
* SMART_ACTION_MOVE_TO_POS/JUMP_TO_POS now possible to move to a random point with SMART_TARGET_RANDOM_POINT
* SMART_TARGET_PLAYER_RANGE no longer targets GMs or dead targets and when target.o is >0 it will try all possible targets in max instead of min-maxing


Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2020-04-18 16:59:52 +02:00
Kaev
2fa9f5c249 fix(Core): potential crashes/bugs reported by static analysis #2 (#2622) 2020-02-03 07:52:27 +01:00
Kaev
ab72dc1e7a fix(Core/Player): Fix removal of quest items (#2626) 2020-01-29 10:32:39 +01:00
Kaev
999d588c37 fix(Core): Fixed a few crashes/bugs that were found via static code analysis (#2617) 2020-01-25 14:26:38 +01:00
Shard
9f690a3741 fix(Core) : Enable randomProperties or suffix up to 5 (#2340) 2020-01-23 08:06:05 +01:00
Shard
eadcb1a782 feat(Core/Battlegrounds) Reworked enhanced bg system for modules (#2521) 2020-01-19 17:09:02 +01:00
Shard
bb42c7c5eb fix(Core/Player): Only save player's glyphs when needed (#2583) 2020-01-18 00:59:50 +01:00
Shard
067d9e791f fix(Core/Battlegrounds) Rewrite RandomBG and enabling bg/arenas weights (#2516) 2019-12-28 09:40:13 +01:00
Viste
e22d78ecd6 refactor(Core): rename namespaces and macros to acore (#2454) 2019-12-01 13:13:31 +01:00
Stoabrogga
fae7ae95a3 fix(Core/GridNotifiers): increased visibility for large creatures, part 2 (#2378) 2019-11-14 08:04:41 +01:00
Shard
97c55c6152 fix(Core/Item): Random item properties generation (#2331) 2019-10-28 08:08:37 +01:00
Stoabrogga
84ea36a21b fix(Core/Chat): Prevent Horde / Alliance chat via custom emotes (#2292)
* add new worldserver parameter "AllowTwoSide.Interaction.Emote"
* use new broadcast text ID 91243 for strange gestures
2019-10-01 15:18:43 +02:00
Viste
854b426978 feat(Core): Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert (#2273) 2019-09-26 09:51:33 +02:00
GMKyle
58f3cfe387 fix(Core/Hunter): Stable Master, exotics pets management, tame validations. (#2100) 2019-09-25 18:29:18 +02:00
Stoabrogga
e314a0c716 feat(Core/Player): Additional option for worldserver config parameter "InstantFlightPaths" (#2246) 2019-09-04 01:19:57 +02:00
Kargatum
22b360ee0d chore(Core/Player): Fix all apply item mods for scale (#2248) 2019-09-03 22:06:18 +07:00
Francesco Borzì
0b88e24808 refactor(ItemTemplate): add missing enums + other minor improvements (#2236) 2019-08-26 20:43:53 +02:00
mik1893
7954a2a07e Creature type flags (#2195)
fix(Core/Creature): refactoring creature type flags and adding CREATURE_TYPE_FLAG_CAN_COLLIDE_WITH_MISSILES - closes #1984
2019-08-16 12:15:14 +01:00
Poszer
42fc4ded9e fix(Core/Achievements): Skill achievements (#2114)
- Correctly progress skill-learned achievements when learning new skill
2019-07-27 19:38:15 +02:00
Stoabrogga
4f1be7533d fix(Core): check quest conditions on item equip (#1936) 2019-06-15 06:35:57 +02:00
Poszer
dfdedd36bb fix(Core): Bag/Fishing pole equip (#1860)
* fix(Core): Bag/Fishing pole equip

- Fix bug When your bags are full and you equip a fishing pole, from 2x one handed weapon, it equip the fishing pole, than 1 weapon goes into bag and the other goes into the mailbox from "customer support".
-Do not allow equip 2 fishing poles for Warrior
2019-05-30 12:30:23 +02:00
sluggor
ded199dd7e fix(CORE): Low-level quests blue "!" instead of yellow w/ tracker (#1867)
Ensure low-level quests have blue exclamation marks when using tracker.
2019-05-25 01:28:06 +02:00
Poszer
5fc0d58d05 feat(Core/Quest): Quest item reward (#1733)
- Instead of sending two same messages about item receive, send one.
2019-04-25 12:09:43 +02:00
Viste(Кирилл)
03bfbf4f7e Fix(Core/Player): fix periodic eating and drinking emotes (#1602) 2019-03-23 11:35:04 +03:00
Viste(Кирилл)
2af5893d52 feat(Core/Chat): Add config option to allow use LFG anywhere not only in city (#1586) 2019-03-20 02:04:59 +03:00
Viste(Кирилл)
26ae2ce2d6 fix(Core/Player): close all character tickets when delete (#1565) 2019-03-11 21:46:57 +01:00
Francesco Borzì
0758677578 feat(core): allow to debug KickPlayer() (#1549) 2019-03-05 22:58:40 +01:00
Nefertumm
40f68ab026 feat(Commands): Added cheat commands (#1412) 2019-02-24 18:35:08 +01:00
Dmitry Brusenskiy
23d78ce6bc Core/Hooks: Add new Player hooks (#1481)
* Fix hook OnReputationChange
* Add hook OnReputationRankChange
* Add hook OnLearnSpell
* Add hook OnForgotSpell
2019-02-18 18:22:36 +07:00
Nefertumm
c15206fc15 Revert "feat(core): Ensure that all actions are compared to fixed point in time (#1236) (#1458)" (#1471)
This reverts commit 51b8773528.
2019-02-15 15:14:49 -03:00
Viste(Кирилл)
51b8773528 feat(core): Ensure that all actions are compared to fixed point in time (#1236) (#1458)
i.e. world update start
2019-02-14 19:22:17 +01:00
robens {e.py}
1b7522ff0e fix(Core/Player): achievements activation (#1463) 2019-02-14 19:11:54 +01:00
Lee
6750fd5a73 [Core /Script] Added On player complete quest hook (#1427)
* Added OnPlayerCompleteQuest Hook
2019-02-07 22:03:30 +00:00
Francesco Borzì
38b368e909 feat(gameobject): allow gameobjects to loot money + align table with TC (#1368) 2019-01-28 20:24:43 +01: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
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