diff --git a/Crawler/Version.h b/Crawler/Version.h index a707c948..adc5e57f 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 913 +#define VERSION_BUILD 914 #define stringify(a) stringify_(a) #define stringify_(a) #a diff --git a/Crawler/Warrior.cpp b/Crawler/Warrior.cpp index 7764ff1e..cf418f75 100644 --- a/Crawler/Warrior.cpp +++ b/Crawler/Warrior.cpp @@ -42,9 +42,9 @@ bool Warrior::AutoAttack(){ closest=&m; } } - if(closest!=nullptr&&closest->Hurt(GetAttack(),OnUpperLevel())){ + if(closest!=nullptr&&closest->Hurt(GetAttack()*"Warrior.Auto Attack.DamageMult"_F,OnUpperLevel())){ attack_cooldown_timer=ATTACK_COOLDOWN; - swordSwingTimer=0.2; + swordSwingTimer="Warrior.Auto Attack.SwordSwingTime"_F; SetState(State::SWING_SWORD); switch(facingDirection){ case DOWN:{ diff --git a/Crawler/assets/config/classes/Warrior.txt b/Crawler/assets/config/classes/Warrior.txt index eb76785c..87dba103 100644 --- a/Crawler/assets/config/classes/Warrior.txt +++ b/Crawler/assets/config/classes/Warrior.txt @@ -7,6 +7,8 @@ Warrior DamageMult = 1 Range = 150 Cooldown = 0.35 + + SwordSwingTime = 0.2 } Right Click Ability { diff --git a/x64/Release Desktop/Crawler.exe b/x64/Release Desktop/Crawler.exe index d9e7b98b..964be80d 100644 Binary files a/x64/Release Desktop/Crawler.exe and b/x64/Release Desktop/Crawler.exe differ