daid / daid/EmptyEpsilon

REQUEST : informations about shoot and/or damage

Open
#214 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
869
Forks
222
Avg merge
18h 33m
Merged PRs (30d)
1

Description

Hi,

Could it be possible to add something to know the last damage for a spaceship ? Something like that : spaceship:lastDamage(delta,origin,type,value)

with delta for when its append, origin for who did that, type for the weapons used (laser, homing, asteriod,...) and value for the amount of damage.

With this feature, I would create some advance PNJ reactions, and some PNJ abilities (for exemple : EMP don't break their shield, but increase them instead).

In the same way, could it be possible to add a command to allow a CPU ship to use or not his missiles ?

Contributor guide

No contributing guide indexed for this repository

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

Start by locating the spaceship scripting API and the CPU ship controls related to missiles. Clarify whether the damage-reporting API and missile-use command are separate changes, then define their behavior for damage timing, origin, weapon type, value, and missile usage before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.