Phase 1: 复合属性修饰器管线与伤害结算系统
This commit is contained in:
@@ -8,13 +8,11 @@ namespace SepCore.Components
|
||||
private Player _player;
|
||||
private Transform _target;
|
||||
|
||||
private float AbsorbRangeBase => GameEntry.Luban.Global.DefaultAbsorbRange / 1000f;
|
||||
private float AbsorbSpeed => GameEntry.Luban.Global.AbsorbSpeed / 1000f;
|
||||
private float CollectDistance => GameEntry.Luban.Global.CollectDistance / 1000f;
|
||||
public float AbsorbRange => GameEntry.Luban.Global.DefaultAbsorbRange;
|
||||
public float AbsorbSpeed => GameEntry.Luban.Global.AbsorbSpeed;
|
||||
public float CollectDistance => GameEntry.Luban.Global.CollectDistance;
|
||||
|
||||
private float AbsorbRange => AbsorbRangeBase;
|
||||
|
||||
public void OnInit(Player player, StatComponent statComponent)
|
||||
public void OnInit(Player player)
|
||||
{
|
||||
_player = player;
|
||||
_target = player.CachedTransform;
|
||||
|
||||
Reference in New Issue
Block a user