No categories assigned

LUA:SetWis

LUA Functions: SetWis()

Modifies the wisdom of the given spawn


Syntax

SetWis(param1, param2)


Parameters

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


Usage

function hailed(NPC, Spawn)
    SetWis(Spawn, 15)
end

When this NPC is hailed the players power will be increased by 15