23 lines
642 B
C#
23 lines
642 B
C#
using Photon.Pun;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Template_RuntimeInstance
|
|
{
|
|
[CreateAssetMenu(fileName = "New Slash Ability", menuName = "RiftMayhem/Abilities/Slash Ability")]
|
|
public class SlashAbilityTemplate : BaseAbility
|
|
{
|
|
public GameObject slashPrefab;
|
|
public float range;
|
|
public bool regenHealthOnHit;
|
|
public bool regenManaOnHit;
|
|
public float healthOnHit;
|
|
public float manaOnHit;
|
|
|
|
public override IAbilityProperties CreateProperties()
|
|
{
|
|
return new SlashAbilityProperties();
|
|
}
|
|
}
|
|
} |