431 B
431 B
Function: Stealth(type, spawn)
Description: Type of 1 is stealth, 2 is invis. If Spawn is specified will only apply to Spawn, otherwise applied to all spell targets in a Spell Script.
Parameters:
type
(int8) - Integer valuetype
.spawn
(Spawn) - Spawn object representingspawn
.
Returns: None.
Example:
-- From Spells/Camouflage.lua
function cast(Caster, Target)
Stealth(1)
end