No categories assigned

LUA:MakeRandomFloat

Revision as of 12:32, 1 March 2021 by Neatz09 (talk | contribs) (Created page with "= LUA Functions: MakeRandomFloat() = Sends the given player to their bind point. ==== Syntax ==== MakeRandomFloat(min, max) ==== Parameters ==== ; ''param1'' MinVal : ''par...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LUA Functions: MakeRandomFloat()

Sends the given player to their bind point.


Syntax

MakeRandomFloat(min, max)

Parameters

param1 MinVal
param2 MaxVal


Usage

function cast(Caster, Target)
    local Buff = MakeRandomFloat(1.1, 2.2)
    AddSpellBonus(Target, 600, Buff)
end