I want to know if you can set the real argument of a periodic time to a variable somehow. I even downloaded jasscraft to see the corresponding function and tried to put a real variable and it said it couldn't compile (expecting a name).
The reason I want to do this is because I made global variables for all the periodic timed events, so far only needed 2:
- udg_FPS_DOTSpells: the time interval for triggered damage over time debuffs, 0.10s
- udg_FPS_ProjectileSpells: the time interval for triggered projectile moving, 0.03s
And literally every single spell refers to these values to calculate damage, distance moved, etc. So it would be nice if I could make it a global variable and also use it for the trigger event so i don't have to change every spell if I decide to make the intervals longer. I guess it's like I want to make a custom game constant.
The reason I want to do this is because I made global variables for all the periodic timed events, so far only needed 2:
- udg_FPS_DOTSpells: the time interval for triggered damage over time debuffs, 0.10s
- udg_FPS_ProjectileSpells: the time interval for triggered projectile moving, 0.03s
And literally every single spell refers to these values to calculate damage, distance moved, etc. So it would be nice if I could make it a global variable and also use it for the trigger event so i don't have to change every spell if I decide to make the intervals longer. I guess it's like I want to make a custom game constant.