void |
ProcessTouch(Actor Other, Vector HitLocation)
{
local vector EnemyDir;
if ( (Instigator != None) && (Instigator.Enemy != None) )
{
EnemyDir = Normal(Instigator.Enemy.Location - Location);
if ( (EnemyDir Dot OriginalDirection) > 0 )
{
Velocity = speed * Normal(EnemyDir * speed * (0.25 + instigator.skill * 0.1) + Velocity);
SetRotation(Rotator(Velocity));
}
}
}
*/ |