From 10575436e1e074dbf016203f986d6b9a27dc8cb5 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Fri, 28 Jul 2023 04:46:43 -0500 Subject: [PATCH] Fix line break when temporarily debugging from earlier. --- Crawler/Version.h | 2 +- Crawler/Wizard.cpp | 18 +----------------- 2 files changed, 2 insertions(+), 18 deletions(-) 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 {