No categories assigned

LUA:Charm

LUA Functions: Charm()

Puts a spawn under the control of another spawn.

Syntax

Charm(param1, param2)


Parameters

Required - param1 (Spawn), param2 (Spawn)
param1 is the spawn that is charming the other
param2 is the spawn being charmed, must be a NPC


Usage

function cast(Caster, Target)
    Charm(Caster, Target)
end

A simple charm spell.