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

17 lines
438 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 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:**
```lua
-- Example usage (NPC charms another NPC during an encounter)
Charm(NPC, EnemyNPC)
```