skyrim-multiplayer / skymp

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

feat: improve magic projectiles and runes support #2186

Closed Pospelove closed 1 month ago

Pospelove commented 1 month ago

[!IMPORTANT] Enhance magic system by adding aim angle and heading support for spell casting, updating data structures and functions accordingly.

  • Behavior:
    • Added aimAngle and aimHeading to SpellCastMsgData in spellCastMessage.ts.
    • Updated castSpellImmediate() in remoteServer.ts to include aimAngle and aimHeading.
    • Enhanced SpellCastEvent in Definitions.txt and skyrimPlatform.ts to include aimAngle and aimHeading.
  • Functions:
    • Modified getSpellCastEventData() in magicSyncService.ts to handle aimAngle and aimHeading.
    • Updated CastSpellImmediate() in MagicApi.cpp to use aimAngle and aimHeading.
  • Misc:
    • Added Point3 interface in Definitions.txt and skyrimPlatform.ts.
    • Updated AnimVariableMasterGraphIndexes.cpp to include new float variables for aiming.

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