1
0
2025-05-28 21:48:33 -04:00

438 B
Raw Blame History

Function: Charm(Spawn, Target)

Description: Must be used inside a Spell Script. Sets the Target to become a Pet of the Spawn (Owner).

Parameters:

Spawn: Spawn The entity casting the charm (e.g., a player or NPC that will become the controller). Target: Spawn The NPC to be charmed.

Returns: None.

Example:

-- Example usage (NPC charms another NPC during an encounter)
Charm(NPC, EnemyNPC)