Class: MirageSkinEffect
- Namespace:
Global - Assembly:
Dew.Core.dll - Inheritance / Derived: DewNetworkBehaviour → Actor → AbilityInstance → StatusEffect
csharp
public class MirageSkinEffect : StatusEffect, ILogicUpdate, ICleanup, ICustomDestroyRoutine, IOtherPlayersTonedDownDisableFields
| Name | Declaration | Description |
|---|---|---|
allowWhenChanneling | `[BoxGroup("Mirage Skin Settings", true, false, 0)] | |
| [ShowIf("enableSpecialAttack", true)] | ||
| public bool allowWhenChanneling` | ||
breakStunDuration | `[BoxGroup("Mirage Skin Settings", true, false, 0)] | |
| public float breakStunDuration` | ||
customAmount | `[NonSerialized] | |
| public float? customAmount` | ||
enableSpecialAttack | `[BoxGroup("Mirage Skin Settings", true, false, 0)] | |
| public bool enableSpecialAttack` | ||
fxBreak | `[BoxGroup("Mirage Skin Settings", true, false, 0)] | |
| public GameObject fxBreak` | ||
fxDamage | `[BoxGroup("Mirage Skin Settings", true, false, 0)] | |
| public GameObject fxDamage` | ||
fxDamagedCooldown | `[BoxGroup("Mirage Skin Settings", true, false, 0)] | |
| public float fxDamagedCooldown` | ||
fxDamageOverTime | `[BoxGroup("Mirage Skin Settings", true, false, 0)] | |
| public GameObject fxDamageOverTime` | ||
maxHealthRatio | `[BoxGroup("Mirage Skin Settings", true, false, 0)] | |
| public float maxHealthRatio` | ||
nextSpecialAttackTime | `[NonSerialized] | |
| public float nextSpecialAttackTime` | ||
shieldMaxHealthRatio | `[BoxGroup("Mirage Skin Settings", true, false, 0)] | |
| public float shieldMaxHealthRatio` | ||
specialAttackInterval | `[BoxGroup("Mirage Skin Settings", true, false, 0)] | |
| [ShowIf("enableSpecialAttack", true)] | ||
| public Vector2 specialAttackInterval` | ||
tier | `[BoxGroup("Mirage Skin Settings", true, false, 0)] | |
| public int tier` |
Methods
ActiveLogicUpdate(float)
csharp
protected override void ActiveLogicUpdate(float dt)Parameters:
| Name | Type | Description |
|---|---|---|
dt | float |
OnCreate()
csharp
protected override void OnCreate()OnDealDamage(EventInfoDamage)
csharp
public virtual void OnDealDamage(EventInfoDamage obj)Parameters:
| Name | Type | Description |
|---|---|---|
obj | EventInfoDamage |
OnDestroyActor()
csharp
protected override void OnDestroyActor()OnSpecialAttack()
csharp
public virtual void OnSpecialAttack()