Skip to content
Back to skills

Scriptable Objects

ASecurity

A weapon skill defines common properties for weapons of the same type. It can also be optionally required that a character knows it in order to equip or use weapons of that type.

  • 3 stars
  • 0 votes
  • 0 copies
  • 12 views
  • Added September 6, 2026
designnode

Works with

  • cli

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add AnyRPG/docs --skill scriptable-objects --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scriptable Objects?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Scriptable Objects
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anyrpg-scriptable-objects-docs/badge)](https://www.skillsdirectory.com/skills/anyrpg-scriptable-objects-docs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: >-
  A weapon skill defines common properties for weapons of the same type.  It can
  also be optionally required that a character knows it in order to equip or use
  weapons of that type.
---

# Weapon Skill

## Creation

To create a weapon skill, find (or create) the _GameName/Resources/GameName/WeaponSkill_ folder in the project tab and right click.  Choose _Create > AnyRPG > WeaponSkill_.

## Properties

| Name                          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Default Weapon Skill          | If true, this skill is considered to be in use by an unarmed character.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| Attack Speed                  | Attacks with animations shorter than this value will be calculated to have taken this long. Auto-attacks cannot happen more often than this number of seconds.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Default Hit Effects           | A list of [Ability Effects](../architecture/ability-system/ability-effects.md) that will be cast on the target when the weapon does damage from a standard (auto) attack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| On Hit Effects                | A list of [Ability Effects](../architecture/ability-system/ability-effects.md) that will be cast on the target when the weapon does damage from any attack, including a standard (auto) attack.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Animation Profile Name        | An [Animation Profile](animation-profile.md) that can overwrite default animations to match the weapon.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| On Hit Audio Profiles         | An [Audio Profile](audio-profile.md) that contains a link to an audio clip that can be played whenever any physical [Ability](abilities/) is cast while the weapon is equipped.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Animation Event Audio         | If the animation has StartAudio() events while it is playing, this [Audio Profile](audio-profile.md) will be played in response to those events.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| Play Attack Voice             | If true, the character will play their attack voice clip when animated abilities are used.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| Ability Animation Object List | <p>A list of physical prefabs to attach to the character unit when a weapon is being animated during an attack. This could be arrows, special spell or glow effects, etc.<br><strong>Holdable Object Name</strong><br>The name of a <a href="prefab-profile.md">PrefabProfile</a> that contains a link to a GameObject.<br><strong>Use Universal Attachment</strong><br>If true, attachment points from the <a href="prefab-profile.md">PrefabProfile</a> will be ignored, and the universal attachment in the <em>Attachment Name</em> field will be used.<br><strong>Attachment Name</strong><br>The <em>Node Name</em> field from one of the <em>Attachment Point Nodes</em> in an <a href="attachment-profile.md">Attachment Profile</a>.</p> |
| Ability Object List           | <p>A list of physical prefabs to use when the weapon is being used after the animation phase of an attack. This could be arrows, special spell or glow effects, etc.<br><strong>Holdable Object Name</strong><br>The name of a <a href="prefab-profile.md">PrefabProfile</a> that contains a link to a GameObject.<br><strong>Use Universal Attachment</strong><br>If true, attachment points from the <a href="prefab-profile.md">PrefabProfile</a> will be ignored, and the universal attachment in the <em>Attachment Name</em> field will be used.<br><strong>Attachment Name</strong><br>The <em>Node Name</em> field from one of the <em>Attachment Point Nodes</em> in an <a href="attachment-profile.md">Attachment Profile</a>.</p>      |

## Next Steps

* Add a weapon skill to a [Weapon](items/weapon.md) to allow it to use these shared properties.
* Add a weapon skill to [Capabilities](../shared-properties/capabilities.md), allowing any character with those capabilities to wield weapons that require the skill.

Files in this skill

  • abilities/README.md40.7 KB
  • abilities/craft-ability.md1.3 KB
  • abilities/gather-ability.md1.3 KB
  • ability-effects/README.md31.6 KB
  • ability-effects/aoe-effect.md2.4 KB
  • ability-effects/attack-effect.md2.1 KB
  • ability-effects/capture-pet-effect.md1 KB
  • ability-effects/channeled-effect.md1.2 KB
  • ability-effects/direct-effect.md986 B
  • ability-effects/heal-effect.md626 B
  • ability-effects/instant-effect.md751 B
  • ability-effects/knock-back-effect.md3 KB
  • ability-effects/mount-effect.md900 B
  • ability-effects/pet-control-effect.md1008 B
  • ability-effects/pet-effect.md717 B
  • ability-effects/projectile-effect.md1.6 KB
  • ability-effects/rain-effect.md652 B
  • ability-effects/remove-effect.md1.1 KB
  • ability-effects/resurrect-effect.md656 B
  • ability-effects/status-effect.md17.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.