Enable HP/MP/FP Regen while fighting

Results 1 to 4 of 4
  1. #1
    Member kloklojul is offline
    MemberRank
    Sep 2008 Join Date
    83Posts

    Enable HP/MP/FP Regen while fighting

    I've seen it somewhere but i can't find it anymore. The search also doesn't help. Anyone knows how to make the HP FP and MP regen even if you are fighting?


  2. #2
    Member kloklojul is offline
    MemberRank
    Sep 2008 Join Date
    83Posts

    Re: Enable HP/MP/FP Regen while fighting

    Quote Originally Posted by kloklojul View Post
    I've seen it somewhere but i can't find it anymore. The search also doesn't help. Anyone knows how to make the HP FP and MP regen even if you are fighting?
    Ok found it myself. If someone is interessted:

    in Mover.cpp::ProcessRecovery() at the end of the function change if(sInAttackerMode()) to if(TRUE)

  3. #3
    Enthusiast Sand is offline
    MemberRank
    Sep 2021 Join Date
    SandLocation
    34Posts

    Re: Enable HP/MP/FP Regen while fighting

    Quote Originally Posted by kloklojul View Post
    Ok found it myself. If someone is interessted:

    in Mover.cpp::ProcessRecovery() at the end of the function change if(sInAttackerMode()) to if(TRUE)
    Remove the block and the if check. if (true) will always happens so its a useless if statement.
    My suggestion is change the formula around for attacking and not attacking. recovery in flyff is pretty terrible.

  4. #4
    Member kloklojul is offline
    MemberRank
    Sep 2008 Join Date
    83Posts

    Re: Enable HP/MP/FP Regen while fighting

    Quote Originally Posted by Sand View Post
    Remove the block and the if check. if (true) will always happens so its a useless if statement.
    My suggestion is change the formula around for attacking and not attacking. recovery in flyff is pretty terrible.
    Thats the point. It's a placeholder incase someone want's to add their own conditions for when they want the player to recover stats.



Advertisement