Final Fantasy Hacktics

Modding => Help! => Topic started by: Dome on April 01, 2012, 01:41:39 pm

Title: AI won't use a custom skill
Post by: Dome on April 01, 2012, 01:41:39 pm
I created an enemy with only 1 skill: It targets all the enemies (So, your party) and resets their CT to 0
No mp cost, no charge time
The AI simply refuses to use it
Any way to force it to?
Title: Re: AI won't use a custom skill
Post by: Xifanie on April 01, 2012, 01:53:39 pm
the random hits flag (AI behavior section)
It will force to use the skill every so and then
Title: Re: AI won't use a custom skill
Post by: formerdeathcorps on April 01, 2012, 02:06:28 pm
How did you flag it?
Title: Re: AI won't use a custom skill
Post by: Glain on April 01, 2012, 02:47:23 pm
The obvious things that come to mind are that you need to set the "Used by AI" flag (so the AI will use the ability if it's learned), and then make it cost 0 JP, and set the Chance to Learn to 100% (so the AI will learn the ability).
Title: Re: AI won't use a custom skill
Post by: Pride on April 01, 2012, 04:17:16 pm
Take a screen shot of your the skill in the Patcher so we can see the Flags for it
Title: Re: AI won't use a custom skill
Post by: Eternal on April 01, 2012, 04:18:04 pm
The AI's kind of random about using CT00 skills anyways.
Title: Re: AI won't use a custom skill
Post by: Dome on April 01, 2012, 04:28:33 pm
The skill I edited is Modball virus
(http://img252.imageshack.us/img252/5579/customskill.jpg)
Title: Re: AI won't use a custom skill
Post by: formerdeathcorps on April 01, 2012, 04:31:45 pm
CT00 is not a status.  You need to flag Stats.
Title: Re: AI won't use a custom skill
Post by: Pride on April 01, 2012, 04:35:10 pm
What FDC said and I believe you could also try to trick the AI and flag HP Damage making it think its targeting all units for HP Damage... Dunno if it actually works though
Title: Re: AI won't use a custom skill
Post by: Glain on April 01, 2012, 04:57:59 pm
Hit Caster might also be a problem, since you can't target it away from the caster, but not sure, since you have the "Only Hits Enemies" flag checked on the side.

In theory, since this formula is affected by faith, you could tell the AI that by flagging the box under "Random Hits", but I'm not sure it would help.
Title: Re: AI won't use a custom skill
Post by: Dome on April 01, 2012, 05:27:37 pm
Thanks guys, now the skill works properly!
(http://img818.imageshack.us/img818/2323/customskillfixed.jpg)