summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/BigRock.c
blob: 35a309443fad67d0229b4947eaf08fed08856354 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*-- Prevent rock strike from hitting allies --*/
/*-- And some hyper deflection stuff --*/
#appendto BIRK
#strict 2

func QueryOwnCatchBlow(object target)
{
	return !Hostile(GetOwner(), target->GetOwner());
}

func HyperDeflection(int newAngle, int newSpeed, object by)
{
	SetOwner(GetOwner(by));
}

func HyperDeflectionIgnore(object by)
{
	return !Hostile(GetOwner(), GetOwner(by));
}