Table of Contents

Class CurseOfMonsterSpawn

Namespace
DefaultNamespace.Artifacts
Assembly
Assembly-CSharp.dll
public class CurseOfMonsterSpawn : MonoBehaviour, IArtifactCurse
Inheritance
CurseOfMonsterSpawn
Implements
Inherited Members
Extension Methods

Constructors

CurseOfMonsterSpawn()

public CurseOfMonsterSpawn()

Fields

budgetCost

[SerializeField]
public float budgetCost

Field Value

float

cursedPlayer

public Player cursedPlayer

Field Value

Player

itemSource

public ItemInstanceBehaviour itemSource

Field Value

ItemInstanceBehaviour

nrOfMonstersToSpawn

[FormerlySerializedAs("numberOfZombies")]
public int nrOfMonstersToSpawn

Field Value

int

rarity

[SerializeField]
public float rarity

Field Value

float

view_g

public PhotonView view_g

Field Value

PhotonView

zombiePrefab

public GameObject zombiePrefab

Field Value

GameObject

Properties

BudgetCost

public float BudgetCost { get; }

Property Value

float

Rarity

public float Rarity { get; }

Property Value

float

Methods

Awake()

public void Awake()

CastCurse(ItemInstanceBehaviour, Player)

public void CastCurse(ItemInstanceBehaviour cursedItem, Player playerHoldingItem)

Parameters

cursedItem ItemInstanceBehaviour
playerHoldingItem Player

RPCA_AttachToPlayer(int)

[PunRPC]
public void RPCA_AttachToPlayer(int playerid)

Parameters

playerid int

RPCS_SpawnMonsters(Vector3)

[PunRPC]
public void RPCS_SpawnMonsters(Vector3 position)

Parameters

position Vector3