Skip to content

WeaponCollisionEffect ​

Inherits: CollisionEffect < CompositeEffect < Effect < DatabaseResource < Resource

WeaponCollisionEffect for melee attacks that use the weapon's collision shape Automatically uses the collision shape from the user's equipped weapon in the specified slot

Properties ​

intequipment_slot

Methods ​

Stringget_effect_description()
Stringget_editor_description()

Property descriptions ​

int equipment_slot ​

Which equipment slot to get the weapon from (must be a weapon slot)

Method descriptions ​

String get_effect_description() ​

Override description to include weapon slot information

String get_editor_description() ​

A short text for the effect editor that says what the effect does.