diff --git a/Crawler/Version.h b/Crawler/Version.h index 48d5781a..9b243c03 100644 --- a/Crawler/Version.h +++ b/Crawler/Version.h @@ -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 diff --git a/Crawler/Wizard.cpp b/Crawler/Wizard.cpp index a8fc5da6..ef4fc71f 100644 --- a/Crawler/Wizard.cpp +++ b/Crawler/Wizard.cpp @@ -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( - 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(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 {