Added decent remix system
This commit is contained in:
BIN
Scripts/Features/HeavyRounds/HeavyRounds_icon.png
Normal file
BIN
Scripts/Features/HeavyRounds/HeavyRounds_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 816 B |
34
Scripts/Features/HeavyRounds/HeavyRounds_icon.png.import
Normal file
34
Scripts/Features/HeavyRounds/HeavyRounds_icon.png.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dykfm5ad0mxfw"
|
||||
path="res://.godot/imported/HeavyRounds_icon.png-ce2bc40148089de1cb95a58f0513c8cb.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scripts/Features/HeavyRounds/HeavyRounds_icon.png"
|
||||
dest_files=["res://.godot/imported/HeavyRounds_icon.png-ce2bc40148089de1cb95a58f0513c8cb.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
10
Scripts/Features/HeavyRounds/heavy_rounds.gd
Normal file
10
Scripts/Features/HeavyRounds/heavy_rounds.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
class_name HeavyRoundsFeature
|
||||
extends Feature
|
||||
|
||||
|
||||
func attach_to_tower(tower_stats: CardText) -> void:
|
||||
tower_stats.set_attribute("Damage", tower_stats.get_attribute("Damage") * (1.0 + (strength / 100.0)))
|
||||
|
||||
|
||||
func attach_to_weapon(weapon_stats: CardText) -> void:
|
||||
weapon_stats.set_attribute("Damage", weapon_stats.get_attribute("Damage") * (1.0 + (strength / 100.0)))
|
||||
1
Scripts/Features/HeavyRounds/heavy_rounds.gd.uid
Normal file
1
Scripts/Features/HeavyRounds/heavy_rounds.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://uabrepvb5cur
|
||||
12
Scripts/Features/HeavyRounds/heavy_rounds_feature.tres
Normal file
12
Scripts/Features/HeavyRounds/heavy_rounds_feature.tres
Normal file
@@ -0,0 +1,12 @@
|
||||
[gd_resource type="Resource" script_class="HeavyRoundsFeature" load_steps=3 format=3 uid="uid://dfup264h2pun7"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dykfm5ad0mxfw" path="res://Scripts/Features/HeavyRounds/HeavyRounds_icon.png" id="1_drp05"]
|
||||
[ext_resource type="Script" uid="uid://uabrepvb5cur" path="res://Scripts/Features/HeavyRounds/heavy_rounds.gd" id="1_hyapt"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_hyapt")
|
||||
display_name = "FEATURE_NAME_HEAVY_ROUNDS"
|
||||
description = "FEATURE_DESC_HEAVY_ROUNDS"
|
||||
icon = ExtResource("1_drp05")
|
||||
strength = 15.0
|
||||
metadata/_custom_type_script = "uid://uabrepvb5cur"
|
||||
Reference in New Issue
Block a user