24 lines
850 B
C#
24 lines
850 B
C#
using Photon.Pun;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Template_RuntimeInstance
|
|
{
|
|
public class AbilityExecutionContext
|
|
{
|
|
public PhotonView User { get; set; }
|
|
public Taggable UserTag { get; set; }
|
|
public Vector3 TargetPosition { get; set; }
|
|
public Taggable TargetTag { get; set; }
|
|
public float Cooldown { get; set; }
|
|
public float ManaCost { get; set; }
|
|
public float HealthCost { get; set; }
|
|
public float ClassResourceCost { get; set; }
|
|
public List<BaseEffect> Effects { get; set; }
|
|
public List<IAbilityModifier> Modifiers { get; set; }
|
|
public BaseAbility AbilityTemplate { get; set; }
|
|
public AbilityInstance AbilityInstance { get; set; }
|
|
// Add any other relevant execution data
|
|
}
|
|
} |