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

`Spring.SetProjectileDamages` has no 2nd arg?

Open
#1,899 10 comments 0 reactions 0 assignees View on GitHub
area: Lua API enhancement good first issue
Dominant language
C++
Stars
679
Forks
290
Avg merge
3d 2h
Merged PRs (30d)
40

Description

1st arg is projectile ID, then either 3rd is the damages table, or 3rd/4th are the damages key and value respectively. What about the 2nd?

Looks like no game uses this so I couldn't find actual use examples to check what they pass as the 2nd, but maybe this is good because it means the args can be safely shifted.

Contributor guide

Open the contributing guide

Research direction

Locate the implementation and documentation for Spring.SetProjectileDamages, then search the repository for its declaration and call sites. Determine what the second argument represents or whether the supported argument forms can safely omit it; done means the API behavior and signature are consistent and documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.