Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update kswole.lic #1360

Merged
merged 3 commits into from
Nov 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions scripts/kswole.lic
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,27 @@
Hunting areas currently supported:
Atoll/Nelemar, Bowels, Citadel, Confluence, Crawling Shore, Den of Rot, Duskruin Arena,
Grimswarm, Hidden Plateau, Hinterwilds, Moonsedge, OSA (partial), OTF (incl. Aqueducts),
Red Forest, Reim, Rift/Scatter, Sanctum of Scales.
Red Forest, Reim, Rift/Scatter, Sanctum of Scales, Icemule Trace (partial)

USAGE:
;kswole
or
;kswole help

author: elanthia-online
contributors: Nidal, Tysong, FFNG
contributors: Nidal, Tysong, FFNG, H2U
name: kswole
game: Gemstone
tags: kroderine soul, feat absorb, feat dispel
version: 1.0.0
version: 1.0.1

Help Contribute: https://github.com/elanthia-online/scripts

Version Control:
Major_change.feature_addition.bugfix
v1.0.1 (2023-11-27)
- Adding support for some IMT spell preps
- Checking to ensure that FEAT ABSORB is not on cooldown
v1.0.0 (2023-08-26)
- Migration from Nidal to EO as author
=end
Expand Down Expand Up @@ -104,6 +107,10 @@ class KSwole
/^(?:.*) silently mouths an incantation that does not seem to be in any language you know\./,
/^(?:.*) gestures with one bloody hand, chanting a sibilant prayer\./,
/^(?:.*) lights from within, energy crackling within its chaotic core\./,
# Icemule Trace
/^(?:.*) begins to wail loudly\!/,
/^(?:.*) draws slowly inward\!/,
/^(?:.*) begins to moan an incantation\!/,
# Moonsedge
/^(?:.*) raises her voice in a shrill, eerie song that makes the surrounding mists dance\./,
/^(?:.*) rumbles out a basso incantation, clenching one carved claw as its eyes glow viridian\./,
Expand Down Expand Up @@ -180,7 +187,7 @@ class KSwole
while (line = get)
exit if checkdead
if line =~ @creature_spell_preps
if Feat.available?('Absorb Magic') && (!checkstunned && !Effects::Debuffs.active?('Sympathy'))
if Feat.available?('Absorb Magic') && (!checkstunned && !Effects::Debuffs.active?('Sympathy')) && !(Effects::Cooldowns.active?("Absorb Magic"))
waitcastrt?
absorb = dothistimeout('feat absorb', 2, /^You open yourself to the ravenous void at the core of your being, allowing it to surface\. Muted veins of metallic grey ripple just beneath your skin\.|^You strain, but the void within remains stubbornly out of reach\. You need more time\./)
if absorb =~ /^You strain, but the void within remains stubbornly out of reach\. You need more time\./
Expand All @@ -207,7 +214,7 @@ class KSwole
Lich::Messaging.msg('teal', '| Hunting areas currently supported:')
Lich::Messaging.msg('teal', '| Atoll/Nelemar, Bowels, Citadel, Confluence, Crawling Shore, Den of Rot, Duskruin Arena,')
Lich::Messaging.msg('teal', '| Grimswarm, Hidden Plateau, Hinterwilds, Moonsedge, OSA (partial), OTF (incl. Aqueducts),')
Lich::Messaging.msg('teal', '| Red Forest, Reim, Rift/Scatter, Sanctum of Scales.')
Lich::Messaging.msg('teal', '| Red Forest, Reim, Rift/Scatter, Sanctum of Scales, Icemule Trace (partial).')
Lich::Messaging.msg('teal', '|')
Lich::Messaging.msg('teal', '| If you\'d like support for other areas, please submit a Github issue request at:')
Lich::Messaging.msg('teal', '| https://github.com/elanthia-online/scripts')
Expand Down
Loading