So I tried to code it's Beak Blast ; but I'm not sure if it'll work... can you guys check this out?
I have little knowledge of RGSS since I'm trying to learn since few days
I have little knowledge of RGSS since I'm trying to learn since few days
def pbTwoTurnAttack(attacker)
@immediate=false;
def pbEffect(attacker,opponent,hitnum=0,alltargets=nil,showanimation=true)
if @immediate || attacker.effects[PBEffects::TwoTurnAttack]>0
pbShowAnimation(@id,attacker,opponent,1,alltargets,showanimation) # Charging anim
@battle.pbDisplay(_INTL("{1} começou a esquentar!",attacker.pbThis))
end
def pbAdditionalEffect(attacker,opponent)
return if opponent.damagestate.substitute
if opponent.pbCanBurn?(attacker,false,self)
opponent.pbBurn(attacker)
end
return 0 if attacker.effects[PBEffects::TwoTurnAttack]>0
return super(attacker,opponent,hitnum,alltargets,showanimation)
end
end