Problem With My Xml? ._.;

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » Windower » Spellcast Scripting » White Mage » Problem with my xml? ._.;
Problem with my xml? ._.;
 Sylph.Binckry
Offline
サーバ: Sylph
Game: FFXI
user: Binckly
Posts: 529
By Sylph.Binckry 2012-11-11 12:47:36  
I changed my whm xml a bit, and I made it so that whenever I type //aero5, it'll change my idle variable to either PDT or Refresh. But whenever I change that variable to PDT. And type /sc set idle. It always seems to freeze my PoL. :/ Idk what I'm doing wrong ; ;
The rules for it are around 260~
 Bismarck.Trow
Offline
サーバ: Bismarck
Game: FFXI
Posts: 40
By Bismarck.Trow 2012-11-11 12:53:02  
//updateresources
 Sylph.Binckry
Offline
サーバ: Sylph
Game: FFXI
user: Binckly
Posts: 529
By Sylph.Binckry 2012-11-11 12:55:46  
Bismarck.Trow said: »
//updateresources
I already tried that earlier, still freezes. =x
Edit: I figured it out. <_<; baseset to my PDT set was idle, and my idle set had nothing on it except for baseset $idle, sooo... fixed it yay
 Bismarck.Trow
Offline
サーバ: Bismarck
Game: FFXI
Posts: 40
By Bismarck.Trow 2012-11-11 13:14:28  
glad i could be of no assistance >.>
 Sylph.Binckry
Offline
サーバ: Sylph
Game: FFXI
user: Binckly
Posts: 529
By Sylph.Binckry 2012-11-11 13:26:23  
Bismarck.Trow said: »
glad i could be of no assistance >.>
:D
 Odin.Registry
Offline
サーバ: Odin
Game: FFXI
user: R3G1STRY
Posts: 430
By Odin.Registry 2012-11-11 13:42:28  
The $TriggerSetOne and $TriggerSetTwo are pretty much pointless, you can just change those to what the spells actually are. I suggest either changing them to classtriggers or using Dancing Chains/Aegis Schism/Foxfire/etc.

On the second one (starts around line 257)
Code xml
<elseif spell="$TriggerSetTwo"> <!-- Not sure why these are there... again >_> -->
	<!-- Aero V is to swap idle sets from Refresh<->PDT -->
	<if spell="Aero V">
		<cancelspell /> <!-- I'd suggest putting this at the end of this block along with a return statement -->
		<if advanced='"$Idle" = "Refresh"'>
			<var cmd="set Idle PDT" />
		</if>
		<else>
			<var cmd="set Idle Refresh" />
		</else>
		<addtochat color="135">~ ~ Idle Variable: $Idle ~ ~</addtochat>
	</if>
</elseif>


but again, I'm too lazy to read through the whole thing and I don't see why the two variables are there, if you take them out it's less lines of code.


edit: Oh, you fixed it. Still, lots of redundancies!