mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 00:38:18 +00:00
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:
@@ -10,7 +10,7 @@ on :message, :npc_action do |player, message|
|
||||
# target.start_action CombatAction.new(target)
|
||||
# end
|
||||
|
||||
player_combat_state = get_combat_state player
|
||||
player_combat_state = player.get_combat_state
|
||||
player_combat_state.target = target
|
||||
|
||||
player.send HintIconMessage.for_npc(target.index)
|
||||
|
||||
Reference in New Issue
Block a user