Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
ProjectileAttackment.cs
浏览该文件的文档.
1using Engine;
3
4namespace Game {
7
8 public ProjectileAttackment(Entity target, Entity attacker, Vector3 hitPoint, Vector3 hitDirection, float attackPower, Projectile projectile)
9 : base(target, attacker, hitPoint, hitDirection, attackPower) {
10 Projectile = projectile;
11 ImpulseFactor = 2f;
12 StunTimeSet = 0.2f;
14 }
15
17 Entity attacker,
18 Vector3 hitPoint,
19 Vector3 hitDirection,
20 float attackPower,
21 Projectile projectile) : this(target.Entity, attacker, hitPoint, hitDirection, attackPower, projectile) { }
22 }
23}
bool AllowImpulseAndStunWhenDamageIsZero
Attackment(Entity target, Entity attacker, Vector3 hitPoint, Vector3 hitDirection, float attackPower)
ProjectileAttackment(ComponentBody target, Entity attacker, Vector3 hitPoint, Vector3 hitDirection, float attackPower, Projectile projectile)
ProjectileAttackment(Entity target, Entity attacker, Vector3 hitPoint, Vector3 hitDirection, float attackPower, Projectile projectile)