Abilities: - area of effect ability with impact event/chain reaction type added - melee slash timing bugfix - melee slash VFX added - blizzard (second mage ability) added - holy circle (ultimate priest ability) added - consecration (ultimate knight ability) added - whirling axes (second barbarian ability) added - glacial bomb (ultimate mage ability) added - ice shard (first mage ability) added Others: - aoe location snapshot on cast mechanic added - reduced realtime shadows on rifthunters inn
18 lines
554 B
C#
18 lines
554 B
C#
using Photon.Pun;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class NetworkAbilityChainReaction : MonoBehaviour
|
|
{
|
|
public BaseAbility ability;
|
|
public GameObject abilityPrefabName;
|
|
protected GameObject spawnedChainReaction;
|
|
|
|
public virtual void ExecuteAbilityChainReaction(PhotonView owner, Taggable ownerTag)
|
|
{
|
|
if (owner.IsMine)
|
|
spawnedChainReaction = PhotonNetwork.Instantiate("Abilities/" + abilityPrefabName.name, this.transform.position, Quaternion.identity);
|
|
}
|
|
}
|