Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void AI()
- {
- projectile.AI(true);
- Lighting.AddLight(
- (int)(projectile.position.X/16),
- (int)(projectile.position.Y/16),
- 0.7f, //red
- 0.3f, //green
- 0.2f //blue
- );
- Dust.NewDust(
- projectile.position,
- projectile.width,
- projectile.height,
- 6, //fire dust type
- 0, // velocity X
- 0, //velocity Y
- 0, //alpha (transparency , 0 is fully opaque and 255 is invisible)
- 2f //scale , 1 being the original size which is tiny.
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement