Graphics configuration file and initial configuration layout setup.
This commit is contained in:
@@ -76,6 +76,7 @@ void Ranger::InitializeClassAbilities(){
|
||||
vf2d arrowVelocity=util::pointTo(p->GetPos(),game->GetWorldMousePos());
|
||||
BULLET_LIST.push_back(std::make_unique<ChargedArrow>(p->GetPos(),arrowVelocity*600,20,p->GetAttack()*2.5,p->OnUpperLevel(),true));
|
||||
p->SetAnimationBasedOnTargetingDirection(atan2(arrowVelocity.y,arrowVelocity.x));
|
||||
game->SetupWorldShake(0.3);
|
||||
return true;
|
||||
};
|
||||
#pragma endregion
|
||||
|
||||
Reference in New Issue
Block a user