#toggle gold skill
1 messages · Page 1 of 1 (latest)
i dont understand why he cant destroy this modifiers while i have <= 100 gold
no error in console
you have the wrong class names below modifier_evrei_insurance_gold = class({})
he still dont destroy while i have <= 100 gold
its not clear what you are trying to do in the ability.
you are spawning a modifier thinker in OnToggle, is that whats not being destroyed?
this thinker destroy when i turn off skill but not when <= 100 gold
i dont see code that would destroy the thinker
it looks like you are just spawning a new one every time OnToggle is called
but here i destroy thinker, isnt it?
thats better?
why are you using a modifier thinker at all, i dont see the reason
all the effects of the modifier are based on the caster, so it being on a separate entity doesnt do anything
me need tick damage like radiance
modifier thinkers and OnIntervalThink are unrelated
a modifier thinker is a dummy unit that gets your modifier applied to it
they are generally used when you want to use a modifier without a unit
StartIntervalThink and OnIntervalThink can be used in any modifier
RLY? goodness
big thanks