Fix Warrior Auto attack damage multiplier config value not being adjustable.

This commit is contained in:
2023-07-28 18:10:55 -05:00
parent 694cb310f2
commit 8e46d7698e
4 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -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:{