public override void potionEffect(MyCharacterController user, MyCharacterController target) { target.damaged(new FixDamage(user,target,BasisParameter.EffectPoint,new ItemDamaged(this, target as PlayerController))); target.registerBuffs(new Poison(target, 1),new SpeedDown(target,10)); }
public override MyCharacterController trapEffectForPlayer(MyCharacterController target) { StatusBuffBasis[] rust = { new Rust(target, typeof(WeaponBasis), EffectAmount), new Rust(target, typeof(ShieldBasis), EffectAmount) }; target.registerBuffs(rust); return target; }