Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- action (combo) var combo $1 when ^(?:Balance|A chance|Armor|Increased|You recall|Stronger) .* by landing (?:an?) (.*)\.$
- Tactics:
- action (combo) on
- var LOCATION Tactics
- match WAIT You must be closer
- matchre MELEE ^You have just recently completed that attack combination, and cannot repeat it so soon.
- #matchre gcombo With a keen eye
- #matchre combo.attack by landing a (\S+)
- matchre gcombo Balance|A chance|Armor|Increased|You recall|Stronger
- matchre gcombo small|good|great|large|massive|exceptional|substantial
- match Tactics You fail
- match Tactics Roundtime
- matchre FACE.ANA Analyze what\?
- put ana %analyze
- matchwait
- FACE.ANA:
- gosub FACE_NEXT
- goto melee
- gcombo:
- pause 1
- gosub combo
- if matchre("$roomobjs", "(that|which) appears dead") then goto dead
- goto count
- combo:
- eval combo replacere("%combo", "(?:\s)?(?:,|and)? an?(?:\s)", "|")
- eval combo replacere("%combo", "\|+", "|")
- #var combo |%combo|
- eval total count("%combo", "|")
- action (combo) off
- counter set 0
- pause 0.5
- Loop:
- gosub combo.attack %combo(%c)
- if %c > %total then return
- goto Loop
- combo.attack:
- var attack $1
- counter add 1
- if "%attack" = "" then return
- ANA.ATTACK:
- var LOCATION ANA_ATTACK_1
- pause 0.0001
- ANA_ATTACK_1:
- if $spellweave = 1 && "$preparedspell" = "None" then gosub spellcheck
- if $spellweave = 1 then gosub spelltime
- if ($stamina < 85) then waiteval ($stamina >= 95)
- var LOCATION ANA_ATTACK_1
- matchre WAIT ^\.\.\.wait|^Sorry\,
- matchre IMMOBILE ^You don't seem to be able to move to do that
- matchre WEBBED ^You can't do that while entangled in a web
- matchre STUNNED ^You are still stunned
- matchre CALM ^Strangely, you don't feel like fighting right now
- MATCHRE return ^There is nothing else to face
- matchre RETURN ^Wouldn't it be better if you used a melee weapon\?
- matchre WAIT ^You aren't close enough to attack
- match RETURN hit
- match RETURN strike
- match ANA_ATTACK_1 Roundtime
- send %attack
- matchwait 15
- put #echo >$Log Crimson $datetime *** MISSING MATCH IN ANA.ATTACK! (utility.inc) Last Command: $lastcommand ***
- put #log $datetime MISSING MATCH IN ATTACK (utility.inc)
- goto ATTACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement