Fix Warrior Auto attack damage multiplier config value not being adjustable.
This commit is contained in:
+2
-2
@@ -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:{
|
||||
|
||||
Reference in New Issue
Block a user