Item Search
     
BG-Wiki Search
Page 238 of 328 FirstFirst ... 188 228 236 237 238 239 240 248 288 ... LastLast
Results 4741 to 4760 of 6548
  1. #4741
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    I notice that you have this rule:
    Code:
            <!-- Automatically change group -->
            <if notgroup="$Areat">
            </if>
    You could remove that since that does nothing as written.

    I also noticed that you removed the rule to change the restraint variable when the buff is active. Look for at to this part:

    Code:
            <!-- Automatically change variables when buffs wear off -->
            <if notBuffactive="Berserk" advanced='"$Berserk"!="N"'>
                <var cmd="set Berserk N" />
            </if>
    		<if notBuffactive="Restraint" advanced='"$Restraint"!="N"'>
                <var cmd="set Restraint N" />
            </if>
    		<if notbuffactive="Berserk" Day="$Ukko's_Fury-SC">
    			<var cmd="set WSHead Ravager's Mask +2" />
    		</if>
    		<else>
    			<var cmd="set WSHead Mekira-oto +1" />
    		</else>
    Replace that with

    Code:
            <!-- Automatically change variables when buffs wear off -->
            <if Buffactive="Berserk">
                <var cmd="set Berserk Berserk" />
            </if>
            <else>
                <var cmd="set Berserk N" />
            </else>
            <if Buffactive="Restraint">
                <var cmd="set Restraint Restraint" />
            </if>
            <else>
                <var cmd="set Restraint" />
            </else>
            <if Buffactive="Mighty Strikes">
                <var cmd="set Mighty_Strikes Mighty_Strikes">
            </if>
            <else>
                <var cmd="set Mighty_Strikes BlankSet">
            </else>
    		<if notbuffactive="Berserk" Day="$Ukko's_Fury-SC">
    			<var cmd="set WSHead Ravager's Mask +2" />
    		</if>
    		<else>
    			<var cmd="set WSHead Mekira-oto +1" />
    		</else>

  2. #4742
    Old Merits
    Join Date
    Apr 2012
    Posts
    1,109
    BG Level
    6

    Will test tomorrow when I get a chance, thanks a lot for the help

  3. #4743
    Old Merits
    Join Date
    Apr 2012
    Posts
    1,109
    BG Level
    6

    The might strikes rule still breaks xml.

    The restraint is now fixed but I am spammed with "var: missing additional parameters for set. Type /sc var help for help" every time I perform any action in console

    Here is current xml http://pastebin.com/748tmgpg

  4. #4744
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    Try this (Your Mighty Strikes set needs to be named Mighty_Strikes):
    Code:
    <?xml version="1.0" ?>
    <spellcast xmlns:xi="http://www.w3.org/2001/Xinclude">
      <config
    Debug="true"
    HideErrors="true"
    ShowGearSwaps="false"
    ShowSpellInfo="false"
    
     />
      <variables clear="True">
        <!-- Standard Variables 1 -->
        <var name="TriggerSetOne">Shackled*|Grim*|Dancing Chains|Vulcan*|Barbed*|*Schism|Carnal*</var>
        <var name="TriggerSetTwo">Poison V|Poisonga V|Scop's*|*Pastoral|*Fantasia|Raptor*</var>
        <var name="TriggerSetThree">Netherspikes|Foxfire|Diaga V|Banishga V|Goblin Gavotte</var>
        <var name="Ukko's_Fury-SC">Lightsday|Lightningday|Windsday|Firesday</var>
        <var name="Area">Outside</var>
        <var name="Distance">6.5</var>
        <var name="Delay-JA">0.2</var>
        <var name="LockMain">1</var>
        <var name="RHands">Phorcys Mitts</var>
        <var name="R-Weapon">Trollbane</var>
        <var name="Armor">BlankSet</var>
        <!-- Standard Variables 2 -->
        <var name="Movement-Idle">Movement</var>
        <var name="Movement-Engaged">BlankSet</var>
        <!-- Multi-Class Variables  -->
        <var name="Regen">BlankSet</var>
        <var name="Berserk">N</var>
        <var name="Restraint">N</var>
        <var name="MightyStrikes">BlankSet</var>
        <var name="TwilightSet">BlankSet</var>
        <var name="WSHead">Mekira-oto +1</var>
        <var name="DDNeck">Rancor Collar</var>
        <var name="Mighty_Strikes">BlankSet</var>
        <!-- include Variables -->
        <xi:include href="war-include.xml" xpointer="//include[@name='TrialStaffFastCast']/*" />
        <xi:include href="war-include.xml" xpointer="//include[@name='TrialStaffDMG']/*" />
        <xi:include href="war-include.xml" xpointer="//include[@name='TrialStaffACC']/*" />
        <xi:include href="war-include.xml" xpointer="//include[@name='ElementalObiConstants']/*" />
        <xi:include href="war-include.xml" xpointer="//include[@name='VarEnSpells']/*" />
        <xi:include href="war-include.xml" xpointer="//include[@name='EleStaffConst']/*" />
      </variables>
      <sets>
        <group name="Abyssea">
          <set name="Idle" baseset="PDT">
            <ammo>Angha Gem</ammo>
            <head>Twilight Helm</head>
            <neck>Wiglen Gorget</neck>
            <lear>Merman's Earring</lear>
            <rear>Merman's Earring</rear>
            <body>Twilight Mail</body>
            <hands>Magma Gauntlets</hands>
            <lring>Sheltered Ring</lring>
            <rring>Paguroidea Ring</rring>
            <back>Metallon Mantle</back>
            <waist>Nierenschutz</waist>
            <legs>Ogier's Breeches</legs>
            <feet>Hermes' Sandals</feet>
          </set>
          <set name="Movement">
            <feet>Hermes' Sandals</feet>
          </set>
          <set name="Resting" />
          <set name="PDT">
            <ammo>Angha Gem</ammo>
            <head>Mekira-Oto +1</head>
            <neck>Wiglen Gorget</neck>
            <lear>Ghillie Earring +1</lear>
            <rear>Brutal Earring</rear>
            <body>Mekira Meikogai</body>
            <hands>Magma Gauntlets</hands>
            <lring>Dark Ring</lring>
            <rring>Dark Ring</rring>
            <back>Mollusca Mantle</back>
            <waist>Nierenschutz</waist>
            <legs>Ogier's Breeches</legs>
            <feet>Phorcys Schuhs</feet>
          </set>
          <set name="MDT">
            <head>Zelus Tiara</head>
            <neck>Twilight Torque</neck>
            <lear>Merman's Earring</lear>
            <rear>Merman's Earring</rear>
            <body>Mekira Meikogai</body>
            <hands>Coral Fng. Gnt. +1</hands>
            <lring>Dark Ring</lring>
            <rring>Dark Ring</rring>
            <back>Lamia Mantle +1</back>
            <waist>Goading Belt</waist>
            <legs>Rvg. Cuisses +2</legs>
            <feet>Rvg. Calligae +2</feet>
          </set>
          <set name="Regen">
        </set>
          <set name="TP-Restraint">
            <ammo>Ravager's Orb</ammo>
            <head>Phorcys Salade</head>
            <neck>Rancor Collar</neck>
            <lear>Ravager's Earring</lear>
            <rear>Brutal Earring</rear>
            <body>Armada Hauberk</body>
            <hands>Rvg. Mufflers +2</hands>
            <lring>Rajas Ring</lring>
            <rring>Strigoi Ring</rring>
            <back>Atheling Mantle</back>
            <waist>Bullwhip Belt</waist>
            <legs>Rvg. Cuisses +2</legs>
            <feet>Rvg. Calligae +2</feet>
          </set>
          <set name="TP-N" baseset="TP-Restraint">
            <ammo>Ravager's Orb</ammo>
            <head>Phorcys Salade</head>
            <neck>Rancor Collar</neck>
            <lear>Ravager's Earring</lear>
            <rear>Brutal Earring</rear>
            <body>Armada Hauberk</body>
            <hands>Phorcys Mitts</hands>
            <lring>Rajas Ring</lring>
            <rring>Strigoi Ring</rring>
            <back>Atheling Mantle</back>
            <waist>Bullwhip Belt</waist>
            <legs>Rvg. Cuisses +2</legs>
            <feet>Rvg. Calligae +2</feet>
          </set>
          <set name="BlankSet" />
          <set name="Utsusemi-Precast">
            <neck>Magoraga Beads</neck>
          </set>
          <set name="Haste">
            <head>Zelus Tiara</head>
            <waist>Goading Belt</waist>
            <legs>Rvg. Cuisses +2</legs>
            <feet>Rvg. Calligae +2</feet>
          </set>
          <set name="Reraise">
            <head>Twilight Helm</head>
            <body>Twilight Mail</body>
          </set>
          <set name="Blood Rage">
            <body>Rvg. Lorica +2</body>
          </set>
          <set name="Mighty_Strikes">
            <feet>Rvg. Calligae +2</feet>
          </set>
          <set name="Enmity">
        </set>
          <set name="Spell-Interruption" />
          <!-- WS Base is for any Weapon Skill not listed below -->
          <set Name="WS Base">
            <ammo>Ravager's Orb</ammo>
            <head>Ravager's Mask +2</head>
            <neck>Portus Collar</neck>
            <lear>Moonshade Earring</lear>
            <rear>Brutal Earring</rear>
            <body>Phorcys Korazin</body>
            <hands>Phorcys Mitts</hands>
            <lring>Rajas Ring</lring>
            <rring>Strigoi Ring</rring>
            <back>Rancorous Mantle</back>
            <waist>Wanion Belt</waist>
            <legs>Ogier's Breeches</legs>
            <feet>Rvg. Calligae +2</feet>
          </set>
          <set name="Ukko's Fury-N">
            <ammo>Ravager's Orb</ammo>
            <head>Ravager's Mask +2</head>
            <neck>Breeze Gorget</neck>
            <lear>Moonshade Earring</lear>
            <rear>Brutal Earring</rear>
            <body>Phorcys Korazin</body>
            <hands>Phorcys Mitts</hands>
            <lring>Rajas Ring</lring>
            <rring>Strigoi Ring</rring>
            <back>Rancorous Mantle</back>
            <waist>Breeze Belt</waist>
            <legs>Ogier's Breeches</legs>
            <feet>Rvg. Calligae +2</feet>
          </set>
          <set name="Scourge-N">
            <ammo>Ravager's Orb</ammo>
            <head>Mekira-oto +1</head>
            <neck>Flame Gorget</neck>
            <lear>Ravager Earring</lear>
            <rear>Brutal Earring</rear>
            <body>Phorcys Korazin</body>
            <hands>Phorcys Mitts</hands>
            <lring>Rajas Ring</lring>
            <rring>Strigoi Ring</rring>
            <back>Atheling Mantle</back>
            <waist>Flame Belt</waist>
            <legs>Ogier's Breeches</legs>
            <feet>Dilaram's Sollerets</feet>
          </set>
          <set name="Resolution-N">
            <ammo>Ravager's Orb</ammo>
            <head>Mekira-oto +1</head>
            <neck>Breeze Gorget</neck>
            <lear>Moonshade Earring</lear>
            <rear>Brutal Earring</rear>
            <body>Phorcys Korazin</body>
            <hands>Phorcys Mitts</hands>
            <lring>Rajas Ring</lring>
            <rring>Strigoi Ring</rring>
            <back>Atheling Mantle</back>
            <waist>Breeze Belt</waist>
            <legs>Avant Cuisses +1</legs>
            <feet>Dilaram's Sollerets</feet>
          </set>
          <set name="Ukko's Fury-Berserk" baseset="Ukko's Fury-N">
        </set>
          <set name="Scourge-Berserk" baseset="Scourge-N">
        </set>
          <set name="Resolution-Berserk" baseset="Resolution-N">
        </set>
          <set name="Fell Cleave">
            <head>Ravager's Mask +2</head>
            <neck>Ravager's Gorget</neck>
            <lear>Flame Pearl</lear>
            <rear>Brutal Earring</rear>
            <body>Twilight Mail</body>
            <hands>Rvg. Mufflers +2</hands>
            <lring>Rajas Ring</lring>
            <rring>Strigoi Ring</rring>
            <back>Atheling Mantle</back>
            <waist>Warwolf Belt</waist>
            <legs>Rvg. Cuisses +2</legs>
            <feet>Rvg. Calligae +2</feet>
          </set>
        </group>
        <group name="Outside" inherit="Abyssea" default="true">
          <set name="Ukko's Fury-N">
        </set>
          <set name="Ukko's Fury-Berserk" baseset="Ukko's Fury-N">
        </set>
      </group>
    </sets>
      <rules>
        <!-- Core include Rules -->
        <xi:include href="war-include.xml" xpointer="//include[@name='LVrestriction']/*" />
        <xi:include href="war-include.xml" xpointer="//include[@name='ReturnRules']/*" />
        <xi:include href="war-include.xml" xpointer="//include[@name='CleanTransportation']/*" />
        <xi:include href="war-include.xml" xpointer="//include[@name='AreaRule']/*" />
        <xi:include href="war-include.xml" xpointer="//include[@name='LockWeaponRule']/*" />
        <xi:include href="war-include.xml" xpointer="//include[@name='SpellCancel']/*" />
        <!-- Optional include Rules -->
        <xi:include href="war-include.xml" xpointer="//include[@name='PowderBootsRule']/*" />
        <!--Reraise Gear Rules -->
        <if EquipHead = "Reraise Hairpin">
          <equip when="all">
            <head lock="true" />
          </equip>
        </if>
        <if EquipLear = "Reraise Earring">
          <equip when="all">
            <lear lock="true" />
          </equip>
        </if>
        <if EquipRear = "Reraise Earring">
          <equip when="all">
            <rear lock="true" />
          </equip>
        </if>
        <!-- Automatically change variables when buffs wear off -->
        <if Buffactive="Berserk">
          <var cmd="set Berserk Berserk" />
        </if>
        <else>
          <var cmd="set Berserk N" />
        </else>
        <if Buffactive="Restraint">
          <var cmd="set Restraint Restraint" />
        </if>
        <else>
          <var cmd="set Restraint N" />
        </else>
    	<if Buffactive="Mighty Strikes">
    		<var cmd="set Mighty_Strikes Mighty_Strikes" />
    	</if>
    	<else>
    		<var cmd="set Mighty_Strikes BlankSet" />
    	</else>
        <if notbuffactive="Berserk" Day="$Ukko's_Fury-SC">
          <var cmd="set WSHead Ravager's Mask +2" />
        </if>
        <else>
          <var cmd="set WSHead Mekira-oto +1" />
        </else>
        <!-- Automatically Equip Gear Rules -->
        <command when="engaged|idle|aftercast|resting">Dancing Chains</command>
        <!-- Automatically change group -->
        <if notgroup="$Areat">
      </if>
        <!-- Trigger Spells -->
        <if spell="$TriggerSetOne|$TriggerSetTwo|$TriggerSetThree">
          <if spell="$TriggerSetOne">
            <!-- Auto Update Gear -->
            <if spell="Dancing Chains">
              <cancelspell />
              <equip set="TP-$Restraint|$Mighty_Strikes|$Armor|$Movement-%Status|$TwilightSet" />
              <addtochat>TP-$Restraint</addtochat>
              <elseif status="resting">
                <equip set="%Status" />
              </elseif>
            </if>
            <!-- Equip PDT (Barbed Crescent) -->
            <elseif Spell="Barbed Crescent">
              <cancelspell />
              <if advanced='"$Armor" == "PDT"'>
                <var cmd="set Armor BlankSet" />
              </if>
              <else NotBuffActive="Physical Shield|Perfect Defense">
                <var cmd="set Armor PDT" />
                <addtochat>PDT Set Equipped</addtochat>
              </else>
              <command>Dancing Chains</command>
            </elseif>
            <!-- Equip MDT (Aegis Schism) -->
            <elseif Spell="Aegis Schism">
              <cancelspell />
              <if advanced='"$Armor" == "MDT"'>
                <var cmd="set Armor BlankSet" />
              </if>
              <else NotBuffActive="Perfect Defense">
                <var cmd="set Armor MDT" />
                <addtochat>MDT Set Equipped</addtochat>
              </else>
              <command>Dancing Chains</command>
            </elseif>
            <!-- Change the distance at which to cancel WS -->
            <xi:include href="war-include.xml" xpointer="//include[@name='SetDistanceVariable']/*" />
            <!-- Change the resistance variable: Regular mobs or NMs -->
            <xi:include href="war-include.xml" xpointer="//include[@name='ResistRule']/*" />
            <!-- Change the Armor variable: Blank, MDT, PDT, or Full Evasion -->
            <xi:include href="war-include.xml" xpointer="//include[@name='Variable-Blank']/*" />
            <xi:include href="war-include.xml" xpointer="//include[@name='Variable-FullEvasion']/*" />
          </if>
          <elseif spell="$TriggerSetTwo">
            <if spell="Poison V">
              <cancelspell />
            </if>
            <elseif spell="Poisonga V">
              <cancelspell />
            </elseif>
            <elseif spell="Scop's Operetta">
              <cancelspell />
            </elseif>
            <!-- Rancor Collar Toggle -->
            <elseif spell="Shining Fantasia">
              <cancelspell />
              <if advanced='"$DDNeck"="Rancor Collar"'>
                <var cmd="set DDNeck Ravager's Gorget" />
              </if>
              <elseif advanced='"$DDNeck"="Ravager&apos;s Gorget"'>
                <var cmd="set DDNeck Rancor Collar" />
              </elseif>
              <addtochat color="135">DD Neck: $DDNeck</addtochat>
              <command>Dancing Chains</command>
            </elseif>
            <!-- Add or Remove Movement Gear -->
            <elseif spell="Raptor Mazurka">
              <cancelspell />
              <if advanced='"$Movement-%Status"="BlankSet"'>
                <var cmd="set Movement-%Status Movement" />
                <addtochat color="135">Movement Speed: ON</addtochat>
              </if>
              <else>
                <var cmd="set Movement-%Status BlankSet" />
                <addtochat color="135">Movement Speed: OFF</addtochat>
              </else>
              <command>Dancing Chains</command>
            </elseif></elseif>
            <else>
              <!-- Reraise Gear Lock -->
              <if spell="Foxfire">
                <cancelspell />
                <if advanced='"$TwilightSet"="BlankSet"'>
                  <var cmd="set TwilightSet Reraise" />
                  <addtochat color="135">Reraise Gear Locked: ON</addtochat>
                </if>
                <elseif advanced='"$TwilightSet"="Reraise"'>
                  <var cmd="set TwilightSet BlankSet" />
                  <addtochat color="135">Reraise Gear Locked: OFF</addtochat>
                </elseif>
                <command>Dancing Chains</command>
              </if>
              <elseif spell="Netherspikes">
                <cancelspell />
              </elseif>
              <elseif spell="Diaga V">
                <cancelspell />
              </elseif>
              <!-- Mighty Strikes Variable -->
              <elseif spell="Goblin Gavotte">
                <cancelspell />
                <if advanced='"$MightyStrikes"="BlankSet"'>
                  <var cmd="set MightyStrikes MightyStrikes" />
                </if>
                <elseif advanced='"$MightyStrikes"="MightyStrikes"'>
                  <var cmd="set MightyStrikes BlankSet" />
                </elseif>
                <command>Dancing Chains</command>
              </elseif>
              <elseif spell="Herb Pastoral">
                <cancelspell />
                <if BuffActive="Physical Shield|Perfect Defense" advanced='"$Armor" == "PDT"'>
                  <var cmd="set Armor BlankSet" />
                </if>
                <else BuffActive="Perfect Defense" advanced='"$Armor" == "MDT"'>
                  <var cmd="set Armor BlankSet" />
                </else>
                <command>Dancing Chains</command>
              </elseif>
              <!-- Trigger Spells Not Used -->
              <elseif spell="Banishga V">
                <cancelspell />
                <if advanced='"$Regen" == "Regen"'>
                  <var cmd="set Regen BlankSet" />
                </if>
                <else>
                  <var cmd="set Regen Regen" />
                  <addtochat>Regen Set Equipped</addtochat>
                </else>
                <command>Dancing Chains</command>
              </elseif>
            </else>
          </if>
          <elseif type="Ninjutsu">
            <!-- Ninjutsu: Utsusemi -->
            <if spell="Utsusemi: Ichi">
              <equip when="precast" set="Utsusemi-Precast" />
              <command when="precast">wait 0.5; sc set "PDT"</command>
              <midcastdelay delay="2" />
              <equip when="midcast" set="Haste" />
            </if>
            <elseif spell="Utsusemi: Ni">
              <equip when="precast|midcast" set="Haste" />
            </elseif></elseif>
            <elseif CommandPrefix="/range" notEquipRange="$R-Weapon">
              <castdelay delay="$Delay-JA" />
              <equip when="precast">
                <ammo lock="true">$R-Weapon</ammo>
              </equip>
            </elseif>
            <elseif type="WeaponSkill">
              <castdelay delay="$Delay-JA" />
              <if spell="Ukko's Fury">
                <equip when="precast" set="%Spell-$Berserk|$MightyStrikes" />
                <addtochat color="135">%Spell-$Berserk</addtochat>
              </if>
              <elseif spell="Scourge">
                <equip when="precast" set="%Spell-$Berserk|$MightyStrikes" />
                <addtochat color="135">%Spell-$Berserk</addtochat>
              </elseif>
              <elseif spell="Resolution">
                <equip when="precast" set="%Spell-$Berserk|$MightyStrikes" />
                <addtochat color="135">%Spell-$Berserk</addtochat>
              </elseif>
              <elseif Spell="Fell Cleave">
                <equip set="%Spell|$MightyStrikes" />
              </elseif>
              <else>
                <equip set="WS Base" />
              </else>
            </elseif>
            <elseif type="JobAbility">
              <!-- Precast-only JAs -->
              <if spell="Provoke|Warcry">
                <castdelay delay="$Delay-JA" />
                <equip when="precast" set="Enmity|$TwilightSet" />
              </if>
              <elseif Spell="Tomahawk">
                <castdelay delay="1.5" />
                <equip when="precast|midcast">
                  <ammo>Throwing Tomahawk</ammo>
                </equip>
                <aftercastdelay delay="4" />
                <if status="engaged">
                  <command>Dancing Chains</command>
                </if>
              </elseif>
              <!-- Variable Changing and Precast gear JAs -->
              <elseif Spell="Berserk">
                <var cmd="set Berserk Berserk" />
              </elseif>
              <elseif Spell="Restraint">
                <castdelay delay="$Delay-JA" />
                <equip when="precast" set="%Spell|$TwilightSet" />
              </elseif>
              <elseif Spell="Blood Rage">
                <var cmd="set BloodRage BloodRage" />
                <castdelay delay="$Delay-JA" />
                <equip when="precast" set="%Spell|$TwilightSet" />
              </elseif></elseif>
            </rules>
          </spellcast>
    I don't know which include you're using so I couldn't test the XML myself.

  5. #4745
    Old Merits
    Join Date
    Apr 2012
    Posts
    1,109
    BG Level
    6

    This is the include im using http://pastebin.com/pN0tDmgK

    I will try that now

  6. #4746
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    Tested and that works for me; if this doesn't work for you, make sure you named the include war-include.xml

  7. #4747
    Old Merits
    Join Date
    Apr 2012
    Posts
    1,109
    BG Level
    6

    Yeah that last change you did sorted everything, thanks!

  8. #4748
    Old Merits
    Join Date
    Aug 2007
    Posts
    1,088
    BG Level
    6
    FFXI Server
    Ragnarok

    what does this line mean?

    <castdelay delay="$Delay-JA" />

    Also, i have been using aftercastdelay for gear swap after ws, is it necessary?

    Thank you.

  9. #4749
    Requiescat in pace.
    Join Date
    Dec 2008
    Posts
    1,341
    BG Level
    6
    FFXI Server
    Lakshmi

    aftercastdelay is almost never necessary

  10. #4750
    Pandemonium
    Join Date
    Feb 2010
    Posts
    7,653
    BG Level
    8
    FFXI Server
    Sylph

    Is there a way to make spellcast use a /ja THEN a spell, without the use of an include or autoexec?

    something like"

    <if BardSong="Mage's Ballad III">
    <if BuffActive="BardSong">
    <changespell Spell = "Pianissimo"/>
    etc...

    Basically I wanna have a simple line where if I use mage's ballad III, I use pianissimo first and then cast, but without using an include or auto-exec.

  11. #4751
    Old Merits
    Join Date
    Aug 2007
    Posts
    1,088
    BG Level
    6
    FFXI Server
    Ragnarok

    Quote Originally Posted by grevenilvec75 View Post
    aftercastdelay is almost never necessary
    How about castdelay for WS.

  12. #4752
    Radsourceful

    Join Date
    Jul 2007
    Posts
    1,964
    BG Level
    6
    FFXI Server
    Bismarck

    Quote Originally Posted by Buffy View Post
    Is there a way to make spellcast use a /ja THEN a spell, without the use of an include or autoexec?

    something like"

    <if BardSong="Mage's Ballad III">
    <if BuffActive="BardSong">
    <changespell Spell = "Pianissimo"/>
    etc...

    Basically I wanna have a simple line where if I use mage's ballad III, I use pianissimo first and then cast, but without using an include or auto-exec.
    Code:
    <if spell="Mages Ballad III">
    	<command>wait 0.8;%Spell %SpellTargetRaw;</command>
    	<command>Pianissimo</command>
    	<cancelspell />
    	<return />
    </if>
    You may need to adjust the 0.8 depending on the rest of your xml.

  13. #4753
    Requiescat in pace.
    Join Date
    Dec 2008
    Posts
    1,341
    BG Level
    6
    FFXI Server
    Lakshmi

    Quote Originally Posted by Nameless View Post
    How about castdelay for WS.
    I've never used castdelay or aftercastdelay for any reason in any of my spellcasts.

    If you have some crazy complicated thing like yugl or motenten's xmls then you might need it, but I highly doubt it.

  14. #4754
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    Quote Originally Posted by Nameless View Post
    what does this line mean?

    <castdelay delay="$Delay-JA" />

    Also, i have been using aftercastdelay for gear swap after ws, is it necessary?

    Thank you.
    The line you see is a delay for any instant action (JA/WS etc). Sometimes equipment doesn't equip properly if you need the equipment on BEFORE using the JA, WS, or Spell. Cast delay delays the action and the variable ($Delay-JA) says by how much. Normally, you use less than a second. Exceptions to this rule include times you need to have an equipment on before even using the ability (Like Angon or Tomahawk). Aftercastdelay shouldn't be needed for WS. Aftercastdelay is good for Pet actions that require the pet to charge a TP move.

  15. #4755
    Pandemonium
    Join Date
    Feb 2010
    Posts
    7,653
    BG Level
    8
    FFXI Server
    Sylph

    Quote Originally Posted by Radec View Post
    Code:
    <if spell="Mages Ballad III">
    	<command>wait 0.8;%Spell %SpellTargetRaw;</command>
    	<command>Pianissimo</command>
    	<cancelspell />
    	<return />
    </if>
    You may need to adjust the 0.8 depending on the rest of your xml.
    Needed the " ' " in mages, but now it just uses Pianissimo over and over, never casts the song. Maybe something that uses a variable, like Yugl's Afflatus Solace code?

    Code:
    <var name="ASolace">0</var>
    
    <if NotBuffActive="Afflatus Solace" Spell="Cure*" Advanced='("$ASolace" = "0")'>
                <command>wait 1.8;%Spell %SpellTargetRaw;</command>
                <command>AfflatusSolace</command>
                <cancelspell />
                <return />
            </if>
            <if spell="Afflatus Solace">
                <var Cmd="set ASolace 1" />
                <command>wait 300;sc var set ASolace 0</command>
            </if>

    I've tried using that, replacing Afflatus Solace with Pianissimo at all points, and replacing spell=cure* with Mage's Ballad III, but it never uses the /ja, just sings.

  16. #4756
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    Remember ASolace needs to be replaced. Not just Afflatus Solace. Also, the recast on Pianissimo is much less than Solace.

  17. #4757
    Chram
    Join Date
    Sep 2007
    Posts
    2,526
    BG Level
    7
    FFXI Server
    Fenrir

    Re: AftercastDelay -- I usually shorten this for JAs and weaponskills since the default is fairly long. Since JAs and weaponskills are 'instant', all the extended delay does is make it more likely for me to TP in weaponskill gear for an extra round. I usually go for 0.5 seconds for those cases. I've also fiddled with it when using ranged attacks (rng, cor), but don't think I've ever used it with spells.

    On the Pianissimo thing, I do something similar with sch, but it's a bit more complicated than what you seem to need. All I'll add is to note that you should make sure that whatever flag variable you use is reset to 0 after the <if> block that makes use of it, to make sure you don't get blocked from using the code more than once.

  18. #4758
    Radsourceful

    Join Date
    Jul 2007
    Posts
    1,964
    BG Level
    6
    FFXI Server
    Bismarck

    Code:
    <if spell="Mage's Ballad III" notbuffactive="Pianissmo">
    	<command>wait 0.8;%Spell %SpellTargetRaw;</command>
    	<command>Pianissimo</command>
    	<cancelspell />
    	<return />
    </if>
    whoop, I copied that from a block that had a notbuffactive higher up.

    It still might try to use pian twice unless you implement a lastspell variable and check it,

    Code:
    <if spell="Mage's Ballad III" notbuffactive="Pianissimo" advanced='!("%lastspell" = "Pianissimo")'>
    	<command>wait 0.8;%Spell %SpellTargetRaw;</command>
    	<command>Pianissimo</command>
    	<cancelspell />
    	<return />
    </if>
    
    ... very last line ....
    
    <command>sc v s lastspell %Spell</command>
    I'm not doing any checking for pian active b/c it's got such a short recast, it's almost always up and adds unnecessary complication.

  19. #4759
    Old Merits
    Join Date
    Aug 2007
    Posts
    1,088
    BG Level
    6
    FFXI Server
    Ragnarok

    Awesome, that answers my question regarding aftercastdelay and castdelay. Thank you.

  20. #4760
    Mrp
    Mrp is offline
    New Merits
    Join Date
    Jun 2006
    Posts
    226
    BG Level
    4

    I want to do If my MP pourcentage is lower then 50% , then use Lucid Ether II.
    I'm not sure how to say the lower 50%;;


    <if MPP="50" >
    <command >;input /item "Lucid Ether II" &lt;me&gt;</command>
    </if>

Page 238 of 328 FirstFirst ... 188 228 236 237 238 239 240 248 288 ... LastLast

Similar Threads

  1. Spellcast Shop Thread
    By Yugl in forum FFXI: Everything
    Replies: 232
    Last Post: 2014-03-18, 04:47
  2. time spent on ls events, helping friends and your own time
    By freewind in forum FFXI: Everything
    Replies: 6
    Last Post: 2005-09-06, 16:42