Create a new effect in PBEffects:
XXX being the 1+ this list's highest number.
In PokeBattler_Battler initialize the effect right under "@effects[PBEffects::Yawn] = 0":
Code:
@effects[PBEffects::YourName] = false
In Move_Effects add this function:
Code:
#===============================================================================
# Applies a weakness to a battler. (Your Name)
#===============================================================================
class PokeBattle_Move_YYY < PokeBattle_Move
def pbAdditionalEffect(user,target)
target.effects[PBEffects::YourName] if !target.effects[PBEffects::YourName]
end
end
Change YYY to any unused hexadezimal number in your move functions.
Then go into Move_Usage_Calculations and add this above "# Mud Sport":
Code:
if target.effects[PBEffects::YourName] && isConst?(type,PBTypes,:NORMAL)
multipliers[BASE_DMG_MULT] = (multipliers[BASE_DMG_MULT]*1.5).round
end
If you assign this function code to a move it will increase the damage of any, it following Normal type attacks by 50%. This is just the basis, from here on out you can change any part of this yourself.