mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
15 lines
No EOL
242 B
Lua
15 lines
No EOL
242 B
Lua
-- CHRMGold
|
|
|
|
function event_scale_calc(e)
|
|
local money = e.owner:GetCarriedMoney() / 1000;
|
|
|
|
if(money < 0) then
|
|
money = 0;
|
|
end
|
|
|
|
if(money > 21475) then
|
|
money = 21475;
|
|
end
|
|
|
|
e.self:SetScale(money/21475);
|
|
end |