Npc Stun Player

Requisites

NPC Spells v.2.0.0 for [EO]

http://www.eclipseorigins.com/community/index.php?/topic/106297-eo-npc-spells-v200/

Let´s Do It, in two steps!

Server Side
, all in Sub NpcSpellPlayer

Step one!

Above


NpcAttackPlayer mapNpcNum, i, Damage

Paste


If Spell(SpellNum).StunDuration > 0 Then
StunPlayer victim, SpellNum
End If

Step two!

Above


NpcAttackPlayer mapNpcNum, victim, Damage

Paste


If Spell(SpellNum).StunDuration > 0 Then
StunPlayer victim, SpellNum
End If

Nice improvement. Congratulations.

Npc spells (tutorial) doesnt support if your spell is stunning and if npc uses it, then player can be stuned by npc?

Log in to reply