This commit is contained in:
aozhiwei 2022-09-13 09:48:27 +08:00
parent 968af87045
commit 95600be400
2 changed files with 12 additions and 2 deletions

View File

@ -235,8 +235,8 @@ void InternalShot(Creature* c,
bullet_born_angle, bullet_born_angle,
c->GetAttackDir().x, c->GetAttackDir().x,
c->GetAttackDir().y, c->GetAttackDir().y,
(bullet_born_angle * A8_PI) / 3.14 *180, (bullet_born_angle * 180),
(bullet_born_angle * A8_PI - glm::radians(90.0f)) / 3.14 *180 (bullet_born_angle - glm::radians(90.0f) / A8_PI) * 180
}); });
} }
} }

View File

@ -488,6 +488,16 @@ namespace MetaData
a8::SetBitFlag(special_damage_type, n); a8::SetBitFlag(special_damage_type, n);
} }
} }
#ifdef DEBUG
{
gun_muzzle_position = std::make_shared<std::tuple<float, float, float>>
(
0.8,
3.1,
3.0
);
}
#endif
} }
void Equip::Init2() void Equip::Init2()