C2Talon / c2t_hccs

Kolmafia script to handle a hardcore community service run with my set of skills and IotMs and with any class. Not likely to run out-of-the-box for most.
MIT License
2 stars 11 forks source link

Fight Shadow Affinity bosses if copied outside Shadow Rifts #14

Open plasticmacaroni opened 4 days ago

plasticmacaroni commented 4 days ago

if (have_effect($effect[shadow affinity]) == 0 && !contains_text(my_location(), "Shadow Rift"))

Added the second part -- should make sure when fighting a shadow affinity enemy that if it's outside a shadow rift, you don't need to abort because you don't have the shadow affinity

plasticmacaroni commented 4 days ago

https://github.com/C2Talon/c2t_hccs/pull/15/commits/71c6631295ff46683bd565280b050f27dcd657f7

plasticmacaroni commented 4 days ago

Oops, needed to reverse the sign after testing