NPC.ExecuteMagicAttack C# (CSharp) 메소드

ExecuteMagicAttack() 공개 메소드

NPC casts a spell.
public ExecuteMagicAttack ( ) : void
리턴 void
    public void ExecuteMagicAttack()
    {
        UWCharacter.Instance.PlayerMagic.CastEnchantmentImmediate(NPC_Launcher,gtarg,SpellIndex,Magic.SpellRule_TargetVector);
    }

Usage Example

예제 #1
0
    public override ActionResult Execute(RAIN.Core.AI ai)
    {
        NPC npc = ai.Body.GetComponent <NPC>();

        npc.ExecuteMagicAttack();

        return(ActionResult.SUCCESS);
    }