So I have and idea to implement a modifiers system in my game but I have no idea for a few things. First of all I have an stats node I instance for every actor in my game, enemies/player etc. Stats include variables like health,max health, immune etc. and also methods like take_damage or heal. Now I want to make an abstract class Modifier with 3 methods enter,exit,update and DurationTimer, TickTimer, IconSprite. In Enter I can apply for example immune = true or owner.stats.strenght += modifier_strenght and delete this modifiers in exit method when duration time is finished. I will also make some modifiers like burning, and I can constantly damage actor in Update method every Tick time. i will create array in every actor for store that modifiers. I want to make export vars for that modifiers so one can heal 10HP every 5sec and other one 15HP every 10sec etc. But I dont know how to assign that modifiers to any damage_source. So I was thinking to add an Export Array on damage_source where I can apply Modifiers(Node2D) in it, edit export vars and instance to player modifiers array when damage is done, but I dont see possibility to export that Node2D modifiers to damage sources and also make it possible to change export var in it, how can I handle this?