Fix combat not working after logout; Fix DDS hits

* Removes the use of the MOB_STATE_CACHE and instead monkey patches a
  get_combat_state method onto Mob.
This commit is contained in:
Gary Tierney
2016-01-03 23:31:34 +00:00
parent 3082fade1d
commit 9f47fae6a9
5 changed files with 17 additions and 22 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ class CombatAction < Action
mob.attacking = true
@combat_state = get_combat_state(source)
@combat_state = source.get_combat_state
@attack_timer = 100
@once = once
end