beyond-all-reason / beyond-all-reason/RecoilEngine

Add Lua interface for dealing team-sourced damage

Open
#1,434 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: Lua API enhancement
Dominant language
C++
Stars
683
Forks
293
Avg merge
3d 2h
Merged PRs (30d)
40

Description

Bill of materials to be done before starting this ticket:

  • #1433

Add a Lua synced interface to deal damage which has no associated attacker unitID but is still sourced to a team (for endgame graphs and Lua callin purposes). Ideally it would be in Spring.AddUnitDamage but it already has a bunch of trash in its parameter list. Maybe impulse xyz could be shifted? A new function with a cleaner args list is fine too.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Complete prerequisite issue #1433 first. Then inspect the existing Spring.AddUnitDamage interface and determine how a synced Lua API can represent damage with a team source but no attacker unitID, while supporting endgame graphs and Lua callins. Done means the interface and argument design are agreed and the requested capability is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, lua
Domain
api, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.