mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
12 lines
No EOL
216 B
Lua
12 lines
No EOL
216 B
Lua
-- CHRMSafeFall
|
|
|
|
function event_scale_calc(e)
|
|
|
|
local safefall = e.owner:GetSkill(39);
|
|
|
|
if(safefall < 0) then
|
|
safefall = 0
|
|
end
|
|
|
|
e.self:SetScale(safefall/252); -- Max Safefall cap in our era
|
|
end |