All authors

Claude Skills by emagi
github.com/emagi6 skills0 installs7 views
- World**Description:**Votes: 0GitHub stars: 14
- Lua Functions**Description:** Grants a new skill to the specified player. If the player does not already have the skill in their skill list, this will add it (usually at base level). **Parameters:** `Spawn`: Spawn – The player to grant the skill to. `SkillID`: Int32 – The ID of the skill to add. `CurrentVal`: Int16 – The current value the player will have in the skill. `MaxVal`: Int16 – The max skill the player can receive with the current skill. `MoreToAdd`: Boolean – When set to true, we skip sending th...Votes: 0GitHub stars: 14
- Slash Commands**Handler Macro:** UNKNOWN **Handler Value:** 999 **Required Status:** 0 **Arguments:** NoneVotes: 0GitHub stars: 14
- Lua Functions**Description:** Gets the skill object reference for a spawn by name. **Parameters:** - `spawn` (Spawn) - Spawn object representing `spawn`. - `name` (string) - String `name`. **Returns:** Skill object reference. **Example:** ```lua -- From SpawnScripts/DarkBargainers/SasitSoroth.lua function MaxGathering(NPC, Spawn) local skill = GetSkill(Spawn, "Gathering") if skill ~= nil then SetSkillMaxValue(skill, 300) SetSkillValue(skill, 300) end ```Votes: 0GitHub stars: 14
- Lua Functions**Description:** Return's true if the player has the skill_id specified **Parameters:** - `player` (Spawn) - Spawn object representing `player`. - `skill_id` (uint32) - Integer value `skill_id`. **Returns:** True if the player has the skill_id, otherwise false. **Example:** ```lua -- From ItemScripts/BardCertificationPapers.lua function Class(Item, Player) conversation = CreateConversation() if CanReceiveQuest(Player,Quest) then AddConversationOption(conversation, "[Turn in these papers for g...Votes: 0GitHub stars: 14
- Lua Functions**Description:** Remove's the skill from the player's skill list. **Parameters:** - `player_spawn` (Spawn) - Spawn object representing `player_spawn`. - `skill_id` (uint32) - Integer value `skill_id`. - `more_to_remove` (bool) - Boolean flag `more_to_remove`. **Returns:** None. **Example:** ```lua -- From ItemScripts/BardCertificationPapers.lua if HasSkill(Player, 1408356869) then -- Martial/Fighter RemoveSkill(Player, 1408356869) end ```Votes: 0GitHub stars: 14