11 lines
338 B
GDScript
11 lines
338 B
GDScript
class_name TechnicianAbility
|
|
extends BattleEffect
|
|
|
|
#Technicien : capacites de puissance 60 ou moins x1.5
|
|
|
|
func _init() -> void:
|
|
id = &"technician"
|
|
|
|
func modify_outgoing_damage(_attacker : BattleMon, _defender : BattleMon, move : MoveData, damage : float) -> float:
|
|
return damage * 1.5 if move.power > 0 and move.power <= 60 else damage
|