• Welcome to Final Fantasy Hacktics. Please login or sign up.
 

Pride's ASM Thread (MP Switch overflow damages HP)

Started by Pride, April 04, 2011, 07:12:17 am

Pride

  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?

Choto

Hey pride, thanks for the existing hacks, they are awesome. I was wondering if this was a possibility - making there be a "chance to break" on the mighty swordskills instead of it being guaranteed?

Pride

October 27, 2011, 12:04:17 am #122 Last Edit: October 27, 2011, 12:13:51 am by Pride
Faith adds a constant value, so it mirrors Xif's Fury asm. Change the bold 23 into which ever number you would like to use as a constant (in hex of course). Defaulted is 0x23 (or 35 in dec).

EX. (Damage * (Attacker's Faith + 35) * (Defender's Faith + 35)) / 10000

0x001201F0 in Battle.BIN
1980013C
902D248C
D2382290
04008384
23004224
18006200
12180000
D3382290
00000000
23004224
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?

RavenOfRazgriz

I'm looking into bundling Mist and Regen into a single status.  (Aka, have Regen fill both 1/8th HP and 1/8th MP.)  Is there an easy way to do this?  I read the thread, but it looks like merely setting Mist to reference the Regen status will cause the old effect of Regen to not apply, when I still need it to.  Any way around this without doing something retarded like giving up a second Status?  I need Wall, Innocent, Reflect, etc, so I can't just make them two separate statuses that are applied simultaneously. 

Pride

Without testing, it looks like you can do it just fine. I know it will not display correctly (probably will only display the HP regain) but I don't see why it won't work.
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?

Rfh

January 19, 2012, 01:57:58 pm #125 Last Edit: January 19, 2012, 03:08:33 pm by Rfh
Pride, can you do that the wall status recover 1/10 of MP instead of 1/4? If the hack is in blank status, much better.
  • Modding version: PSX
  • Discord username: rfh


Pride

Quote from: Rfh on January 19, 2012, 01:57:58 pm
Pride, can you do that the wall status recover 1/10 of MP instead of 1/4? If the hack is in blank status, much better.


1/10 would make me rewrite the hack, 1/8 or 1/16 can be done with just changing a single line.

You want it over the black status right above crystal? Or do you want it to always trigger without a status?
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?

Rfh

Quote from: Pride on January 20, 2012, 11:54:32 pm
1/10 would make me rewrite the hack, 1/8 or 1/16 can be done with just changing a single line.

You want it over the black status right above crystal? Or do you want it to always trigger without a status?

Well, recover 1/8 is good. If it is possible, that every single unit recover 1/8 Mp without a status.
  • Modding version: PSX
  • Discord username: rfh

Pride

Copy and Paste into a notepad and save as a .xml. Apply with FFTorgASM.


<?xml version="1.0" encoding="utf-8"?>
<Patches>
  <Patch name="Regain 10% of Max MP after each turn">
    <Description>Regain 10% of Max MP after each turn</Description>
    <Location file="BATTLE_BIN" offset="F6EBC">
      2E000296
      9919033C
      09004224
      9A996334
      18004300
      1980033C
      902D638C
      10100000
      0A0062A4
      10000234
      250062A0
      FD350608
      5B000392
    </Location>
    <Location file="BATTLE_BIN" offset="1267EC">
      AF770508
      00000000
    </Location>
  </Patch>
</Patches>
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?

Rfh

January 21, 2012, 02:25:26 pm #130 Last Edit: January 21, 2012, 02:59:52 pm by Rfh
Quote from: Pride on January 21, 2012, 12:25:43 pm
Copy and Paste into a notepad and save as a .xml. Apply with FFTorgASM.


<?xml version="1.0" encoding="utf-8"?>
<Patches>
 <Patch name="Regain 10% of Max MP after each turn">
   <Description>Regain 10% of Max MP after each turn</Description>
   <Location file="BATTLE_BIN" offset="F6EBC">
     2E000296
     9919033C
     09004224
     9A996334
     18004300
     1980033C
     902D638C
     10100000
     0A0062A4
     10000234
     250062A0
     FD350608
     5B000392
   </Location>
   <Location file="BATTLE_BIN" offset="1267EC">
     AF770508
     00000000
   </Location>
 </Patch>
</Patches>



Thank you very much!! You are a really expert!!

EDIT: Your ASM has a problem, regen override the mp recovery.
  • Modding version: PSX
  • Discord username: rfh

Pride

It doesn't; it just won't display the mp recovery. That was the first thing I checked.
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?

RavenOfRazgriz

Hey Pride, would you be able to make an inverted version of Mist as well?  (As in, damages 1/8th MP per turn.)  I'd like to toss that on Poison to add some parity with Regen healing 1/8th MP, and you seem to be the best man for the job given you've already coded the inverse.  :p

Pride

I need to organize my section of battle.bin badly =P
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?


Pride

Fixed my error in my weapon proc hack. download the new spreadsheet on the op.
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?

Pride

MP Switch Overflow damages HP
Any excess damage from MP Switch no longer goes to waste. It will damage the target's HP if there is any excess.
EX: Attacker deals 150 damage, Defender has 50 MP. The Defender would lose 50 MP (all of it) then receive 100 Damage.

battle.bin
0x001261B8

1980043C
982D848C
E8FFBD27
1000BFAF
90018384
2C008294
2C006010
00000000
2A004010
00000000
E134060C
00000000
26004014
00000000
1980023C
FCF5428C
00000000
21004014
00000000
1980023C
982D428C
00000000
90014394
94014494
00000000
21186400
940143A4
E8036428
02008014
E7030334
940143A4
2C004494
94014394
00000000
2A288300
0700A010
B1014590
23186400
900143A4
940144A4
A0000534
B10145A0
9F340608
00000000
7F00A530
B10145A0
900140A4
20000334
B10143A0
BD010334
0E0043A4
1000BF8F
1800BD27
0800E003
00000000
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?

Vanya

Oh, damn! Cheers, mate! That's a huge improvement.

Thinking on it, do you think you could mod this further or make another hack that takes a set amount of MP per 1 HP of damage absorbed. Something like this:

Attacker deals 100 damage, Defender has 50 MP. If absorption rate is set to 2 to 1, the defender expends all their MP to absorb 25 damage and overflow causes the remaining 75 damage.

This could be a good way to further balance a reaction skill that is largely considered broken.
  • Modding version: Other/Unknown
¯\(°_0)/¯

Pickle Girl Fanboy

Quote from: Pride on February 17, 2012, 05:47:53 am
MP Switch Overflow damages HP
Any excess damage from MP Switch no longer goes to waste. It will damage the target's HP if there is any excess.
EX: Attacker deals 150 damage, Defender has 50 MP. The Defender would lose 50 MP (all of it) then receive 100 Damage.

battle.bin
0x001261B8

1980043C
982D848C
E8FFBD27
1000BFAF
90018384
2C008294
2C006010
00000000
2A004010
00000000
E134060C
00000000
26004014
00000000
1980023C
FCF5428C
00000000
21004014
00000000
1980023C
982D428C
00000000
90014394
94014494
00000000
21186400
940143A4
E8036428
02008014
E7030334
940143A4
2C004494
94014394
00000000
2A288300
0700A010
B1014590
23186400
900143A4
940144A4
A0000534
B10145A0
9F340608
00000000
7F00A530
B10145A0
900140A4
20000334
B10143A0
BD010334
0E0043A4
1000BF8F
1800BD27
0800E003
00000000


This will affect every patch on this site, for the better.

RavenOfRazgriz

February 17, 2012, 02:08:55 pm #139 Last Edit: February 17, 2012, 02:35:04 pm by RavenOfRazgriz
Quote from: Vanya on February 17, 2012, 01:55:48 pm
Oh, damn! Cheers, mate! That's a huge improvement.

Thinking on it, do you think you could mod this further or make another hack that takes a set amount of MP per 1 HP of damage absorbed. Something like this:

Attacker deals 100 damage, Defender has 50 MP. If absorption rate is set to 2 to 1, the defender expends all their MP to absorb 25 damage and overflow causes the remaining 75 damage.

This could be a good way to further balance a reaction skill that is largely considered broken.


That makes it worthless honestly, Vanya.

As it stands, I couldn't see myself using MP Switch with overflow because that by itself is largely worthless.  It basically means you block one hit.  You know what else helps you block one hit?  Abandon.  A Shield.  Etc.  It's like the crappy version of Protect/Shell as a Reaction ability as it stands with overflowing, I couldn't imagine making it worse.

EDIT: If anything, I'd want to be able to make 2 HP = 1 MP, or 3 HP = 2 MP, so if Pride were going to add that functionality, the only way I could see justifying it is if he made it XX HP = YY MP conversion.  Then it's at least total freedom to make MP Switch's exchange whatever you want.