Class HealthMeteoriteAllEffect
The projectile spawns above the target and moves in straight line until it reaches the target.
Inherited Members
Namespace: AutoBattleFramework.Skills
Assembly: cs.temp.dll.dll
Syntax
public class HealthMeteoriteAllEffect : RangedEffect
Fields
healColor
Declaration
public Color healColor
Field Value
Type | Description |
---|---|
Color |
HealthHealed
Percentage of life that each meteorite heals.
Declaration
public float HealthHealed
Field Value
Type | Description |
---|---|
Single |
Methods
Attack(GameCharacter, Transform)
On attack method. Spawn a Projectile.
Declaration
public override void Attack(GameCharacter ai, Transform shootingPoint)
Parameters
Type | Name | Description |
---|---|---|
GameCharacter | ai | Attacking GameCharacter |
Transform | shootingPoint | The transform from which the projectile will be launched. |
Overrides
OnHit(GameCharacter)
Calls BasicAttackDamage(BattleFormulas.DamageType, GameCharacter, GameCharacter) when the projectile hits the target.
Declaration
public override void OnHit(GameCharacter target)
Parameters
Type | Name | Description |
---|---|---|
GameCharacter | target |
Overrides
SpawnProjectile()
Instantiate all Projectiles and sets its properties.
Declaration
protected override Projectile SpawnProjectile()
Returns
Type | Description |
---|---|
Projectile | The Instantiated projectile |