Paladin Spellcast

Eorzea Time
 
 
 
Language: JP EN FR DE
Version 3.1
New Items
users online
Forum » FFXI » Jobs » Paladin » Paladin Spellcast
Paladin Spellcast
 Bahamut.Lulukitty
Premium
Offline
Server: Bahamut
Game: FFXI
user: Lulukitty
Posts: 22
By Bahamut.Lulukitty 2010-06-19 01:01:06
Link | Quote | Reply
 
I have been trying for sometime to find an adequate Paladin Spellcast File. But I have been unable to find something with which to work with. If any of you have something close, and willing to share I would greatly appreciate it.

Here are some specific things I'm looking for.

-Checks target when casting cure, If curing myself I'd like to equip HP+ Set and Enmity. If casting on someone else, just equip Enmity gear.

-Checks Support Job and adjusts to the gear sets I would specify for /nin /rdm /war for example.

Thats all the major things i'm looking for, as I am unsure how to apply those myself.

Thanks!
 Bahamut.Raenryong
Offline
Server: Bahamut
Game: FFXI
user: RaenRyong
Posts: 4554
By Bahamut.Raenryong 2010-06-19 01:08:16
Link | Quote | Reply
 
I think there is a Target="self" syntax and can just <else> that or notTarget (may not work, I'm still a noob with spellcast).

<If Subjob="xxx"> works for the subjobs.
 Bahamut.Kailee
Offline
Server: Bahamut
Game: FFXI
user: Kailee
Posts: 3
By Bahamut.Kailee 2010-06-19 02:04:37
Link | Quote | Reply
 
I've tried the subjob thing before, but never had much luck with it.

I dont know if i'm missing something or not though.

I'll see about working that in again, maybe it will be nice this time :o
 Bahamut.Lulukitty
Premium
Offline
Server: Bahamut
Game: FFXI
user: Lulukitty
Posts: 22
By Bahamut.Lulukitty 2010-06-19 02:05:04
Link | Quote | Reply
 
God darn it.... It defaulted to a mule -.- That was me.
 Bahamut.Fujiiwara
Offline
Server: Bahamut
Game: FFXI
user: Fujiiwara
Posts: 18
By Bahamut.Fujiiwara 2010-06-30 07:06:58
Link | Quote | Reply
 
<if SpellTargetType="SELF">
<if spell="Cure IV">
<if HPGT="%HPMAX - 250">
<action type="castdelay" delay="1" />
<action type="equip" when="precast">
<lring>Serket Ring</lring>
<rring>Ether Ring</rring>
<neck>Morgana's Choker</neck>
<Back>Remove</Back>
</action>
<action type="castdelay" delay="0.5" />
<action type="equip" when="midcast">
<lring>R.K. Sigil Ring</lring>
<rring>Bomb Queen Ring</rring>
<neck>Ritter Gorget</neck>
<Back>Gigant Mantle</Back>
</action>
</if>
</if>
</if>

something like this?
 Bahamut.Fujiiwara
Offline
Server: Bahamut
Game: FFXI
user: Fujiiwara
Posts: 18
By Bahamut.Fujiiwara 2010-06-30 07:10:02
Link | Quote | Reply
 
<if subjob="NIN">
<if status="idle|AfterCast">
<action type="equip" when="idle|AfterCast" set="idlenin">
</action>
</if>
</if>

and some thing like this for subjobs
 Remora.Laphine
Offline
Server: Remora
Game: FFXI
Posts: 356
By Remora.Laphine 2010-06-30 08:14:30
Link | Quote | Reply
 
Fujiiwara said:
<if SpellTargetType="SELF">
<if spell="Cure IV">
<if HPGT="%HPMAX - 250">
<action type="castdelay" delay="1" />
<action type="equip" when="precast">
<lring>Serket Ring</lring>
<rring>Ether Ring</rring>
<neck>Morgana's Choker</neck>
<Back>Remove</Back>
</action>
<action type="castdelay" delay="0.5" />
<action type="equip" when="midcast">
<lring>R.K. Sigil Ring</lring>
<rring>Bomb Queen Ring</rring>
<neck>Ritter Gorget</neck>
<Back>Gigant Mantle</Back>
</action>
</if>
</if>
</if>
something like this?
You don't actually need to set castdelay twice there. Spellcast will parse these lines all at once, everytime cureiv is used, so castdelay will always be 0.5. If you hp was higher then max-250, the castdelay set to 1 will just be overwritten by the 0.5 one.

Other than that, i'm not fond of castdelay. I find it counter productive, because well, anything can happen in that extra second you are adding there. Still, considering you are trying to put pre and midcast sets on cure4, which is a pretty fast casting spell, casting delay will be necessary to make sure presets are going to be fully equiped. I would just remove that second castdelay though. Because you only need to delay your casting when you are going to equip both pre and midcast sets.


There is a turnaround over castdelay. You can use cancellspell if your hp is greater than max-250. And make spellcast parse again by inputing cure4 again thru command. It's very similar to what you did there (adding some extra lines), and this is something i do on brd songs:

**This code was not created by me. I got it on windower.net, can't remember from who though.**
<if spell="Cure IV">
<!-- Checks if we need to check our Hp before casting -->
<if advanced='"$skiphpcheck" == "no" AND "$usehpcheat" =="yes"'>

<!-- Set skiphpcheck var to skip next parse -->

<action Type = "Var" cmd = "set skiphpcheck yes" />

<!-- Checks our Hp before casting.-->

<if HPPGT="%HPMAX - 250" >
<action type="command">sc set HPDOWN;input /ma "Cure IV"</action>
<action type="cancelspell"/>
<action type="return" />
</if>
</if>
<else>
<!-- Set skiphpcheck var to parse next time -->
<action Type = "Var" cmd = "set skiphpcheck no" />
<action type="Equip" when="precast" set="enmity/HPUP">
</else>
</if>

Idk how fast this is compared to setting castdelay. But it's faster lol.
 Bahamut.Fujiiwara
Offline
Server: Bahamut
Game: FFXI
user: Fujiiwara
Posts: 18
By Bahamut.Fujiiwara 2010-06-30 12:20:14
Link | Quote | Reply
 
not sure why i had 2 in there, was prob a mistake from from tweaking it. makes sense, thanks for info.

cast delay was required for me , because without it i wouldn't lose the hp , due to gear swapping too fast. combining -hp equip with +hp equip on my fullsets gives me ~350hp selfcures at 100% hp


 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2010-06-30 12:37:20
Link | Quote | Reply
 
For Subjob variations, in 2.3 at least, you'll probably need

<if Advanced='"%SubJob" = "WAR"'>
<blah blah blah>
</if>


I use it in my BLM's spellcast for if I'm trying to do something /SCH with the wrong Arts active.
Quote:
<!-- /SCH Handling..! -->
<!-- Handling Emergency Healing -->
<if mode="AND" Advanced='"%SubJob" = "SCH"' BuffActive="Dark Arts|Addendum: Black">
<if mode="OR" Skill="HealingMagic" Spell="Regen*|*na">
<addtochat color="39">Current SCH Arts: Dark Arts! Change to Light Arts before Healing! Casting %Spell..</addtochat>
</if>
</if>
<!-- if this is elemental magic (nukes/dot's, then do special handling -->
<if Skill="ElementalMagic">
<if mode="AND" Advanced='"%SubJob" = "SCH"' BuffActive="Light Arts|Addendum: White">
<cancelspell />
<addtochat color="39">Current SCH Arts: Light Arts! Change to Dark Arts before nuking! %Spell cancelled.</addtochat>
</if>
<!-- /SCH Handling: End -->

This checks for the type of spell I'm casting, checks my SJ then tells me if I need to switch out my Arts and won't let me nuke under Light Arts, but still lets me fire off emergency cures under Dark Arts.
 Ragnarok.Sekundes
Offline
Server: Ragnarok
Game: FFXI
user: Sekundes
Posts: 4189
By Ragnarok.Sekundes 2010-06-30 12:51:20
Link | Quote | Reply
 
Spellcast is only able to switch the same gear slot after about .6-.8 seconds. If you're in idle and need to preform a cure kit by switching to minus hp gear and then to plus hp/enmity you need to have that delay in there but you don't need a cast delay you just swap the gear while the cure is charging, even for my rdm I don't need any cast delay.

You can make 2 custom sets and minushp and plushp. Make the minushp the precast then set a wait for 1 second and put on plushp+enmity gear and it will work.

Key thing to note: spellcast equips gear in a particular order and there is 0 delay in the swaps' hp/mp values being calculated, even if you don't see it for a bit. If spellcast equips bloodbead ring(-10 mp) followed by loq. earring(+30 mp) it will gank 10 of your mp even if your resulting mp would still be 20 higher than your base set. This applies to hp as well so you've got to check your values to be sure that your casts aren't ganking your hp or mp and if they are you may need to use an equip line in the rules to determine the order gear is flipped in or run a script and have it in the correct order. This is particularly hard for pld/rdm for ss because pld mnd gear has very little hp and you end up cutting a good 100 off just to cap ss.

As a side note, don't use cast delays unless you absolutely have to, your slow enough as it is and it can be hard to get spells off timing between mobs that aren't debuffed and cast delays only further hinder you.

Also, I don't recommend having spellcast automatically do anything like cure kits for you, have a spirit macro that is set up to do it because hp values can change based on various buffs and debuffs and if you don't account for everything you can really screw yourself. If you do use it, I'd make a variable you can change to make it stop quickly, you never know when having something can cause you issues so be careful with it.
 Bahamut.Lulukitty
Premium
Offline
Server: Bahamut
Game: FFXI
user: Lulukitty
Posts: 22
By Bahamut.Lulukitty 2010-06-30 13:00:30
Link | Quote | Reply
 
Really appreciate all the help so far. Got some really great advice getting this setup. Spellcast certainly can be a pain setting up the files but after that it seems to payout!

Thank you again.
 Bahamut.Raenryong
Offline
Server: Bahamut
Game: FFXI
user: RaenRyong
Posts: 4554
By Bahamut.Raenryong 2010-06-30 13:05:38
Link | Quote | Reply
 
Quote:
<if advanced='"skiphpcheck" == "no" AND "$usehpcheat" =="yes"'>

Don't you mean $skiphpcheck? Otherwise that's going to return false every time.

Also you don't need to use an advanced tag for subjob, <if Subjob=""> works fine.
 Remora.Laphine
Offline
Server: Remora
Game: FFXI
Posts: 356
By Remora.Laphine 2010-06-30 13:53:58
Link | Quote | Reply
 
why yeah lol, fixed my post there
 Bahamut.Kaioshin
Offline
Server: Bahamut
Game: FFXI
user: Troair
Posts: 1802
By Bahamut.Kaioshin 2010-07-25 00:25:02
Link | Quote | Reply
 
wow my lulukins made a thread finally ^^
 Carbuncle.Sevourn
Offline
Server: Carbuncle
Game: FFXI
user: Sevourn
Posts: 9481
By Carbuncle.Sevourn 2010-07-25 00:31:51
Link | Quote | Reply
 
Bahamut.Raenryong said:
Quote:
<if advanced='"skiphpcheck" == "no" AND "$usehpcheat" =="yes"'>

Don't you mean $skiphpcheck? Otherwise that's going to return false every time.

Also you don't need to use an advanced tag for subjob, <if Subjob=""> works fine.


how did you go from not knowing anything about spellcast to being a damned expert in approximately 30 seconds

i hate you ;;
 Bahamut.Raenryong
Offline
Server: Bahamut
Game: FFXI
user: RaenRyong
Posts: 4554
By Bahamut.Raenryong 2010-07-25 01:01:21
Link | Quote | Reply
 
Haha well I did spend the better part of about 2-3 days studying it. Nowadays I'm completely in love with spellcast and write scripts for people and stuff from scratch. Something about coding is satisfying... something about just how logical it is.
 Quetzalcoatl.Giazz
Offline
Server: Quetzalcoatl
Game: FFXI
user: Gias
Posts: 1308
By Quetzalcoatl.Giazz 2010-07-25 01:12:38
Link | Quote | Reply
 
Yeah doing XML files for spellcast isn't really hard once know the rules and get used to it... there's a lot of examples out there too etc.

And it's such a nice thing...

 Carbuncle.Sevourn
Offline
Server: Carbuncle
Game: FFXI
user: Sevourn
Posts: 9481
By Carbuncle.Sevourn 2010-07-25 01:12:50
Link | Quote | Reply
 
as much as i trumpet the virtues of pure logic on here i guess i need to go figure out spellcast to salvage my ego ><

afk becoming a coder
 Bahamut.Kaioshin
Offline
Server: Bahamut
Game: FFXI
user: Troair
Posts: 1802
By Bahamut.Kaioshin 2010-07-25 01:12:56
Link | Quote | Reply
 
All I heard was rdm mithra ***.
 Shiva.Flionheart
Offline
Server: Shiva
Game: FFXI
Posts: 23653
By Shiva.Flionheart 2010-07-25 02:08:35
Link | Quote | Reply
 
I was going to try spellcast when I played, Then I realised that If I want to code, I'll complete the 9001 other tasks I have lined up lol.
 Leviathan.Saivilem
Offline
Server: Leviathan
Game: FFXI
user: Saivilem
Posts: 11
By Leviathan.Saivilem 2010-07-25 02:18:01
Link | Quote | Reply
 
spellcast for PLD /sigh