Property | Type | Description | |
---|---|---|---|
BaseDamage | int | ||
DOT | int | ||
Force | float | ||
ProjectileSprite | string | ||
caster | GameObject | ||
counter | int | ||
impactFrameEnd | int | ||
impactFrameStart | int | ||
noOfCasts | int | ||
playerUW | UWCharacter, | ||
spread | float |
Method | Description | |
---|---|---|
init ( int effectId, GameObject SpellCaster ) : void |
Init the specified effectId.
|
|
onHit ( ObjectInteraction, objInt ) : void |
Actions to take when the projectile hits a specific object.
|
|
onHitPlayer ( ) : void |
Special code to fire when the projectile hits the player.
|
|
onImpact ( Transform tf ) : void |
Code to run when it hits anything. eg for explosions
|
|
onImpactPlayer ( ) : void |
Special code for when the player trips this spell. Used in rune traps (UW2)
|
public init ( int effectId, GameObject SpellCaster ) : void | ||
effectId | int | Effect identifier. |
SpellCaster | GameObject | |
return | void |
public onHit ( ObjectInteraction, objInt ) : void | ||
objInt | ObjectInteraction, | Object Interaction of what it hits, |
return | void |
public onImpact ( Transform tf ) : void | ||
tf | Transform | The transform of the gameobject it hits |
return | void |