Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#34 closed enhancement (released)

Remove "Choices" and "Base/Increment" from Category

Reported by: ibboard Owned by: ibboard
Priority: major Milestone: WarFoundry 0.1
Component: WarFoundry-API Version:
Keywords: Cc:
Blocked By: Blocking:


As a method for implementing Warhammer 40K-style rosters and Warhammer-style "army composition depends on army size" the original design added the following attributes:

  • minChoice
  • maxChoice
  • baseVal
  • incVal
  • incAmount

These should be removed, leaving categories to define min/max points and/or percentages. The functionality will then be re-implemented as plugins following ticket:33.

Change History (6)

comment:1 Changed 11 years ago by ibboard

Status: newaccepted

comment:2 Changed 11 years ago by ibboard

(In r50) Re #32 - Migrate WarFoundry to schemas

  • Add "WarFoundry-Core" schema to define numerical types with -1 taking a special value
  • Add "WarFoundry-Cats" to store common category definition between race and system
  • Add full system schema
  • Add partial implementation of race schema

Re #34 - Remove choices and base/increment

  • "WarFoundry-Cats" schema only includes min/max points and percentage

comment:3 Changed 11 years ago by ibboard

Resolution: fixed
Status: acceptedclosed

(In r73) Fixes #34 - Remove "Choices" and "Base/Increment" from Category

  • Remove Choices and Base/Increment from code

Re #47: Remove magic numbers

  • Replace "-1" magic number with WarFoundryCore.INFINITY
  • Use INFINITY instead of -1 in code
  • Use INF in schemas instead of -1
  • Handle and parse INF as a special value in XML Factory

comment:4 Changed 10 years ago by ibboard

released: 1

Mark released changes as released

comment:5 Changed 10 years ago by ibboard

released: 1yes

Mark released fixes as released using radio values

comment:6 Changed 10 years ago by ibboard

Resolution: fixedreleased

Mark fix as released under a previous version

Note: See TracTickets for help on using tickets.