Change NPCs to have their attack delay set in DB

This gives us a much more straight forward way of setting mob
attack delay with respect to live.

The attack_delay column is in 10ths of seconds, just like weapons are
The attack_speed is left for references for now.
This commit is contained in:
Michael Cook (mackal)
2014-09-09 22:42:54 -04:00
parent fa1e33783a
commit ed4e762f03
7 changed files with 14 additions and 5 deletions
+3 -2
View File
@@ -174,8 +174,9 @@ Mob::Mob(const char* in_name,
drakkin_heritage = in_drakkin_heritage;
drakkin_tattoo = in_drakkin_tattoo;
drakkin_details = in_drakkin_details;
attack_speed= 0;
slow_mitigation= 0;
attack_speed = 0;
attack_delay = 0;
slow_mitigation = 0;
findable = false;
trackable = true;
has_shieldequiped = false;