No CS:DE quando tu usas uma habilidade se o NPC morrer por causa dela, a animation pára logo ali. Para mudar isso só tem que mudar no Sub PlayerAttackNpc:
Isto:
Por isto:
Isto:
- Código:
' send animation
If n > 0 Then
If Not overTime Then
If spellNum = 0 Then
Call SendAnimation(mapNum, Item(GetPlayerEquipment(attacker, Weapon)).Animation, MapNpc(mapNum).Npc(mapNpcNum).x, MapNpc(mapNum).Npc(mapNpcNum).y)
Else
Call SendAnimation(mapNum, Spell(spellNum).SpellAnim, MapNpc(mapNum).Npc(mapNpcNum).x, MapNpc(mapNum).Npc(mapNpcNum).y)
End If
End If
End If
Por isto:
- Código:
' send animation
If n > 0 Then
If Not overTime Then
If spellNum = 0 Then
Call SendAnimation(mapNum, Item(GetPlayerEquipment(attacker, Weapon)).Animation, MapNpc(mapNum).Npc(mapNpcNum).x, MapNpc(mapNum).Npc(mapNpcNum).y)
Else
Call SendAnimation(mapNum, Spell(spellNum).SpellAnim, MapNpc(mapNum).Npc(mapNpcNum).x, MapNpc(mapNum).Npc(mapNpcNum).y)
End If
End If
Else
If spellNum = 0 Then
Call SendAnimation(mapNum, Item(GetPlayerEquipment(attacker, Weapon)).Animation, MapNpc(mapNum).Npc(mapNpcNum).x, MapNpc(mapNum).Npc(mapNpcNum).y)
Else
Call SendAnimation(mapNum, Spell(spellNum).SpellAnim, MapNpc(mapNum).Npc(mapNpcNum).x, MapNpc(mapNum).Npc(mapNpcNum).y)
End If
End If