Talk about AshitaCast here. Need help with setting things up? Questions about how to do something? Post here.
-
Mimikins
- Posts: 3
- Joined: Sat Sep 30, 2017 9:11 pm
Post
by Mimikins » Sun Oct 01, 2017 9:56 am
Hi all!
I play whm/sch and was trying to get my light obi/twilight cape to activate when I cast aurorastorm on myself. I can get it to work for when it's lights day or light weather but having trouble with this buff.
This is what I was trying to use
Code: Select all
<if ad_skill="HealingMagic">
<if ad_name="Cure*">
<equip set="Cure" />
<if Mode="OR" e_weatherelement="Light" e_dayelement="Light" buffactive="184">
<equip>
<back>Twilight Cape</back>
<waist>Korin Obi</waist>
</equip>
</if>
</if>
Any help is appreciated

-
Dasva
- Posts: 17
- Joined: Wed May 18, 2016 11:53 am
Post
by Dasva » Tue Oct 03, 2017 1:49 pm
Shouldn't need the buff. From the variables readme "e_weatherelement - Current Vana Weather's Element, if you have a storm spell active will return that element instead"
-
Mimikins
- Posts: 3
- Joined: Sat Sep 30, 2017 9:11 pm
Post
by Mimikins » Wed Oct 04, 2017 8:41 pm
I've just been to sea where it's 100% light weather and it doesn't seem to be working there either. It equipped on lights day just can't seem to get the light weathers to work :X I'm pretty sure it worked last time I played in FFXI but since returning I don't know what I've done :S I did change some gear I don't think I did anything to the code.
If anyone could give an example of what it should be coded like it would be much appreciated

-
Mimikins
- Posts: 3
- Joined: Sat Sep 30, 2017 9:11 pm
Post
by Mimikins » Wed Oct 04, 2017 9:44 pm
ok so I had a chat with atom0s on discord. The mode="or" doesn't seem to be working. Replacing it with advanced has solved my problem
Many thanks to Atom0s
Here is how it should read to other people that may be experiencing the same issue :
Code: Select all
<if ad_skill="HealingMagic">
<if ad_name="Cure*">
<equip set="Cure" />
<if advanced="(%e_weatherelement=light)|(%e_dayelement=light)">
<equip>
<back>Twilight Cape</back>
<waist>Korin Obi</waist>
</equip>
</if>
</if>
<elseif ad_name="Curaga*">
<equip set="Curaga" />
<if advanced="(%e_weatherelement=light)|(%e_dayelement=light)">
<equip>
<back>Twilight Cape</back>
<waist>Korin Obi</waist>
</equip>
</if>
</elseif>
-
matix
- Addon/Plugin Developer
- Posts: 49
- Joined: Sun May 15, 2016 10:46 pm
Post
by matix » Fri Oct 06, 2017 6:52 am
for anyone reading this later, thorny pointed it out on the irc/discord, but "Mode" is case sensitive and must be "mode"
-
Dasva
- Posts: 17
- Joined: Wed May 18, 2016 11:53 am
Post
by Dasva » Fri Oct 06, 2017 5:03 pm
Haha was going to come back to this because was having problems too but yeah I just do different ifs for day and weather. Tried advanced and | but didn't think to try brackets too. Good to know there is a way to do it like that now can make crazy ones like don't swap if day and weather conflict
-
Lordos
- Posts: 7
- Joined: Fri Oct 27, 2017 4:31 pm
Post
by Lordos » Sat Oct 28, 2017 5:36 pm
Hey =).
I have the same problem I cant get it to run >< 3 different version didn't work. Anyone can assist, please
got 2 version both dont work
Code: Select all
<if ad_skill="elementalmagic">
<if ad_name="Fire*|Burn|Flare*|Firaga*|Pyrohelix|Ice Threnody"><equip set="FireGrip" />
<if Mode="OR" e_weatherelement="Fire" e_dayelement="Fire">
<equip><equip set="WeatherDay" /></equip>
</if>
</if>
<elseif ad_name="Blizzard*|Frost|Freeze*|Blizzaga*|Cryohelix|Wind Threnody"><equip set="IceGrip" />
<if Mode="OR" e_weatherelement="Ice" e_dayelement="Ice">
<equip><equip set="WeatherDay" /></equip>
</if>
</elseif>
<elseif ad_name="Aero*|Choke|Tornado*|Aeroga*|Anemohelix|Earth Threnody"><equip set="WindGrip" />
<if advanced="(%e_weatherelement=Wind)|(%e_dayelement=Wind)">
<equip><equip set="WeatherDay" /></equip>
</if>
</elseif>
<elseif ad_name="Stone*|Rasp|Quake*|Stonega*|Geohelix|Lightning Threnody"><equip set="EarthGrip" />
<if Mode="OR" e_weatherelement="Earth" e_dayelement="Earth">
<equip><equip set="WeatherDay" /></equip>
</if>
</elseif>
<elseif ad_name="Thunder*|Burst*|Shock|Quake*|Thundaga*|Ionohelix|Water Threnody"><equip set="ThunderGrip" />
<if advanced="(%e_weatherelement=Thunder)|(%e_dayelement=Thunder)">
<equip><equip set="WeatherDay" /></equip>
</if>
</elseif>
<elseif ad_name="Water*|Drown|Flood*|Waterga*|Hydrohelix|Fire Threnody"><equip set="WaterGrip" />
<if Mode="OR" e_weatherelement="Water" e_dayelement="Water">
<equip><equip set="WeatherDay" /></equip>
</if>
</elseif>
<else><equip set="ElementalSkill" /></else>
</if>
and i try this
Code: Select all
<if ad_type="BlackMagic">
<!-- Weather and day Checker -->
<if advanced="(%ad_element=%e_dayelement)|(%ad_element=%e_weatherelement)">
<if advanced="%ad_element=%e_dayelement">
<equip>
<equip set="WeatherDay" />
</equip>
</if>
</if>
</if>
Thx for the time and the help
-
atom0s
- Site Admin
- Posts: 418
- Joined: Sat May 14, 2016 5:13 pm
Post
by atom0s » Sat Oct 28, 2017 5:43 pm
Change:
To:
Same with any other instances where you use "mode". It needs to be lower-case.
-
Lordos
- Posts: 7
- Joined: Fri Oct 27, 2017 4:31 pm
Post
by Lordos » Sun Oct 29, 2017 3:56 am
Thx for the quick answer, just tested but still doesn't work for me :X
EDIT: NVM found the error :O
Code: Select all
<elseif ad_name="Water*|Drown|Flood*|Waterga*|Hydrohelix|Fire Threnody"><equip set="WaterGrip" />
<if mode="OR" e_weatherelement="Water" e_dayelement="Water">
<equip set="WeatherDay" />
</if>
</elseif>
Fixed and works like this now :O