Jump to content

Neuroforce [Small Error]


BluePen

Recommended Posts

In PokeBattle_Move, there is this code.



if (attacker.hasWorkingItem(:EXPERTBELT) || attacker.hasWorkingAbility(:NEUROFORCE))  &&
       opponent.damagestate.typemod>4
      finaldamagemult=(finaldamagemult*1.2).round
    end

However, Neuroforce does not boost moves by 20%. According to Bulbapedia, it's 25%.

 

In PokeBattle_ZMoves, I didn't find the ability. Therefore, it must have been forgotten. Theoretically, Neuroforce should boost a Z-Move that is effective against an opposing Pkm.

 

In PokeBattle_AI, I didn't find the ability as well. For consistency, I'd suggest to include this code after Stakeout.



# Neuroforce
    if skill>=PBTrainerAI.mediumSkill
      if attacker.hasWorkingAbility(:NEUROFORCE) && typemod>4
        damage=(damage*1.25).round
      end 
    end

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...