Cast Delay Question

Langues: JP EN DE FR
users online
Forum » Windower » Spellcast Scripting » Black Mage » Cast delay question
Cast delay question
 Leviathan.Dwb
Offline
Serveur: Leviathan
Game: FFXI
Posts: 144
By Leviathan.Dwb 2013-09-05 20:57:24
Link | Citer | R
 
Ok so my T1 nukes cast to fast for my gear to change. I tried a few things but cannot get it to work right. This is my segment, not sure if im putting it correct spot.

Code
<if skill="Elemental*">
			<if NotSpell="Impact">
				<equip when="precast" set="fastcast"/>
			</if>
			<equip when="midcast" set="nuke"/>
			<if spell="Impact">
				<equip when="precast|midcast">
					<head>empty</head>
					<body>Twilight Cloak</body>
				</equip>
			</if>
			<equip when="midcast">
				<main>Atinian Staff</main>
			</equip>
			<if advanced='"%spellelement" = "%weatherelement" or "%spellelement" = "%dayelement"'>
				<equip when="midcast">
					<back>Twilight Cape</back>
				</equip>
				<if NotSpell="*helix">
					<equip when="midcast">
						<waist>$%spellelementobi</waist>
					</equip>
				</if>
			</if>
			<if advanced='"%spellelement" = "%weatherelement"' BuffActive="Klimaform">
				<equip when="midcast">
					<feet>Svnt. Loafers +2</feet>
				</equip>
			</if>
			<if buffactive="Ebullience" NotSpell="Impact">
				<equip when="midcast">
					<head>Svnt. Bonnet +2</head>
				</equip>
			</if>
		</if>   
Offline
Posts: 122
By Dantedmc 2013-09-05 21:42:37
Link | Citer | R
 
I just made a notspell for t1 and t2 in my main elemental magic statement and equip them without fastcast in a seperate statement. Additionally I made the obis equip in precast as opposed to midcast for those specific spells, because they are too fast. T2 could probably have some fast cast and still work, but I'm not sure of the exact # so atm i just have them both equip with no fastcast.
 Leviathan.Comeatmebro
Offline
Serveur: Leviathan
Game: FFXI
user: Rairin
Posts: 6052
By Leviathan.Comeatmebro 2013-09-05 21:56:29
Link | Citer | R
 
Code
<if CastTimeGT="3" notBuffActive="Alacrity|Penury">
			<var cmd="set GearTime midcast" />
			<equip when="precast" set="Precast" />
			<CastDelay Delay="0.2" />
			<MidCastDelay Delay="1" />
		</if>
		<elseif CastTimeGT="5" BuffActive="Alacrity|Penury">
			<var cmd="set GearTime midcast" />
			<equip when="precast" set="Precast" />
			<CastDelay Delay="0.2" />
			<MidCastDelay Delay="1" />
		</elseif>
		<else><var cmd="set GearTime precast" /></else>

Adjust the delays as you want, use $GearTime for your when in your rules.
Log in to post.