Pre Forbidden Oathblade tech
This commit is contained in:
1 parent
258de8682d
commit
98bb6860a9
2 files changed
+14
-2
No files matched your search
@@ -898,8 +898,8 @@ OldLordClaymore: {
|
||||
DisplayName: Old Lord Claymore
|
||||
Tooltip:
|
||||
'''
|
||||
Swings a slow powerful sword that sets enemies ablaze and greatly knocks them back
|
||||
[c/df4420:'My ultra for fuuuuu YEAAAAAAAAAAAAAAA And my father sucks rmembamebamema that one whfngmssjjamhrhrh]
|
||||
Swings a slow powerful sword that sets enemies ablaze and greatly knocks them back
|
||||
[c/df4420:'My ultra for fuuuuu YEAAAAAAAAAAAAAAA And my father sucks rmembamebamema that one whfngmssjjamhrhrh]
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
@@ -210,6 +210,18 @@ namespace CalamityMod.Projectiles.Melee
|
||||
dust2.color = Main.rand.NextBool() ? Color.Orange : Color.OrangeRed;
|
||||
}
|
||||
|
||||
|
||||
float bladeValue = -1;
|
||||
for (int x = 0; x < Main.maxProjectiles; x++)
|
||||
{
|
||||
Projectile projectile = Main.projectile[x];
|
||||
if (projectile.owner == Projectile.owner && projectile.type == ModContent.ProjectileType<BladecrestOathswordThrownBlade>() && projectile.ai[2] == target.whoAmI)
|
||||
{
|
||||
projectile.localAI[0] = 5;
|
||||
projectile.velocity = (Vector2.Lerp(projectile.velocity, launchVel * 14, 0.7f) * 1.2f).RotatedByRandom(0.1f);
|
||||
}
|
||||
}
|
||||
|
||||
if (Projectile.numHits == 0)
|
||||
{
|
||||
Owner.Calamity().GeneralScreenShakePower = 5f;
|
||||
|
||||
Reference in new issue
Block a user