master
parent
f2da71a003
commit
7ad8f6ee3c
@ -1,20 +1,22 @@
|
||||
[gd_resource type="Resource" script_class="CharacterCfg" load_steps=6 format=3 uid="uid://bjvrih37ni5nx"]
|
||||
[gd_resource type="Resource" script_class="CharacterCfg" load_steps=7 format=3 uid="uid://bjvrih37ni5nx"]
|
||||
|
||||
[ext_resource type="Script" path="res://script/config/character_cfg.gd" id="1_2054l"]
|
||||
[ext_resource type="Resource" uid="uid://dx54fjf5t0uu8" path="res://config/character_move/normal.tres" id="1_ebj0w"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://cwe8setoi6bd" path="res://resource/animation/character/hero01_move.aseprite" id="2_cssb0"]
|
||||
[ext_resource type="Resource" uid="uid://815to6lq2qfs" path="res://config/character_mp/player.tres" id="2_wo8op"]
|
||||
[ext_resource type="Resource" uid="uid://dlaekoamystx3" path="res://config/character_shield/normal.tres" id="3_5l0vx"]
|
||||
[ext_resource type="Resource" uid="uid://cac6mk6g078vn" path="res://config/character_stun/normal.tres" id="5_kn3ip"]
|
||||
[ext_resource type="Resource" uid="uid://cac6mk6g078vn" path="res://config/character_stun/normal.tres" id="6_i7bnp"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_2054l")
|
||||
name = "hero01"
|
||||
type = 0
|
||||
type = null
|
||||
sprite_frames = ExtResource("2_cssb0")
|
||||
sprite_harf_height = 26
|
||||
sprite_width = 16
|
||||
move = ExtResource("1_ebj0w")
|
||||
shield = ExtResource("3_5l0vx")
|
||||
stun = ExtResource("5_kn3ip")
|
||||
stun = ExtResource("6_i7bnp")
|
||||
mp = ExtResource("2_wo8op")
|
||||
hp_max = 100.0
|
||||
attack = 10.0
|
||||
|
||||
@ -0,0 +1,12 @@
|
||||
[gd_resource type="Resource" script_class="MpCfg" load_steps=2 format=3 uid="uid://dpajmgrlaytah"]
|
||||
|
||||
[ext_resource type="Script" path="res://script/config/mp_cfg.gd" id="1_sfq22"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_sfq22")
|
||||
mp_max = 5
|
||||
mp_sub_max = 100.0
|
||||
recover_speed = 10.0
|
||||
recover_cd = 2.0
|
||||
add_rate_attack = 1.0
|
||||
add_rate_hit = 1.0
|
||||
@ -0,0 +1,12 @@
|
||||
[gd_resource type="Resource" script_class="MpCfg" load_steps=2 format=3 uid="uid://815to6lq2qfs"]
|
||||
|
||||
[ext_resource type="Script" path="res://script/config/mp_cfg.gd" id="1_1adyr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_1adyr")
|
||||
mp_max = 5
|
||||
mp_sub_max = 100.0
|
||||
recover_speed = -10.0
|
||||
recover_cd = 2.0
|
||||
add_rate_attack = 1.0
|
||||
add_rate_hit = 1.0
|
||||
@ -0,0 +1,10 @@
|
||||
extends Resource
|
||||
|
||||
class_name MpCfg
|
||||
|
||||
@export var mp_max : int = 5 #mp最大值
|
||||
@export var mp_sub_max : float = 100 #次级mp最大值
|
||||
@export var recover_speed : float = 10 #次级mp恢复速度
|
||||
@export var recover_cd : float = 2 #次级mp恢复延迟
|
||||
@export var add_rate_attack : float = 1 #次级mp攻击时增加系数
|
||||
@export var add_rate_hit : float = 1 #次级mp受击时增加系数
|
||||
Loading…
Reference in New Issue