#Make the boss punish you for trying to wipe them
55 messages · Page 1 of 1 (latest)

ok
let me thing#
think
Idealy we start with the check if they have the skill, if they never use it then they will usually never equip the persona, though there might be ways to avoid it idk 
actually there s
there is
unless you have your boss have insta heal
bool PLAYER_HAS_SKILL(int PlayerID, int SkillID)
this ^ with instal heal should keep you safe from cheese
Or you could just repel almighty 
because things like this are already pretty funny
Hm, maybe.
That might make the boss a little too hard though.
I don't want him to be full-on impossible
unless you also null phys I thin you'll be fine 
The main thing I don't really want to see people spam him with is myraid truths and rebellion blade.
Think Twilight Skills made rebellion blade literally op
ok didn't realize there was a thread for this now
I saw in the list of functions on GitHub AI_CHK_ENUSESKIL() and AI_CHK_ENIDUSESKIL (as well as for FR) but it didn't work when I tried it

there was also USEATTR which I doubt works
just make them reflect almighty
that was said already I am a worthless fraud
That would be kinda funny to see someone use myraid truths and seeing the transparent shield over the enemy
Though Yu used myraid truths in his fight and it did no damage.
it appears even if you use a showtime or all-out attack
though the funniest case was by far Down Shot
how would that work
Idk
I tried looking how Sae's Penalty and the Book of Commandments work, the former is all bitflags and the second I couldn't tell what was going on
So anyway, if I wanna make the boss use 603 megidolaon do I do like this:
bool PLAYER_HAS_SKILL( 1, 713 )
if true AI_ACT_PERSONA_SKILL( 103, 603
IS that right?
713 being myraid truths and 603 being the wipe skill btw
if ( PLAYER_HAS_SKILL( 1, 713 ) == 1 )
{
AI_ACT+PERSONA_SKILL( 103, 603 )
}
Also, can I make it so it's like reload?
Where as soon as you use it, the boss just spams 603, not just once but until the battles over
I'm not good at AI so I'm not sure how to do varibles and stuff
if ( PLAYER_HAS_SKILL( 1, 713 ) == 1 )
{
AI_ACT_PERSONA_SKILL( 103, 603 );
wipe_skill = 1;
}
actually I was wondering
can you write it just like if (PLAYER_HAS_SKILL( 1, 713 ) ) or does it have to check the bool
You should be able to but lets keep it simple 
do I replace wipe_skill with 603 or 713?
oh yeah sorry I was tesing
let me type it out
int wipe_skill = 0;
AI_MAIN()
{
if ( wipe_skill == 1 )
{
AI_ACT_PERSONA_SKILL( 103, 603 ):
AI_TAR_RND();
return;
}
(rest of your ai main is here)
}
Sorry im tired and am going to bed
But I had to help out first 
AtlusFlowCompiler rejects PLAYER_HAS_SKILL as a thing
I think its a cbt thing
oh :)