Fix line break when temporarily debugging from earlier.

pull/28/head
sigonasr2 1 year ago
parent cacf169668
commit 10575436e1
  1. 2
      Crawler/Version.h
  2. 18
      Crawler/Wizard.cpp

@ -2,7 +2,7 @@
#define VERSION_MAJOR 0
#define VERSION_MINOR 2
#define VERSION_PATCH 0
#define VERSION_BUILD 906
#define VERSION_BUILD 907
#define stringify(a) stringify_(a)
#define stringify_(a) #a

@ -91,23 +91,7 @@ void Wizard::InitializeClassAbilities(){
p->teleportStartPosition=p->GetPos();
p->iframe_time="Wizard.Right Click Ability.IframeTime"_F;
for(int i=0;i<"Wizard.Right Click Ability.ParticleCount"_I;i++){
game->AddEffect(
std::make_unique<Effect>(
p->GetPos()+
vf2d{(util::random("Wizard.Right Click Ability.ParticleRange"_F/100*2)-
"Wizard.Right Click Ability.ParticleRange"_F/100)*12
,(util::random("Wizard.Right Click Ability.ParticleRange"_F/100*2)-
"Wizard.Right Click Ability.ParticleRange"_F/100)*12},
util::random("Wizard.Right Click Ability.ParticleLifetimeMax"_F)+
"Wizard.Right Click Ability.ParticleLifetimeMin"_F,
AnimationState::DOT_PARTICLE,p->upperLevel,
"Wizard.Right Click Ability.ParticleSize"_F,
"Wizard.Right Click Ability.ParticleFadetime"_F,
vf2d{util::random("Wizard.Right Click Ability.ParticleSpeedMax"_F*2)+
"Wizard.Right Click Ability.ParticleSpeedMin"_F,
util::random("Wizard.Right Click Ability.ParticleSpeedMax"_F*2)+
"Wizard.Right Click Ability.ParticleSpeedMin"_F},
"Wizard.Right Click Ability.ParticleColor"_Pixel));
game->AddEffect(std::make_unique<Effect>(p->GetPos()+vf2d{(util::random("Wizard.Right Click Ability.ParticleRange"_F/100*2)-"Wizard.Right Click Ability.ParticleRange"_F/100)*12,(util::random("Wizard.Right Click Ability.ParticleRange"_F/100*2)-"Wizard.Right Click Ability.ParticleRange"_F/100)*12},util::random("Wizard.Right Click Ability.ParticleLifetimeMax"_F)+"Wizard.Right Click Ability.ParticleLifetimeMin"_F,AnimationState::DOT_PARTICLE,p->upperLevel,"Wizard.Right Click Ability.ParticleSize"_F,"Wizard.Right Click Ability.ParticleFadetime"_F,vf2d{util::random("Wizard.Right Click Ability.ParticleSpeedMax"_F*2)+"Wizard.Right Click Ability.ParticleSpeedMin"_F,util::random("Wizard.Right Click Ability.ParticleSpeedMax"_F*2)+"Wizard.Right Click Ability.ParticleSpeedMin"_F},"Wizard.Right Click Ability.ParticleColor"_Pixel));
}
return true;
} else {

Loading…
Cancel
Save