Commit Graph

39 Commits

Author SHA1 Message Date
Yunfan Li
feda619066 Engine optimization for better performance and mem usage (#1462)
* Optimize loot

* World channel talk

* General improvement

* Engine rebuild for performance and memory usage

* Fix crash with AutoDoQuest = 0
2025-07-25 12:11:03 +02:00
Cryo81
707210f6a5 fixing multiple 'unused variable' warnings (#1224) 2025-05-01 21:00:54 +02:00
Yunfan Li
38912d4a8a Auto do quest feature (new rpg strategy) (#1034)
* New rpg startup speed up and refactor

* New rpg do quest

* Fix invalid height in quest poi

* Add quest accept and reward limitation

* New rpg quest improvement

* Organize quest log, reward quests and fix grind target

* Quest dropped statistic and remove redundant code

* Decrease grind relevance lower than loot

* Fix new rpg drop quest

* Go to reward quest instead of innkeeper when quest completed

* Fix incorrect logic in do quest reward

* Fix reset quests in factory

* Fix crash on grind target value

Co-authored-by: SaW <swerkhoven@outlook.com>

* Fix a minor error in DoCompletedQuest

* Let bots get rid of impossible quests faster

* Increase loot fluency (especially for caster)

* Remove seasonal quests from auto accept

* Enhance quest accept condition check

* Add questgiver check (limit acceptation of quest 7946)

* Questgiver check and localization

* Near npc fix

* Fix quest item report

* Add lowPriorityQuest set for quests can not be done

* Improve gameobjects loot

* Do complete quest

* FIx move far to teleport check

* Accept or reward quest from game objects

* Fix possible crash in rpg game objects

* Fix ChooseNpcOrGameObjectToInteract crash

---------

Co-authored-by: SaW <swerkhoven@outlook.com>
2025-03-14 21:31:33 +08:00
Yunfan Li
24efa7efa2 General improvement on init and strats (#1064)
* Potions strats and potions init

* Druid and shaman spell in low level

* Ammo init improvement

* Rogue low level

* Fix melee attack action (for caster with no mana)

* Disable pet spells that reduce dps

* Talents improvement

* Remove CanFreeMove check

* Reduce penalty for non-dagger weapon for rogue
2025-03-08 12:36:06 +01:00
avirar
739a0df44c Warrior strategy update (#838)
* Enraged regen at critial health

* Enraged regen action context

* Enraged regen on critical health trigger

* Enraged regen on critical health trigger

* Added logic for Arms to use Retaliation

* Added logic for Arms to use Retaliation

* Used correct class enums for !players

* Retaliation on medium health

* Removed temp line

* Added check for attacker->GetVictim() != bot

* Adjusted triggers for emergency actions

* Added Shattering Throw logic

* Added Shattering Throw logic

* Added Shattering Throw logic

* Added Shattering Throw logic

* Added Shattering Throw logic

* Added Shattering Throw logic

* Fixed ActionNode for Shattering Throw

* Added debug logging

* More debug logs

* Better debug logs

* Adjusted range on action

* Adjusted priorities

* More logging

* Update WarriorActions.cpp

* Update WarriorActions.h

* Changed trigger name for differentiation

* Updated to new shattering throw trigger name

* Update WarriorTriggers.h with new ST name

* Update ArmsWarriorStrategy.cpp

* Changed priority

* Shattering Throw and Retaliation stance reqs

Battlestance needed for Shattering Throw and Retaliation

* Created isUseful for Shattering Throw

* Created isUseful for Shattering Throw

* GetTarget instead of GetTargetValue

* Changed to GetTarget instead of GetTargetValue

* Commented out Execute function

* Commented out Execute function

* isPossible was failing, created basic isPossible

IsImmuneToSpell was returning true for Shattering Throw

2 DAYS! :(

* isPossible was failing, created basic isPossible

* Added some more isPossible checks

* Update WarriorActions.cpp

* Missing )

* Missing !

* Removed logging

* Removed logging

* Clean up

* Cleanup

* Corrected logic for Rogue's Expose Armor trigger

Logic was checking the Rogue, not the Rogue's target, for Sunder Armor before casting Expose Armor.
2025-01-03 16:06:47 +01:00
Yunfan Li
df5b10c9ad Revert classes folder 2024-12-14 16:23:13 +08:00
Yunfan Li
e7416db7dc Modify file structure 2024-12-13 20:14:25 +08:00
Yunfan Li
406949f6dd Misdirection and tricks of the trade 2024-09-04 20:08:44 +08:00
Yunfan Li
52bb8b9770 General trigger fix 2024-09-01 17:19:12 +08:00
Yunfan Li
360a025b34 Estimated dps calculation 2024-09-01 17:11:46 +08:00
Yunfan Li
1700a20c89 Add quest rewards to gear initialization 2024-08-19 18:46:23 +08:00
Yunfan Li
a1cb9dea05 Improve class spell and use trinket 2024-08-14 18:37:21 +08:00
Yunfan Li
53611c9040 Run clang-format 2024-08-04 10:23:36 +08:00
Revision
838bfe333d Fix: Updated to work with newer commits of AzerothCore 2024-07-22 00:39:06 +02:00
Yunfan Li
f4c43aa920 [Warning] Fix 2024-07-18 23:33:48 +08:00
Yunfan Li
fdf1e2ec1c Rogue poison 2024-03-05 17:52:30 +08:00
Yunfan Li
87b274564f Fix hunger for blood target 2024-02-10 23:35:18 +08:00
Yunfan Li
f09d8d72f4 Rogue stealth spell & Target selection for combo class 2024-02-10 22:03:33 +08:00
Yunfan Li
c40a1bed67 Rogue spell cast optimize 2024-02-09 23:51:03 +08:00
Yunfan Li
09db983a35 Rogue eviscerate for almost dead enemy 2024-01-07 00:47:20 +08:00
Yunfan Li
0f22bf0d74 Allow multiple rupture from diff players 2024-01-06 23:46:39 +08:00
Yunfan Li
30c46b59d0 crash fix 2023-12-17 17:45:43 +08:00
Yunfan Li
8b42ea3e89 rogue debuff spell 2023-10-28 22:55:22 +08:00
Yunfan Li
45d0ae00ab default actions 2023-10-22 12:50:17 +08:00
Yunfan Li
38f8ea5fd9 fix rogue stealth 2023-10-22 11:28:00 +08:00
Yunfan Li
243a4df967 optimize class spell 2023-09-08 12:44:38 +08:00
Yunfan Li
14b94e20fb major class spells 2023-09-02 22:37:11 +08:00
Yunfan Li
19191d64f3 fan of knives for rogue 2023-08-29 21:35:01 +08:00
Yunfan Li
e93b1edcd5 fix strategies conflict for rndbot 2023-07-30 14:33:52 +08:00
Yunfan Li
f3a0a53457 fix compile error in windows platform 2023-07-19 12:08:15 +08:00
Yunfan Li
67a23fae3f try fix compile problem for windows 2023-07-18 19:01:43 +08:00
Yunfan Li
e7ad355396 miscs(spell): paladin, rogue poison, shaman totem 2023-06-11 18:21:45 +08:00
Yunfan Li
33576bd969 fix(spell): paladin and dk aggro spell, warrior 2023-06-11 15:55:36 +08:00
Yunfan Li
89d24b646c shaman, rogue strategy port, use item action. 2023-06-08 10:37:13 +08:00
Yunfan Li
a44b310c0a debuff trigger and action, allow multiple spell 2023-06-02 19:57:08 +08:00
郑佩茹
ad72b256bf Rogue AI: use slice and dice as finisher 2023-04-04 13:33:12 -06:00
whipowill
92ce54a3cd Compile bug fixes. 2022-05-20 12:41:13 -05:00
whipowill
9a6709f5c1 Compile bug fixes. 2022-05-18 17:03:01 -05:00
UltraNix
b952636f0d Big update. 2022-03-12 22:27:09 +01:00