Is There A Way To Make A Rule That Does This?

Eorzea Time
 
 
 
Langues: JP EN FR DE
users online
Forum » Windower » Spellcast Scripting » Samurai » Is there a way to make a rule that does this?
Is there a way to make a rule that does this?
 Bahamut.Bojack
Offline
Serveur: Bahamut
Game: FFXI
user: Bojack316
Posts: 2076
By Bahamut.Bojack 2013-05-05 09:34:52
Link | Citer | R
 
Looking for a Spellcast rule that will check for Konzen-Ittai whenever Shoha is used. If Konzen-Ittai is ready it uses it before Shoha, and if it's not ready then Shoha just goes right away. Can a rule like that be made?
 Bahamut.Bojack
Offline
Serveur: Bahamut
Game: FFXI
user: Bojack316
Posts: 2076
By Bahamut.Bojack 2013-05-05 12:59:55
Link | Citer | R
 
*bump*
 Leviathan.Comeatmebro
Offline
Serveur: Leviathan
Game: FFXI
user: Rairin
Posts: 6052
By Leviathan.Comeatmebro 2013-05-05 13:02:02
Link | Citer | R
 
spellcast doesnt expose an actual recast check, you can make a variable set to 0 and then check if its 0

if its 0, set it to 1, and have a <command>wait 310; sc set var 0</command> when using

basically creating your own timer that tells itself not to use it for 5 min10s after its flagged to use once

its not perfect, but its the best spellcast can do
Code
	<variables>
		<var name="Konzen">0</var>
	</variables>
	<rules>
		<if spell="Tachi: Shoha">
			<if advanced='"$Konzen" = "0"'>
				<var cmd="set Konzen 1" />
				<command>input /ja "Konzen-Ittai" <me></command>
				<command>wait 2; input /ws "Tachi: Shoha" <t></command>
				<command>wait 310; sc var set Konzen 0</command>
				<cancelspell />
				<return />
			</if>
			<!--Other shoha rules-->
		</if>
	</rules>


the <me> etc should be &-l-t-;-me-&-g-t-; and &-l-t-;-t-&-g-t-; without the -s but xiah forum is parsing them so i can't just put that