Skip to main content

GlobalStats.RemoveEffectResistance

Declaration#

public virtual bool RemoveEffectResistance(string id)

Parameters#

NameDescription
idId of Status Effect Resistance to remove

Description#

Removes all Status Effect Resistance by id

Usage#

Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{    public void ExampleMethod(GlobalStats target, string id)    {        target.RemoveEffectResistance(id);    }}

Declaration#

public virtual bool RemoveEffectResistance(GDTKEffectResistance resistance)

Parameters#

NameDescription
resistanceStatus Effect Resistance to remove

Description#

Removes a Status Effect Resistance

Usage#

Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{    public void ExampleMethod(GlobalStats target, GDTKEffectResistance other)    {        target.RemoveEffectResistance(other);    }}