Fixed wands for real

This commit is contained in:
Logan 2020-07-19 18:43:58 -05:00
parent 09243dad4d
commit a1f807687a
4 changed files with 7 additions and 0 deletions

View file

@ -14,3 +14,5 @@ position = Vector2( -8.01086e-05, -22 )
rotation = -1.5708
[node name="ShootDelay" type="Timer" parent="."]
wait_time = 0.3
one_shot = true

View file

@ -4,6 +4,7 @@
[ext_resource path="res://magic/Wands/WandClass.gd" type="Script" id=2]
[node name="PrismWand" type="Sprite"]
position = Vector2( 4, 0 )
rotation = 1.5708
texture = ExtResource( 1 )
offset = Vector2( 0, -10 )
@ -14,3 +15,5 @@ position = Vector2( 0, -20 )
rotation = -1.5708
[node name="ShootDelay" type="Timer" parent="."]
wait_time = 0.3
one_shot = true

View file

@ -19,3 +19,4 @@ position = Vector2( -8.01086e-05, -22 )
position = Vector2( 4.99993, -20 )
[node name="ShootDelay" type="Timer" parent="."]
wait_time = 0.3

View file

@ -33,6 +33,7 @@ onready var Effect4 = $Inventory/Effects/Effect4
func _process(delta):
if Input.is_action_just_pressed("inventory"):
set_open(!open)
print(active_conduit)
func set_open(new):
if open != new: