Add Isaac.GetChampionColor()
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
Research direction
Start by locating entityNPC:GetChampionColorIdx and the existing Lua API bindings for color objects. The change is done when Isaac.GetChampionColor accepts a ChampionColorIdx and returns the corresponding color object for use by entities such as the bone projectile.
Written by the indexing model from the issue text.
Description
This function would be different from entityNPC:GetChampionColorIdx(), as it would return a color object of the specified champion, so that we could replicate some entities changing color based on their spawner's champion color. (Eg. the bone projectile thrown by bonies) The function would accept a ChampionColorIdx to determine what color to return, so a use for this feature would look like:
entityProjectile.Color = Isaac.GetChampionColor(entityProjectile.SpawnerEntity:ToNPC():GetChampionColorIDX())
This could also make compatibility better with the custom champions feature if that ends up getting added.
- Dominant language
- C++
- Stars
- 345
- Forks
- 51
- Avg merge
- 11h 2m
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from TeamREPENTOGON/REPENTOGON
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 65/100
TeamREPENTOGON/REPENTOGON#589 ·
-
callback request
Difficulty 4/5 3-5 days Newbie friendliness 45/100
TeamREPENTOGON/REPENTOGON#935 · 1 comment ·
-
bug ImGui
Difficulty 3/5 1-2 days Newbie friendliness 55/100
TeamREPENTOGON/REPENTOGON#934 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
TeamREPENTOGON/REPENTOGON#933 ·
-
ImGui
Difficulty 5/5 Over a week Newbie friendliness 35/100
TeamREPENTOGON/REPENTOGON#932 ·
All issues in TeamREPENTOGON/REPENTOGON
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gazebosim/gz-sensors#662 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LadybirdBrowser/ladybird#12123 ·