Commit Graph

47 Commits

Author SHA1 Message Date
Yunfan Li
4c1469fc58 Fix possible mem leak on vigilance 2025-01-19 21:48:41 +08: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
avirar
fd7b82d170 Lowered Heroic Strike for Prot spec too
Also added Devastate as a medium rage ability after Shield Slam.
2024-12-30 13:58:34 +11:00
avirar
2d89c66b51 Merge branch 'liyunfan1223:master' into arms_warrior_tweak 2024-12-30 10:37:12 +11:00
avirar
f1a1562ae9 Merged Fury tweaks into Arms branch for unified PR 2024-12-30 10:36:55 +11:00
avirar
a8baa213d6 Merged Fury tweaks into Arms branch to unify PR 2024-12-30 10:34:01 +11:00
avirar
64b5cb833a Merged Fury tweaks into Arms branch 2024-12-30 10:32:49 +11:00
avirar
6842505c88 Update ArmsWarriorStrategy.cpp 2024-12-30 09:51:47 +11:00
avirar
c7dd947a7a Update GenericWarriorStrategy.cpp 2024-12-30 09:34:43 +11:00
avirar
5c8283d40a Prot warriors cast vigilance when in a group (#825)
* Add Vigilance

* Vigilance

* Update WarriorTriggers.h

* Update TankWarriorStrategy.cpp

* Update WarriorAiObjectContext.cpp

* Update WarriorTriggers.cpp

* Update WarriorTriggers.h

* Update WarriorTriggers.cpp

Check for existence of Vigilance in raid already

* Update WarriorActions.cpp

Check for existence of Vigilance in raid already
Apply to tanks, then highest gearscore DPS.

* Update WarriorActions.cpp

* Update WarriorActions.cpp

* Update WarriorActions.cpp

* Update WarriorActions.cpp

* Added logout

Bots keep assigning it to me and not maintank? Added logging to clarify

* Update WarriorActions.cpp

* Update WarriorActions.cpp

* Update WarriorActions.cpp

* Update WarriorActions.cpp

* Update WarriorTriggers.cpp

* Update WarriorTriggers.cpp

* Update WarriorTriggers.cpp

* Update WarriorActions.cpp

* Update WarriorActions.cpp

* Update WarriorTriggers.cpp

* Update WarriorActions.cpp

* Update WarriorActions.cpp

* Removed Logs

* Removed logs

* Added check for spell in trigger

* Update WarriorTriggers.cpp

* !member->IsAlive()

* !member->IsAlive()
2024-12-29 21:47:22 +01:00
avirar
9432b265ea Update GenericWarriorStrategy.cpp 2024-12-29 17:14:38 +11:00
avirar
b9c96e80c3 Added medium aoe trigger for SS/BS combo 2024-12-29 16:52:54 +11:00
avirar
a6ceaa5565 Update ArmsWarriorStrategy.cpp 2024-12-29 16:28:48 +11:00
avirar
c253a32039 Update GenericWarriorStrategy.cpp 2024-12-29 16:09:32 +11:00
avirar
9f1b9df9d1 Update ArmsWarriorStrategy.cpp 2024-12-29 15:55:04 +11:00
avirar
6eef410689 Missing ) 2024-12-29 15:47:38 +11:00
avirar
85efe3fbbd Adjusted priorities 2024-12-29 15:45:19 +11:00
avirar
68b48ce573 Adjusted priorities 2024-12-29 15:45:10 +11:00
avirar
920b3c7b08 Lowered Heroic Strike priority 2024-12-29 15:00:55 +11: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
4de02481be Avoid aoe max radius and whitelist 2024-09-08 12:53:08 +08:00
Yunfan Li
593b30bbb0 Arm warrior and dk 2024-09-06 20:29:38 +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
Yunfan Li
05e799cff4 [Class spell] Improve warrior, dk, paladin 2024-07-13 11:41:16 +08:00
Yunfan Li
036a890aa1 Optimize fury warrior 2024-02-11 00:17:04 +08:00
Yunfan Li
9e78a0b36a Pet attack (fix shadowfiend) 2024-02-08 00:36:16 +08:00
Yunfan Li
1a11ec0717 Miscs for spell casting 2024-01-30 14:02:50 +08:00
Yunfan Li
8af79825e4 Fury whirlwind 2024-01-10 23:34:29 +08:00
Yunfan Li
3372bee04f Tank warrior aoe 2024-01-07 15:32:51 +08:00
Yunfan Li
8b77da2c37 Remove battle shout taunt 2024-01-07 11:16:51 +08:00
Yunfan Li
fb7797d3cf Remove battle shout taunt 2024-01-07 10:41:42 +08:00
Yunfan Li
600228e3fd Warrior spell cleave 2024-01-06 17:53:11 +08:00
Yunfan Li
45d0ae00ab default actions 2023-10-22 12:50:17 +08:00
Yunfan Li
bb1ea0c395 naxxramas gluth 2023-09-03 17:52:44 +08:00
Yunfan Li
14b94e20fb major class spells 2023-09-02 22:37:11 +08:00
Yunfan Li
1136b7bfdc debuff on melee attackers 2023-08-28 17:28:36 +08:00
Yunfan Li
e93b1edcd5 fix strategies conflict for rndbot 2023-07-30 14:33:52 +08:00
Yunfan Li
fce97184a2 fury warrior execute 2023-07-15 17:30:13 +08:00
Yunfan Li
853dad08d0 warrior strategy optimize 2023-07-15 15:10:34 +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
a44b310c0a debuff trigger and action, allow multiple spell 2023-06-02 19:57:08 +08:00
郑佩茹
aeeb37da78 Trigger fixes and Warrior AI tweaks 2023-03-21 12:25:25 -06:00
郑佩茹
f1bcca1a7b Port fixes until b4094bf - flying, mount animations, bot attack range, free food option 2022-03-22 17:13:10 -06:00
UltraNix
b952636f0d Big update. 2022-03-12 22:27:09 +01:00