Fix Warrior Auto attack damage multiplier config value not being adjustable.
This commit is contained in:
parent
13546015ce
commit
f1ddf94871
@ -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
|
||||
|
@ -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:{
|
||||
|
@ -7,6 +7,8 @@ Warrior
|
||||
DamageMult = 1
|
||||
Range = 150
|
||||
Cooldown = 0.35
|
||||
|
||||
SwordSwingTime = 0.2
|
||||
}
|
||||
Right Click Ability
|
||||
{
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user