skyrim-multiplayer / skymp

Multiplayer Mod & TypeScript SDK for Skyrim Special Edition
Other
221 stars 75 forks source link

feat(skymp5-server): implement EquipSpell Papyrus native #2220

Closed Pospelove closed 2 days ago

Pospelove commented 1 week ago

[!IMPORTANT] Adds EquipSpell method to PapyrusActor for equipping spells, with argument validation and registration.

  • Behavior:
    • Adds EquipSpell method to PapyrusActor to equip spells, checking for valid arguments and spell type.
    • If the spell is not in the actor's spell list, it adds the spell.
  • Logging:
    • Logs errors for invalid arguments and spell types in EquipSpell.
  • Registration:
    • Registers EquipSpell method in PapyrusActor::Register.

This description was created by Ellipsis for 1fe4f4c5aac731cc7b0470c1eabea17604b9141a. It will automatically update as commits are pushed.