so i made my code, does it work like this?
addHook("AbilitySpecial", function(player)
if player.mo.skin != "windknight"
local actionspd = FixedMul(player.mo.scale, player.actionspd)
if player.mo.eflags & MFE_UNDERWATER
actionspd = $/2
P_SetObjectMomZ(player.mo, FRACUNIT*10, true)
P_SpawnThokMobj(player)
S_StartSound(player.mo, sfx_break)
player.pflags = $|PF_THOKKED
return true
end
end
end)
also anyone that uses this code that is not trying to help ( im pointing at you geusts, you gambanana and mediafire pirates!)
i hope its correct