狗屎Minimax坏我代码
This commit is contained in:
@@ -47,6 +47,9 @@ namespace Cielonos.MainGame.Characters.Inventory
|
||||
public BreakthroughType breakthroughType = BreakthroughType.Weak;
|
||||
public DisruptionType disruptionType = DisruptionType.NormalExternal;
|
||||
|
||||
[Title("Tags")]
|
||||
public List<string> tags = new List<string>();
|
||||
|
||||
[Title("Hit VFX")]
|
||||
public bool useVFXDataHit;
|
||||
[HideIf("useVFXDataHit")]
|
||||
@@ -69,7 +72,7 @@ namespace Cielonos.MainGame.Characters.Inventory
|
||||
{
|
||||
bool isCritical = Random.value < GetFinalCriticalChance();
|
||||
float finalDamage = isCritical ? GetFinalCriticalDamage() : GetFinalRegularDamage();
|
||||
return new AttackValue(attacker, isCritical, finalDamage, attackType, disruptionType, breakthroughType);
|
||||
return new AttackValue(attacker, isCritical, finalDamage, attackType, disruptionType, breakthroughType, tags);
|
||||
}
|
||||
|
||||
public GameObject GetHitVFX()
|
||||
|
||||
Reference in New Issue
Block a user