You are viewing an old version of this page. Return to the latest version.
Version of 12:35, 1 March 2021 by I need to Update My Profile
No categories assigned
LUA:MakeRandomInt
- Last edited 3 years ago by Vlash Nytefall
LUA Functions: MakeRandomInt()
Returns a random INT
Syntax
MakeRandomInt(min, max)
Parameters
- param1 MinVal
- param2 MaxVal
Usage
function cast(Caster, Target)
local Buff = MakeRandomFloat(1, 3)
AddSpellBonus(Target, 600, Buff)
end