Please use .png instead of .bmp when uploading unfinished sprites to the forum!
Started by formerdeathcorps, January 06, 2011, 05:09:33 am
Quote from: formerdeathcorps on January 18, 2011, 05:32:36 pmThe flags used are the first two blank ability flags, the two above "Ranged Weapon".
Quote from: formerdeathcorps on January 18, 2011, 05:32:36 pmNo, the unused variable does not determine that; the game hard-codes the matter by checking the used ability's number. Similarly, the game checks ability numbers to determine whether PA/MA/SP is reduced. Although I can put two hard-code subroutines in one function as long as it's impossible to run both (while having maintenance block both), I won't put the weapon break sequences in the same routine because the formula used will be totally different (the only common check will be maintenance). I'll likely fuse all the stat/up down formulas (maybe even Demi/Gravi2/Mute) into this instead (and ignore maintenance on HP/MP damage).
Quote from: formerdeathcorps on January 18, 2011, 05:32:36 pmThe question now really is this....which variable is most important? I think Square got it right by setting X (which should include boosts and decrements) and Y as the most important, meaning I should hard-code formulas to use different Stat1 depending on the formula (PA/MA/SP + Y and the faith variants of those...so six possibilities) and rework hard-coding to make Stat2 dependent on modular arithmetic (mod 8 since we have CT/maxHP/maxMP/PA/MA/SP/Faith/Brave) based on the ability slot's number.
Quote from: formerdeathcorps on January 18, 2011, 05:32:36 pmNo, if you convert damage to healing, you still run into evasion, defense/magic defense UP, shell/protect, and reaction triggers. Hence, I actually can't easily consolidate healing spells with damage spells because of the missing checks on the former.
QuoteIf you had a flag that marked a skill as healing rather than damaging couldn't you use that same flag to bypass said checks with a simple jump in the main formula?
QuoteWhen your notes say "ASM may fail" does that mean it is imperfect and you still need to update it or that it jumps to a backup that covers it when it fails?
QuoteI see. So the garbage hardcoding is going to be maintained currently, but a bunch of stuff is going to be crunched together. It's a wash, I guess, but still seems rather mediocre.
Page created in 0.064 seconds with 24 queries.