Advertisement
jamieTheCoder

poisonEffect

Jan 1st, 2023 (edited)
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.65 KB | Software | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class PoisonEffect : EffectBase
  6. {
  7.     [SerializeField] float hitCooldown;
  8.     [SerializeField] EffectType type;
  9.     [SerializeField] int currentStacks,maxStacks,minStacks;
  10.     public PoisonEffect(EffectType type,float hitCooldown,float Damage,int currentStacks,int maxStacks,int minStacks) {
  11.         this.type = type;
  12.         this.hitCooldown = hitCooldown;
  13.         this.Damage = Damage;
  14.         this.currentStacks = currentStacks;
  15.         this.maxStacks = maxStacks;
  16.         this.minStacks = minStacks;
  17.     }
  18.    public new void ApplyEffect() {
  19.  
  20.     }
  21. }
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement