Would the else look like this? (Base power is 60)
def pbEffect(attacker,opponent,hitnum=0,alltargets=nil,showanimation=true)
if opponent.hp<=opponent.totalhp/2
damage=pbEffectFixedDamage(opponent.totalhp,attacker,opponent,hitnum,alltargets,showanimation)
if opponent.fainted...