Ticket #818 (new defect)

Opened 2 years ago

Last modified 14 months ago

Garrisoned units on ships don't increase fire power

Reported by: k776 Owned by:
Priority: Nice to Have Milestone: Backlog
Component: UI & Simulation Keywords:
Cc:

Description (last modified by k776) (diff)

When units are garrisoned in a ship, they do not seem to increase the amount of arrows fired from it.

It should act like towers, and increase the amount of arrows fired.

Change History

comment:1 Changed 2 years ago by k776

  • Priority changed from Should Have to Nice to Have
  • Summary changed from Improve garrisoned ship functionality to Garrisoned units on ships don't increase fire power
  • Component changed from Game engine to Simulation
  • Description modified (diff)
  • Milestone changed from Alpha 6 to Alpha 7

comment:2 Changed 2 years ago by Ross Bearman

Looking into this now, seems simple enough to implement.

The building and ship arrow mechanisms are slightly different:

  • Buildings fire arrows in rounds, with each round having a set number of arrows based on a garrison multiplier. (Currently one arrow per round, plus an additional arrow for each garrissoned archer.)
  • The ship uses the basic unit AI and acts like a single archer; and so to increase the number of arrows fired we'd increase the repeat fire time using a multiplier.

Which units should increase the number of arrows fired from ships? Only archers, or all garrisoned units?

comment:3 Changed 2 years ago by Ross Bearman

Sorry, silly mistake, we'd decrease the repeat fire time, not increase it.

comment:4 Changed 2 years ago by Ross Bearman

Another update to clarify that GetGarrisonedArcherCount?() actually gets all units capable of using a bow (currently any unit with the class Infantry or Archer; so all infantry units and horse archers currently.) I originally incorrectly assumed it was only dedicated archers.

comment:5 Changed 22 months ago by michael

As a temporary measure, I have given ships the building AI behavior of garrisoned units adding arrows.

comment:6 Changed 22 months ago by k776

  • Milestone changed from Alpha 7 to Alpha 8

comment:7 Changed 18 months ago by k776

  • Milestone changed from Alpha 8 to Alpha 9

comment:8 Changed 16 months ago by k776

  • Milestone changed from Alpha 9 to Alpha 10

comment:9 Changed 14 months ago by k776

  • Milestone changed from Alpha 10 to Backlog
Note: See TracTickets for help on using tickets.