#Make the boss punish you for trying to wipe them

55 messages · Page 1 of 1 (latest)

half abyss
#

Exactly what it says.

#

@sullen wraith @proven cairn

sullen wraith
#

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 True

#

actually there s

#

there is

#

unless you have your boss have insta heal

proven cairn
#

bool PLAYER_HAS_SKILL(int PlayerID, int SkillID)

sullen wraith
#

this ^ with instal heal should keep you safe from cheese

#

Or you could just repel almighty adachi_true

#

because things like this are already pretty funny

half abyss
#

Hm, maybe.

That might make the boss a little too hard though.

#

I don't want him to be full-on impossible

sullen wraith
#

unless you also null phys I thin you'll be fine Clueless

half abyss
#

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

small rune
#

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

sullen wraith
small rune
#

there was also USEATTR which I doubt works
just make them reflect almighty

#

that was said already I am a worthless fraud

half abyss
#

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.

small rune
#

it appears even if you use a showtime or all-out attack
though the funniest case was by far Down Shot

half abyss
#

Down shot's almighty??

#

I legit thought it was a gun skill that pierced resistance

small rune
#

how would that work

half abyss
#

Idk

small rune
#

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

half abyss
#

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?

sullen wraith
#

kinda

#

its more like

half abyss
#

713 being myraid truths and 603 being the wipe skill btw

sullen wraith
#
if ( PLAYER_HAS_SKILL( 1, 713 ) == 1 )
{
    AI_ACT+PERSONA_SKILL( 103, 603 )
}
half abyss
#

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

sullen wraith
#

yeah?

#

Just have varible it sets that you check at the start of the turn

half abyss
#

I'm not good at AI so I'm not sure how to do varibles and stuff

sullen wraith
small rune
#

actually I was wondering
can you write it just like if (PLAYER_HAS_SKILL( 1, 713 ) ) or does it have to check the bool

sullen wraith
#

You should be able to but lets keep it simple adachi_true

half abyss
#

do I replace wipe_skill with 603 or 713?

small rune
#

you'd check it above there

#

also could set them to have more turns

sullen wraith
#

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 adachi_true

small rune
#

AtlusFlowCompiler rejects PLAYER_HAS_SKILL as a thing

sullen wraith
#

I think its a cbt thing

small rune
#

oh :)

sullen wraith
#

yes adachi_true

#

anyway bedtime