attribute system #5

Closed
zephyr wants to merge 0 commits from feature-attribute into main
Owner

Updates #2.

Updates #2.
zephyr added 1 commit 2023-07-23 14:19:13 -05:00
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details
541cdfeed3
add Attribute definition
Updates #2.
zephyr requested review from madxmike 2023-07-23 14:19:25 -05:00
zephyr force-pushed feature-attribute from 541cdfeed3 to 08b2f22052 2023-07-23 14:38:00 -05:00 Compare
madxmike reviewed 2023-07-23 16:28:31 -05:00
@ -0,0 +16,4 @@
/// Permanently increase the stat value.
/// </summary>
/// <param name="by">Increase amount.</param>
public void LevelUp(long by)
Owner

As i think about this, what we actually probably want is this whole thing to be data driven from a table (effectively a sparse mapping of numbers).

So we can define a table like "Healing Done" that has level mulitpliers and level breaks

Level: 1 | 2 | 3 | 10
Heal: 100 | 200| 1000 | 10000

But as i think about it more, we might just want both. A simple long scalar that we can control with whatever, and another impl thats a table based thing.

As i think about this, what we actually probably want is this whole thing to be data driven from a table (effectively a sparse mapping of numbers). So we can define a table like "Healing Done" that has level mulitpliers and level breaks Level: 1 | 2 | 3 | 10 Heal: 100 | 200| 1000 | 10000 But as i think about it more, we might just want both. A simple long scalar that we can control with whatever, and another impl thats a table based thing.
Owner

Lets just keep it simple for now and use this one. If we find we want a table driven one then we can make it.

Lets just keep it simple for now and use this one. If we find we want a table driven one then we can make it.
madxmike approved these changes 2023-07-23 17:10:27 -05:00
zephyr changed title from WIP: attribute system to attribute system 2023-07-23 17:12:41 -05:00
Author
Owner

The current state of this PR was included in 4245513c7c.

The current state of this PR was included in 4245513c7c.
zephyr closed this pull request 2023-07-28 17:36:34 -05:00
zephyr deleted branch feature-attribute 2023-07-28 17:36:48 -05:00
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/idle-survivors#5
No description provided.