2023-11-08 14:28:55 +11:00
|
|
|
extends Weapon
|
|
|
|
class_name ScopedWeapon
|
|
|
|
|
|
|
|
var scope_mask : Texture
|
|
|
|
|
|
|
|
|
|
|
|
func hold_second_trigger():
|
|
|
|
super.hold_second_trigger()
|
|
|
|
$CanvasLayer.set_visible(true)
|
2023-11-09 17:56:08 +11:00
|
|
|
hero.set_zoom_factor(3.0)
|
2023-11-08 14:28:55 +11:00
|
|
|
|
|
|
|
|
|
|
|
func release_second_trigger():
|
|
|
|
super.release_second_trigger()
|
|
|
|
$CanvasLayer.set_visible(false)
|