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 15:19:13 -04:00
add Attribute definition
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
541cdfeed3
Updates #2.
zephyr requested review from madxmike 2023-07-23 15:19:25 -04:00
zephyr force-pushed feature-attribute from 541cdfeed3 to 08b2f22052 2023-07-23 15:38:00 -04:00 Compare
madxmike reviewed 2023-07-23 17:28:31 -04: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 18:10:27 -04:00
zephyr changed title from WIP: attribute system to attribute system 2023-07-23 18:12:41 -04: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 18:36:34 -04:00
zephyr deleted branch feature-attribute 2023-07-28 18:36:48 -04: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.