Commit Graph

8154 Commits

Author SHA1 Message Date
nytmyr 307b576da9 merge with previous 2024-12-10 13:59:59 -06:00
nytmyr aa996e7b31 Add bot check to DetermineSpellTargets for IsIllusionSpell 2024-12-10 13:59:48 -06:00
nytmyr ef36f2873c Implement AAs and harmtouch/layonhands to ^cast --- fix IsValidSpellRange 2024-12-08 22:36:56 -06:00
nytmyr 9917be3094 Correct IsValidSpellRange 2024-12-08 22:35:36 -06:00
nytmyr 221333a7ba Add back !IsBotNonSpellFighter() check to the different CastCheck 2024-12-08 22:32:49 -06:00
nytmyr 8e40e5357c [Bots] Fix AA ranks to account for level (#4567)
Previously level requirement was only being checked on the initial rank of an AA. If passed, bots would gain all ranks for that AA regardless of level, this will now check for the level requirement for each rank before granting the AA
2024-12-06 23:58:11 -05:00
nytmyr 6d6fd9ee15 add timer checks to Idle/Engaged/Pursue CastCheck to early terminate 2024-12-06 22:33:32 -06:00
nytmyr 347a916bbb Move fizzle message to define 2024-12-06 22:32:34 -06:00
nytmyr 0f3c112972 [Bots] Fix AA ranks to account for level
Previously level requirement was only being checked on the initial rank of an AA. If passed, bots would gain all ranks for that AA regardless of level, this will now check for the level requirement for each rank before granting the AA
2024-12-06 22:29:18 -06:00
nytmyr 67ff004d61 cleanup ST_Self logic in CastChecks 2024-12-06 11:38:37 -06:00
nytmyr 69f724a2b9 Move HateLine to a better ID 2024-12-05 23:46:37 -06:00
nytmyr 3d4474861c Rewrite ^pull logic and handling. **MORE**
Add ^setassistee command to set who your bots will assist. Bots will always assist you first before anyone else.

If the rule Bots, AllowCrossGroupRaidAssist is enabled bots will assist the group or raid main assists.

Rewrites logic in handling of pull and returning to ensure bots make it back to their location.
2024-12-05 07:21:34 -06:00
nytmyr d6df4aae3f fully implement ^pull logic to always return, can still be overidden by ^attack 2024-12-04 20:56:09 -06:00
nytmyr 71bf497803 Update groups.cpp 2024-12-04 20:53:24 -06:00
nytmyr 5f0b999ca9 [Groups] Fix AmIMainAssist incorrectly checking for MainTankName (#4565) 2024-12-04 16:04:34 -05:00
nytmyr b69ac7dc21 holding check at start of ai process 2024-12-02 21:25:06 -06:00
nytmyr f12e597ff3 more pull tweaks 2024-12-02 09:16:11 -06:00
nytmyr 1af85092f7 Implement spell AI pulling, fix throw stone 2024-12-02 07:32:30 -06:00
nytmyr ead31d2cd4 Update cast.cpp 2024-12-01 23:37:39 -06:00
nytmyr 51eb75523e add !commandedspell() check to aggro checks on cast 2024-12-01 23:35:21 -06:00
nytmyr 1d0ca78e2d remove unused functions 2024-12-01 23:34:40 -06:00
nytmyr a22502a13d rename BOT_SPELL_TYPE functions 2024-12-01 23:33:21 -06:00
nytmyr 3034bd5762 fix changes made to mercs by mistake 2024-12-01 23:31:39 -06:00
nytmyr af5dbbe932 remove unnecessary messages on silence /block for bots 2024-12-01 23:05:50 -06:00
nytmyr ea84fd75da Clean up and fix any melee attacks to line up with clients 2024-12-01 20:46:50 -06:00
nytmyr 338985634f Add taunting update on stance change when necessary 2024-12-01 20:46:17 -06:00
nytmyr 962e2d80b9 fix AA loading and expansionbitmask saving/loading 2024-12-01 20:36:27 -06:00
nytmyr 867771e76b add default spawned note to ^cast 2024-11-28 23:35:35 -06:00
nytmyr 08387560b3 implement depart to use spell lists 2024-11-28 23:35:21 -06:00
nytmyr dc0819c2c6 misc cleanup 2024-11-28 22:33:30 -06:00
nytmyr ceeb083864 Allow bots to bypass los checks for positioning if no detrimental types allowed 2024-11-28 22:15:02 -06:00
nytmyr d0033d4786 add check for self on isingrouporraid 2024-11-28 00:56:55 -06:00
nytmyr 6846bdc56c commanded spell fixes. All should be working now minus depart 2024-11-27 21:09:51 -06:00
nytmyr 156c928521 debug cleanup 2024-11-27 20:50:56 -06:00
nytmyr df6c6c3ea0 add aehateline spell type 2024-11-27 20:50:21 -06:00
Alex King fe9df46a24 [Bug Fix] Fix EVENT_COMBAT on NPC Death (#4558) 2024-11-27 20:30:29 -05:00
nytmyr f6cb63a89b more command cleanup 2024-11-27 19:02:37 -06:00
nytmyr 10effce2a6 Implement more commanded types properly, move shadownight hate to hateline type...
Add incapacitated checks to casting logic and checks.
Add candocombat zone check, summon other's corpse for bot, in/out combat spell checks, mute checks, level restriction
2024-11-27 13:51:37 -06:00
nytmyr b200bdd04e implement commanded cast types 2024-11-26 13:17:57 -06:00
nytmyr 1f82e12b34 Command help cleanup 2024-11-26 13:17:57 -06:00
nytmyr bdea548460 fix resistbuffs and damageshields spell type checks 2024-11-26 13:17:56 -06:00
nytmyr d97f691255 misc cleanup 2024-11-26 13:17:56 -06:00
Alex King 6bd758b3dd [Rules] Add Rule to Disable NPCs Facing Target (#4543) 2024-11-24 17:30:44 -06:00
Alex King 9938755517 [Bug Fix] Fix Possible Item Loss in Trades (#4554) 2024-11-24 17:29:27 -06:00
Alex King 3158386aa3 [Bug Fix] Fix Issue with Perl EVENT_PAYLOAD (#4545) 2024-11-24 17:19:40 -06:00
Mitch Freeman 7a841c11c5 [Bug Fix] Players could become flagged as a Trader when they were not trading (#4553) 2024-11-24 17:17:01 -06:00
Mitch Freeman a49d1446b7 [Bug Fix] Fix for sending money via Parcel, then changing your mind (#4552) 2024-11-24 17:15:18 -06:00
carolus21rex b2d0fa6a2f [Bug Fix] Fix Strings::Commify bug with #mystats (#4547)
* Fix a formatting bug with #mystats

When using values larger than 1,000, we were calling commify on a string that already had commas. This resulted in the value 1005 looking like 1,,005.

* Update mob.cpp

---------

Co-authored-by: Alex King <89047260+Kinglykrab@users.noreply.github.com>
2024-11-22 16:23:48 -05:00
Mitch Freeman 62ac015fff [Bug Fix] Fix an edge case with augmented items inside parceled containers (#4546) 2024-11-20 21:17:04 -05:00
Mitch Freeman 4977a7c2e0 [Bazaar] Further refinements for instanced bazaar (#4544)
Resolves
- Parcels being delivered with incorrect item
- Inspecting an item from the bazaar window showing the incorrect item
2024-11-16 15:14:17 -06:00