Difference between revisions of "LUA:Charm"
(Created page with "= LUA Functions: Charm() = Puts a spawn under the control of another spawn. ==== Syntax ==== Charm(param1, param2) ==== Parameters ==== ; Required - ''param1'' (Spawn), ''para...") |
(No difference)
|
Latest revision as of 21:25, 15 October 2012
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.