News:

Happy 20th, FFvT3R!

Main Menu

Graviton

Started by DoctorRuina, December 29, 2024, 08:33:08 AM

Previous topic - Next topic

DoctorRuina

I have problems with the Graviton hero file. When use gravityincrease It doesn't hurt characters with invulnerability like Count Nefaria or the Tick. I've tried to mod the ffx but I haven't been able to do it. Can anyone help me with this?

mac402

If you're still struggling with this try to edit ffx.py like that:

under def updateStates(event)
find this line:

            #gravitied characters
            str=Object_GetAttr(char,'strength')
            if str<0:
                FFX_ApplyDamage(char,-str)

and change to:

            #gravitied characters
            str=Object_GetAttr(char,'strength')
            if str<0:
                FFX_ApplyDamage(char,(-str+FFX_ObjectGetAttr(char,'invPoints')))

I haven't tested this solution but it should make gravityincrease bypass invulnerability.