New To Spellcast

言語: JP EN DE FR
2010-06-21
New Items
users online
フォーラム » FFXI » Jobs » Warrior » New to spellcast
New to spellcast
 Leviathan.Blackwhirlwind
Offline
サーバ: Leviathan
Game: FFXI
Posts: 263
By Leviathan.Blackwhirlwind 2012-07-11 06:40:53  
ok trying out Spellcast for the first time wanted to know if im doing this right where do i save this under windower what commands are used to iniate weaponskills also how do i add job abilities to it?
Code
<?xml version="1.0" ?>

<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
    <config
        RequireVersion="2.30"
        debug="false"
        />
    <variables />
	
    <sets>
        <group name="Main" default="yes">
            <set name="Standard" BaseSet="TPGear">
                <hands>remove</hands>
            </set>
            <set name="TPGear">
				<ammo>Ravager's Orb</ammo>
				<head>Zelus Tiara</head>
				<neck>Rancor Collar</neck>
				<lear>Brutal Earring</lear>
				<rear>Ravager's Earring</rear>
				<body>Perle Hauberk</body>
				<hands>Ravager's Mufflers +2</hands>
				<lring>Rajas  Ring</lring>
				<rring>Hoard Ring</rring>
				<back>Atheling Mantle</back>
				<waist>Phasmida Belt</waist>
				<legs>Ravager's Cuisses +2</legs>
				<feet>Ravager's Calligae +2</feet>
            </set>
			
			<set name="Ukko's Fury">
				<head>Ravager's Mask +2</head>
				<neck>Rancor Collar</neck>
				<lear>Brutal Earring</lear>
				<rear>Moonshade Earring</rear>
				<body>Grim Cuirass</body>
				<hands>Heafoc Mitts</hands>
				<lring>Rajas Ring</lring>
				<rring>Spiral Ring</rring>
				<back>Atheling Mantle</back>
				<waist>Breeze Belt</waist>
				<legs>Ogier's Breeches</legs>
				<feet>Ravager's Calligae +2</feet>
			</set>
			
			<set name="Upheaval">
				<head>Ravager's Mask +2</head>
				<neck>Apathy Gorget</neck>
				<lear>Brutal Earring</lear>
				<rear>Moonshade Earring</rear>
				<body>Ares's Cuirass</body>
				<hands>Warrior's Mufflers +2</hands>
				<lring>Rajas Ring</lring>
				<rring>Spiral Ring</rring>
				<back>Atheling Mantle</back>
				<waist>Windbuffet Belt</waist>
				<legs>Warrior's Cuisses +2</legs>
				<feet>Jingang Greaves</feet>
			</set>
			
			<set name="FellCleave">
				<head>Ravager's Mask +2</head>
				<neck>Breeze Gorget</neck>
				<lear>Brutal Earring</lear>
				<rear>Moonshade Earring</rear>
				<body>Grim Cuirass</body>
				<hands>Heafoc Mitts</hands>
				<lring>Rajas Ring</lring>
				<rring>Spiral Ring</rring>
				<back>Atheling Mantle</back>
				<waist>Breeze Belt</waist>
				<legs>Ogier's Breeches</legs>
				<feet>Ravager's Calligae +2</feet>
			</set>
            
        </group>
    </sets>
    <rules>
        <!-- set of gear to equip when finished casting a spell or coming back from resting mp (idle set) -->
		<equip when="Engaged" set="TPGear" />
        <equip when="Idle" set="Standard" />
		
		<if Spell="Utsusemi*">
            <!-- equip gear that helps Utsu, and nothing else -->
            <equip when="precast" set="TPGear" />
        </if>
		
		<if type="Weaponskill">
			<if mode="OR" TPLT="100" advanced='%SpellTargetDistance>4' notstatus="engaged">
				<addtochat color="121">Too far away from target, not enough TP or not engaged. Cancelling WS</addtochat>
				<cancelspell/>
				<return />
			</if>
		</if>
		
		<if spell="Ukko's Fury">
			<equip set="Ukko's Fury" when="precast" />
			<equip set="TPGear" when="aftercast" />
		</if>
		<if spell="Upheaval">
			<equip set="Upheaval" when="precast" />
			<equip set="TPGear" when="aftercast" />
		</if>
		<if spell="Fell Cleave">
			<equip set="FellCleave" when="precast" />
			<equip set="TPGear" when="aftercast" />
		</if>
	
		<if mode="and" Spell="Provoke" Target="Sturdy Pyxis">
			<cancelspell />
			<addtochat>Wrong target!</addtochat>
		</if>

		
		<if mode="and" Spell="Third Eye" notbuffactive="Seigan" MLvlGT="69">
			<cancelspell />
			<addtochat color="240">No Seigan Up! - Popping Seigan!</addtochat>
			<command>input /ja "Seigan" <me>;wait 2.5;input /ja "Third Eye" <me>;</command>
		</if>
	
		<if spell="Utsusemi: Ichi" BuffActive="Copy Image|Copy Image (2)" NotBuffActive="Silence|Mute|Omerta|Obliviscence">
			<midcastdelay delay="3.0" />
			<command when="midcast">cancel 66</command>
		</if>
	<if Spell="Sneak|Monomi*" BuffActive="Sneak" SpellTargetType="Self">
		<command when="midcast">cancel 71</command>
		<midcastdelay delay="1.8" />
	</if>
		
	
    </rules>
</spellcast>
Offline
Posts: 2711
By Hitetsu 2012-07-11 11:53:52  
To initiate a WS, you do it either through the menu or with a macro that says "/ws "Whatever" <t>". Spellcast does the rest.

To add a job ability trigger to it, you'll want:
Code xml
<if spell="Job Ability Name">
	<do these things>
</if>


For example,
Code xml
<if spell="Berserk">
	<equip when="aftercast" set="BerserkUp" />
	<addtochat color="121">I'm so glad you finished putting Berserk up! I'll get you a glass of lemonade Honey!</addtochat>
</if>


Also, it's weird seeing my old WAR spellcast still being used XD
 Leviathan.Blackwhirlwind
Offline
サーバ: Leviathan
Game: FFXI
Posts: 263
By Leviathan.Blackwhirlwind 2012-07-11 12:23:33  
Ok i understand that part where am i putting spellcast it self, inside the script folder, where my windower is saved, Yeah i just wanted a basic spellcast ill improve it later.
Offline
Posts: 2711
By Hitetsu 2012-07-11 12:42:32  
Drop it into Windower/Plugins/spellcast/blackwhirlwind_war.xml
Log in to post.