Modding => Help! => Topic started by: mrjane on September 15, 2017, 12:35:23 pm
Title: Make Knight's Breaks add Status Effects?
Post by: mrjane on September 15, 2017, 12:35:23 pm
Has anyone done this? Is it possible? I find the Break powers really underwhelming and I thought it would be neat if they added things like Slow and Darkness.
I did notice in the formulas, there's the "NS" which equals "No status infliction possible." I tried ignoring this and doing it anyway, but I haven't seen a status get added to an enemy yet.
Any thoughts on how to get this to work? And to get it to be 100% to add?
Title: Re: Make Knight's Breaks add Status Effects?
Post by: Nyzer on September 15, 2017, 02:11:02 pm
Most people interested in doing so would just give the knights new abilities that do so, instead of modding Breaks to also inflict status. Break Weapon is powerful, breaking armor permanently tears off chunks of max HP... shield/accessory are a little weak, but that's really only because the base game never utilizes its full potential for NPCs; readjustment mods can make those significantly more useful. The direct stat breakers are less useful unless you're grinding or stealing, but adding 100% status to them would make them stupidly OP.
Title: Re: Make Knight's Breaks add Status Effects?
Post by: mrjane on September 15, 2017, 04:56:54 pm
Yup, 100% SE sure would be OP. So, anyone know how to do it?
Title: Re: Make Knight's Breaks add Status Effects?
Post by: Nyzer on September 16, 2017, 01:10:46 am
You seem to be missing the point... not only am I recommending you personally rethink your plan here, but I'm also saying that it's unlikely anyone has ever been interested in doing it, so I doubt there's a premade ASM for it either.
Which is, of course, what it'd take.
At best you might be able to find a general, all-purpose ASM that allows you to pick and choose which abilities you want to add status infliction to, that doesn't interfere with the hardcoding on the Break abilities. See what OrgASM's got.
Title: Re: Make Knight's Breaks add Status Effects?
Post by: Emmy on September 18, 2017, 01:01:37 pm
I'm pretty sure what you're thinking of hasn't been done. However, MT's break skills are crazy good, even in a game where 98% of enemies don't have equipment. I made break into something more similar to Meliadoul's vanilla abilities (only that they hit monsters too).
<Patch name="Break/Steal/Mighty Sword de-hardcoding"> <Description> This removes the hard-code on STEAL, MIGHTY SWORD, and BREAK. This means any skill taking those formulas can break stuff and MIGHTY SWORD will work on units if they do not equip anything to break (but will still be blocked by maintenance). This means, among other things, that you can create Accessory Break. This formula reads the unused Y value in those three formulas. Y = 5 breaks the head slot, Y = 4 breaks the armor slot, Y = 3 breaks the accessory slot, Y = 2 breaks the weapon slot, Y = 1 breaks the shield slot, Y = 0 breaks nothing. Do not insert other values; they WILL cause glitchy effects! Please update the preexisting BREAK/STEAL/MIGHTY SWORD attacks to correspond to the new rules.
However if you still *really* want it to apply status as well as breaking an item, you can learn asm. This is a relatively simple hack to make for someone experienced with asm (is literally just 2 additional lines of code, one of which is a nop), since the inflict status byte isn't used by these formulas. Though because you're adding to the code, you'll also have to either move the code of the formula that you're using for break, or copy over a longer unused formula.