origin powers
so its my first time making and origin and data packs ive made structure ones but they are more easier than this, so what i am struggling with is i am trying to make an abiltity called thunder clap so its basicaly a dash, but i want some spesific things so when dashing i want the dash to be active for 2 seconds and than reset it and set it on cooldown and 30 seconds when in the dash for those two seconds i want to be able to increase attribute movement speed and jump by alot mean time i want to summon lightnings on that origin while using the dash so "0.5 secs 10 ticks" lighting strike would hit him and i want him to be immune to it wich is i can give him idk ressistance but it could cancel his momentum that way and i wana be able to put particles around that person but i do not know how and should i use functions or what?