// Use this for initialization void Start() { bdh = GameObject.FindGameObjectWithTag("Player").GetComponent<BuffDebuffHandler>(); if (bdh.CheckBuff(Title)) { notstacking = true; Destroy(gameObject); } else { bdh.ApplyBuff(Title, Description, Icon, health, stambonus, healthregenbonus, stamregenbonus, equiploadbonus, maxequiploadbonus, runspeedbonus, poisresistbonus, ssresistbonus, tenacitybonus, swiftnessbonus, ter, lur, sor, chres, lires, inres, deres, spellpower, this); } }
// Use this for initialization void Start() { bdh = GameObject.FindGameObjectWithTag("Player").GetComponent <BuffDebuffHandler>(); if (bdh.CheckBuff(Title)) { notstacking = true; Destroy(gameObject); } else { bdh.ApplyBuff(Title, Description, Icon, health, stambonus, healthregenbonus, stamregenbonus, equiploadbonus, maxequiploadbonus, runspeedbonus, poisresistbonus, ssresistbonus, tenacitybonus, swiftnessbonus, ter, lur, sor, chres, lires, inres, deres, spellpower, this); } }