GlobalStats.RemoveEffectResistance
Declaration#
public virtual bool RemoveEffectResistance(string id)Parameters#
| Name | Description |
|---|---|
| id | Id 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#
| Name | Description |
|---|---|
| resistance | Status 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); }}