Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Microsoft.Xna.Framework;
- using Terraria;
- using Terraria.ID;
- using Terraria.ModLoader;
- namespace Champion.Projectiles
- {
- public class StoneBoulder : ModProjectile
- {
- public override void SetStaticDefaults() {
- DisplayName.SetDefault("StoneBoulder");
- }
- public override void SetDefaults() {
- projectile.CloneDefaults(ProjectileID.Boulder);
- projectile.hostile = false;
- projectile.timeLeft = 3600;
- }
- public override bool OnTileCollide(Vector2 oldVelocity) {
- projectile.velocity *= .95f;
- return false;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement