Windower / Issues

Windower Public Issue Tracker
31 stars 21 forks source link

Spellcast sometimes can't get status after logging in #305

Closed Vyvian closed 10 years ago

Vyvian commented 11 years ago

This may have possibly been an issue in Windower 3.4 but I never autoloaded spellcast in the old one. Basically what happens if I logged a character out, which tripped a resting set, when I log back in, swaps involving %status don't work until I trip an autoset change, or I reload spellcast. Loading spellcast after the character has entirely logged in never results in the problem.

I seem to be able to repeat this problem by doing a 30 second logoff anywhere outside a moghouse, and since zoning is one of the autoset actions, I think the problem persists until you rest/stand/engage/zone/die to force a change of status. Looking at the log, it would appear that there is no status by default in this case. My equip command (like this one for example: ), goes through the rules normally, but the debug log generated by spellcast doesn't acknowledge that the %status part of the set name is even there. It just says equipping set BlankSet (the default value of DT) in group Standard.

I'll attach my SC file and my debug log to read through. All I did was pop perfect counter, which has no rules but will force Trigger1 and swap my gear to an idle set in response if things were working normally. The result of the processing is nothing happens, PC fires, no gear swaps.

Vyvian commented 11 years ago

debug log: [8:38:28 PM] 3848:<24524> Attempting to auto load XML. [8:38:28 PM] 3848:<0> Checking: Vyvian/MNK_WAR [8:38:28 PM] 3848:<0> Loading filename: Vyvian/MNK_WAR.xml [8:38:28 PM] 3848:<0> Checking: Vyvian/MNK [8:38:28 PM] 3848:<0> Loading filename: Vyvian/MNK.xml [8:38:28 PM] 3848:<0> Valid XML. Checking for Validity [8:38:28 PM] 3848:<0> Documented Vyvian/MNK.xml loaded successfully! [8:38:28 PM] 3848:<0> Checking for Required Version [8:38:28 PM] 3848:<0> Writing to Console: SpellCast: Vyvian/MNK.xml Loaded Successfully [8:38:28 PM] 3848:<0> Entering ChangeGroup(INIT_LOAD) [8:38:28 PM] 3848:<0> checking for group [8:38:28 PM] 3848:<0> entering for loop in ChangeGroup [8:38:28 PM] 3848:<0> Loop... [8:38:28 PM] 3848:<0> found attrib Default on Standard [8:38:28 PM] 3848:<0> Exited the for loop [8:38:28 PM] 3848:<0> found group and returning [8:38:28 PM] 3848:<0> Writing to Console: SpellCast: Changed group to Standard [8:38:28 PM] 3848:<0> printing statistics [8:38:28 PM] 3848:<0> Writing to Console: SpellCast: v2.51 Information - \cs(0,255,0)DEBUG ENABLED\cr [8:38:28 PM] 3848:<0> Writing to Console: File: \cs(255,255,255)Vyvian/MNK.xml\cr - Group: \cs(255,255,255)Standard\cr [8:38:36 PM] 3848:<8049> IncNormalCmd: /ja "Perfect Counter" [8:38:36 PM] 3848:<16> SpellSearch Returned: (yes) Perfect Counter : (yes) - NotST [8:38:36 PM] 3848:<0> Final Spell name: Perfect Counter [8:38:36 PM] 3848:<0> Defaulting aftercast to 1500 for non-spell [8:38:36 PM] 3848:<0> Parsing rules [8:38:36 PM] 3848:<0> depth increased [8:38:36 PM] 3848:<0> Parsing Advanced: "blankset" != "blankset" [8:38:36 PM] 3848:<0> Returning with: false [8:38:36 PM] 3848:<0> FAILED: Depth: 1 <IF NOTBUFFACTIVE="Impetus" ADVANCED=""$Impetus" != "BlankSet""> [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> FAILED: Depth: 1 [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> FAILED: Depth: 1 [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> FAILED: Depth: 1 [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> FAILED: Depth: 1 [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> FAILED: Depth: 1 [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> FAILED: Depth: 1 [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> FAILED: Depth: 1 [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> FAILED: Depth: 1 [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> FAILED: Depth: 1 [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> FAILED: Depth: 1 [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> Calculating Advanced Value: 99 [8:38:36 PM] 3848:<0> Returning with 99.00 [8:38:36 PM] 3848:<0> FAILED: Depth: 1 [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> FAILED: Depth: 1 [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> FAILED: Depth: 1 [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> FAILED: Depth: 1 [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> PASSED: Depth: 1 [8:38:36 PM] 3848:<0> depth increased [8:38:36 PM] 3848:<0> entering ParseRuleActions: COMMAND - with spell Perfect Counter [8:38:36 PM] 3848:<0> type=command: Trigger1 [8:38:36 PM] 3848:<0> when=aftercast [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> depth decreased [8:38:36 PM] 3848:<0> end for/rule parse [8:38:36 PM] 3848:<0> depth decreased [8:38:36 PM] 3848:<0> rules fully parsed [8:38:36 PM] 3848:<0> Finished parsing rules [8:38:36 PM] 5968:<0> Handling spell: Perfect Counter [8:38:36 PM] 5968:<0> Starting Precast actions>>> [8:38:36 PM] 5968:<0> Equipping Precast Gears [8:38:36 PM] 5968:<0> gear changing complete for Precast [8:38:36 PM] 5968:<0> >>>finished precast actions [8:38:36 PM] 5968:<0> Casting Spell: /raw /jobability "Perfect Counter" [8:38:36 PM] 5968:<0> is not , waiting [8:38:37 PM] 5968:<593> waited for midcast delay done. [8:38:37 PM] 5968:<0> Starting Midcast [8:38:37 PM] 5968:<0> Equipping Midcast Gears [8:38:37 PM] 5968:<0> gear changing complete for Midcast [8:38:37 PM] 5968:<0> Finished Midcast [8:38:39 PM] 5968:<2402> Starting Aftercast [8:38:39 PM] 5968:<0> Equipping Aftercast Gears [8:38:39 PM] 5968:<0> gear changing complete for Aftercast [8:38:39 PM] 5968:<0> Finished Aftercast [8:38:39 PM] 3592:<0> SpellSearch Returned: (yes) Trigger1 : (no) - NotST [8:38:39 PM] 3592:<0> Final Spell name: Trigger1 [8:38:39 PM] 3592:<0> Parsing rules [8:38:39 PM] 3592:<0> depth increased [8:38:39 PM] 3592:<0> Parsing Advanced: "blankset" != "blankset" [8:38:39 PM] 3592:<0> Returning with: false [8:38:39 PM] 3592:<0> FAILED: Depth: 1 <IF NOTBUFFACTIVE="Impetus" ADVANCED=""$Impetus" != "BlankSet""> [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> FAILED: Depth: 1 [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> PASSED: Depth: 1 [8:38:39 PM] 3592:<0> depth increased [8:38:39 PM] 3592:<0> FAILED: Depth: 2 [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> PASSED: [8:38:39 PM] 3592:<0> depth increased [8:38:39 PM] 3592:<0> entering ParseRuleActions: EQUIP - with spell Trigger1 [8:38:39 PM] 3592:<0> type=equip [8:38:39 PM] 3592:<0> checking when: precast [8:38:39 PM] 3592:<0> parsing equip actions for precast [8:38:39 PM] 3592:<0> entering ParseEquipAction for Precast [8:38:39 PM] 3592:<0> Loading set: BlankSet [8:38:39 PM] 3592:<0> entering LoadSet for GearSet: [8:38:39 PM] 3592:<0> with group Standard [8:38:39 PM] 3592:<0> and set BlankSet [8:38:39 PM] 3592:<0> entering for to find group for loadset [8:38:39 PM] 3592:<0> found set by name BlankSet [8:38:39 PM] 3592:<0> breaking [8:38:39 PM] 3592:<0> exiting for when checking for group Standard [8:38:39 PM] 3592:<0> entering for on sets with group Standard looking for BlankSet [8:38:39 PM] 3592:<0> Name matches BlankSet [8:38:39 PM] 3592:<0> Modifying Gearset for group Standard set BlankSet [8:38:39 PM] 3592:<0> ========== Modifying Precast ========= [8:38:39 PM] 3592:<0> Finished Modifying Gearset for group Standard set BlankSet [8:38:39 PM] 3592:<0> Loaded the set, now modifying gear set [8:38:39 PM] 3592:<0> ========== Modifying Precast ========= [8:38:39 PM] 3592:<0> Precast Set modified [8:38:39 PM] 3592:<0> done checking when [8:38:39 PM] 3592:<0> checking when: midcast [8:38:39 PM] 3592:<0> parsing equip actions for midcast [8:38:39 PM] 3592:<0> entering ParseEquipAction for Midcast [8:38:39 PM] 3592:<0> Loading set: BlankSet [8:38:39 PM] 3592:<0> entering LoadSet for GearSet: [8:38:39 PM] 3592:<0> with group Standard [8:38:39 PM] 3592:<0> and set BlankSet [8:38:39 PM] 3592:<0> entering for to find group for loadset [8:38:39 PM] 3592:<0> found set by name BlankSet [8:38:39 PM] 3592:<0> breaking [8:38:39 PM] 3592:<0> exiting for when checking for group Standard [8:38:39 PM] 3592:<0> entering for on sets with group Standard looking for BlankSet [8:38:39 PM] 3592:<0> Name matches BlankSet [8:38:39 PM] 3592:<0> Modifying Gearset for group Standard set BlankSet [8:38:39 PM] 3592:<0> ========== Modifying Midcast ========= [8:38:39 PM] 3592:<0> Finished Modifying Gearset for group Standard set BlankSet [8:38:39 PM] 3592:<0> Loaded the set, now modifying gear set [8:38:39 PM] 3592:<0> ========== Modifying Midcast ========= [8:38:39 PM] 3592:<0> Midcast Set modified [8:38:39 PM] 3592:<0> done checking when [8:38:39 PM] 3592:<0> checking when: aftercast [8:38:39 PM] 3592:<0> parsing equip actions for aftercast [8:38:39 PM] 3592:<0> entering ParseEquipAction for Aftercast [8:38:39 PM] 3592:<0> Loading set: BlankSet [8:38:39 PM] 3592:<0> entering LoadSet for GearSet: [8:38:39 PM] 3592:<0> with group Standard [8:38:39 PM] 3592:<0> and set BlankSet [8:38:39 PM] 3592:<0> entering for to find group for loadset [8:38:39 PM] 3592:<0> found set by name BlankSet [8:38:39 PM] 3592:<0> breaking [8:38:39 PM] 3592:<0> exiting for when checking for group Standard [8:38:39 PM] 3592:<0> entering for on sets with group Standard looking for BlankSet [8:38:39 PM] 3592:<0> Name matches BlankSet [8:38:39 PM] 3592:<0> Modifying Gearset for group Standard set BlankSet [8:38:39 PM] 3592:<0> ========== Modifying Aftercast ========= [8:38:39 PM] 3592:<0> Finished Modifying Gearset for group Standard set BlankSet [8:38:39 PM] 3592:<0> Loaded the set, now modifying gear set [8:38:39 PM] 3592:<0> ========== Modifying Aftercast ========= [8:38:39 PM] 3592:<0> Aftercast Set modified [8:38:39 PM] 3592:<0> done checking when [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> depth decreased [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> depth decreased [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> FAILED: Depth: 1 [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> FAILED: Depth: 1 [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> FAILED: Depth: 1 [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> FAILED: Depth: 1 [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> FAILED: Depth: 1 [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> FAILED: Depth: 1 [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> FAILED: Depth: 1 [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> FAILED: Depth: 1 [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<16> Calculating Advanced Value: 99 [8:38:39 PM] 3592:<0> Returning with 99.00 [8:38:39 PM] 3592:<0> FAILED: Depth: 1 [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> FAILED: Depth: 1 [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> FAILED: Depth: 1 [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> FAILED: Depth: 1 [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> FAILED: Depth: 1 [8:38:39 PM] 3592:<0> end for/rule parse [8:38:39 PM] 3592:<0> depth decreased [8:38:39 PM] 3592:<0> rules fully parsed [8:38:39 PM] 3592:<0> Finished parsing rules [8:38:39 PM] 7096:<0> Handling spell: Trigger1 [8:38:39 PM] 7096:<0> Starting Precast actions>>> [8:38:39 PM] 7096:<0> Equipping Precast Gears [8:38:39 PM] 7096:<0> gear changing complete for Precast [8:38:39 PM] 7096:<0> >>>finished precast actions [8:38:39 PM] 7096:<0> Casting Spell: /raw /trigger "Trigger1" [8:38:39 PM] 7096:<0> is not , waiting [8:38:40 PM] 7096:<593> waited for midcast delay done. [8:38:40 PM] 7096:<0> Starting Midcast [8:38:40 PM] 7096:<0> Equipping Midcast Gears [8:38:40 PM] 7096:<0> gear changing complete for Midcast [8:38:40 PM] 7096:<0> Finished Midcast [8:38:41 PM] 7096:<904> Starting Aftercast [8:38:41 PM] 7096:<0> Equipping Aftercast Gears [8:38:41 PM] 7096:<0> gear changing complete for Aftercast [8:38:41 PM] 7096:<0> Finished Aftercast [8:38:59 PM] 5700:<17878> SpellSearch Returned: (no) : (no) - NotST [8:39:09 PM] 3716:<10249> SpellCast: Unloading

Vyvian commented 11 years ago
<?xml version="1.0"?>
<spellcast>
    <guildwork character="Vyvian" server="Sylph" job="MNK" />
    <config RequireVersion="2.30" Debug="true" HideErrors="false" ShowGearSwaps="False" />

    <variables clear="yes">
        <var name="DT">BlankSet</var>
        <var name="Impetus">BlankSet</var>
    </variables>

    <sets>
        <group name="Standard" default="yes">
            <set name="BlankSet" />
            <set name="Idle">
                <ammo>Tantra Tathlum</ammo>
                <head>Arh. Jinpachi +1</head>
                <neck>Twilight Torque</neck>
                <lear>Merman's Earring</lear>
                <rear>Merman's Earring</rear>
                <body>Arhat's Gi +1</body>
                <hands>Mel. Gloves +2</hands>
                <lring>Shadow Ring</lring>
                <rring>Sheltered Ring</rring>
                <back>Shadow Mantle</back>
                <waist>Black Belt</waist>
                <legs>Manibozho Brais</legs>
                <feet>Hermes' Sandals</feet>
            </set>
            <set name="Resting" BaseSet="Idle">
                <head>Tpl. Crown +1</head>
                <back>Melee Cape</back>
                <body>Mel. Cyclas +2</body>
            </set>
            <set name="Engage">
                <ammo>Potestas Bomblet</ammo>
                <head>Ganesha's Mask</head>
                <neck>Agasaya's Collar</neck>
                <lear>Steelflash Earring</lear>
                <rear>Bladeborn Earring</rear>
                <body>Thaumas Coat</body>
                <hands>Mel. Gloves +2</hands>
                <lring>Epona's Ring</lring>
                <rring>Rajas Ring</rring>
                <back>Letalis Mantle</back>
                <waist>Black Belt</waist>
                <legs>Manibozho Brais</legs>
                <feet>Tantra Gaiters +2</feet>
            </set>
            <set name="Imp">
                <body>Tantra Cyclas +2</body>
                <hands>Tantra Gloves +2</hands>
            </set>
            <set name="Chakra">
                <ammo>Tantra Tathlum</ammo>
                <body>Tpl. Cyclas +1</body>
                <hands>Mel. Gloves +2</hands>
                <rear>Kemas Earring</rear>
                <lring>Spiral Ring</lring>
                <back>Melee Cape</back>
                <feet>Thurandaut Boots</feet>
            </set>
            <set name="WS">
                <ammo>Tantra Tathlum</ammo>
                <head>Anwig Salade</head>
                <body>Tantra Cyclas +2</body>
                <hands>Mel. Gloves +2</hands>
                <legs>Manibozho Brais</legs>
                <feet>Tantra Gaiters +2</feet>
                <back>Letalis Mantle</back>
                <waist>Anguinus Belt</waist>
                <lear>Steelflash Earring</lear>
                <rear>Bladeborn Earring</rear>
                <lring>Epona's Ring</lring>
                <rring>Rajas Ring</rring>
                <neck>Justiciar's Torque</neck>
            </set>
            <set name="WS-Spiral" BaseSet="WS">
                <ammo>Potestas Bomblet</ammo>
                <head>Thurandaut Chapeau</head>
                <body>Toci's Harness</body>
                <hands>Mustela Gloves</hands>
                <legs>Manibozho Brais</legs>
                <feet>Thaumas Nails</feet>
            </set>
            <set name="WS-FHeaven" BaseSet="WS">
                <ammo>Tantra Tathlum</ammo>
                <head>Genbu's Kabuto</head>
                <feet>Thurandaut Boots</feet>
            </set>
            <set name="WS-Ascetic" BaseSet="WS">
                <head>Tantra Crown +2</head>
                <hands>Mustela Gloves</hands>
            </set>
            <set name="PDT">
                <head>Arh. Jinpachi +1</head>
                <body>Arhat's Gi +1</body>
                <hands>Tantra Gloves +2</hands>
                <neck>Twilight Torque</neck>
                <feet>Thurandaut Boots</feet>
                <back>Shadow Mantle</back>
                <lring>Shadow Ring</lring>
                <rring>Dark Ring</rring>
                <lear>Merman's Earring</lear>
                <rear>Merman's Earring</rear>
            </set>
            <set name="MDT">
                <head>Arh. Jinpachi +1</head>
                <body>Avalon Breastplate</body>
                <hands>Tantra Gloves +2</hands>
                <neck>Twilight Torque</neck>
                <feet>Thurandaut Boots</feet>
                <back>Shadow Mantle</back>
                <lring>Shadow Ring</lring>
                <rring>Dark Ring</rring>
                <lear>Merman's Earring</lear>
                <rear>Merman's Earring</rear>
            </set>
        </group>
    </sets>

    <rules>
        <if notBuffActive="Impetus" advanced='"$Impetus" != "BlankSet"'>
            <var cmd="set Impetus BlankSet" />
        </if>

        <if spell="autoset">
            <command when="idle|engaged|resting">Trigger1</command>
        </if>

        <if spell="trigger1">
            <if status = "engaged">
                <equip when="precast" set="Engage|$Impetus|$DT" />
            </if>
            <else>
                <equip when="precast|midcast|aftercast" set="%status|$DT" />
            </else>
        </if>

        <!-- JA section -->
        <if spell="Boost">
            <equip when="precast">
                <hands>Tpl. Gloves +1</hands>
            </equip>
        </if>

        <if spell="Focus|Dodge">
            <equip when="precast">
                <head>Tpl. Crown +1</head>
                <feet>Tpl. Gaiters +1</feet>
            </equip>
        </if>

        <if spell="Counterstance">
            <equip when="precast">
                <feet>Mel. Gaiters +2</feet>
            </equip>
        </if>

        <if spell="Chakra">
            <equip when="precast" set="Chakra" />
        </if>

        <if spell="Hundred Fists">
            <equip when="precast">
                <legs>Mel. Hose +2</legs>
            </equip>
        </if>

        <if spell="Impetus">
            <if status="engaged">
                <equip when="precast|midcast|aftercast" >
                    <body lock="t">Tantra Cyclas +2</body>
                    <hands lock="t">Tantra Gloves +2</hands>
                </equip>
            </if>
            <var cmd="set Impetus Imp" />
        </if>

        <if spell="Formless Strikes">
            <equip when="precast">
                <body>Mel. Cyclas +2</body>
            </equip>
        </if>

        <if spell="Chi Blast">
            <equip when="precast">
                <head>Mel. Crown +2</head>
            </equip>
        </if>

        <!-- WS section -->
        <if mode="AND" CommandPrefix="/weaponskill" TPGT="99">
            <if spell="Shijin Spiral">
                <equip when="precast" set="WS-Spiral" />
            </if>
            <elseif spell="Ascetic's Fury">
                <equip when="precast" set="WS-Ascetic" />
            </elseif>
            <elseif spell="Final Heaven">
                <equip when="precast" set="WS-FHeaven" />
            </elseif>
            <else>
                <equip when="precast" set="WS" />
            </else>
        </if>

        <!-- Trigger spells, Dia 3 toggles PDT on or off, Bio 3 toggles MDT on or off, Meteor is a reset button -->
        <if spell="Dia III">
            <cancelspell />
            <if advanced='"$DT" = "PDT"'>
                <var cmd="set DT BlankSet" />
                <addtochat>DT set disabled</addtochat>
                <if status="engaged">
                    <equip when="precast|midcast|aftercast" set="Engage|$Impetus" />
                </if>
                <else>
                    <equip when="precast|midcast|aftercast" set="%status" />
                </else>
            </if>
            <else>
                <var cmd="set DT PDT" />
                <addtochat>DT activated as PDT</addtochat>
                <if status="engaged">
                    <equip when="precast|midcast|aftercast" set="Engage|$Impetus|$DT" />
                </if>
                <else>
                    <equip when="precast|midcast|aftercast" set="%status|$DT" />
                </else>
            </else>
        </if>

        <if spell="Bio III">
            <cancelspell />
            <if advanced='"$DT" = "MDT"'>
                <var cmd="set DT BlankSet" />
                <addtochat>DT set disabled</addtochat>
                <if status="engaged">
                    <equip when="precast|midcast|aftercast" set="Engage|$Impetus" />
                </if>
                <else>
                    <equip when="precast|midcast|aftercast" set="%status" />
                </else>
            </if>
            <else>
                <var cmd="set DT MDT" />
                <addtochat>DT activated as MDT</addtochat>
                <if status="engaged">
                    <equip when="precast|midcast|aftercast" set="Engage|$Impetus|$DT" />
                </if>
                <else>
                    <equip when="precast|midcast|aftercast" set="%status|$DT" />
                </else>
            </else>
        </if>

        <if spell="Meteor">
            <cancelspell />
            <var cmd="set DT BlankSet" />
            <addtochat>DT set disabled</addtochat>
            <if status="engaged">
                <equip when="precast|midcast|aftercast" set="Engage|$Impetus" />
            </if>
            <else>
                <equip when="precast|midcast|aftercast" set="%status" />
            </else>
        </if>

        <!-- Aftercast set restores -->
        <if notspell="Trigger1">
            <command when="aftercast">Trigger1</command>
        </if>
    </rules>
</spellcast>
z16 commented 11 years ago

This has been a bug since forever, although I admit I've totally forgotten about it until you mentioned it just now. One of the things I just learned to accept over the years.. I will look into it later.