No categories assigned

LUA:SetWisBase

Revision as of 13:41, 12 September 2013 by Jabantiz (talk | contribs) (Created page with "= LUA Functions: SetWisBase() = Sets the base wisdom of the given spawn ==== Syntax ==== SetWisBase(param1, param2) ==== Parameters ==== ; Required - ''param1'' (Spawn), ''pa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LUA Functions: SetWisBase()

Sets the base wisdom of the given spawn


Syntax

SetWisBase(param1, param2)


Parameters

Required - param1 (Spawn), param2 (int16)
param1 is the spawn we want to modify
param2 is the amount we want to modify by


Usage

function hailed(NPC, Spawn)
    SetWisBase(Spawn, 12)
end

When this NPC is hailed the players base wisdom will be set to 12