Add some resources to the relevant combat files

This commit is contained in:
Oliver-Akins 2025-02-13 00:49:28 -07:00
parent 2d804e7aa2
commit ed93e9f927
3 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,26 @@
/*
Resources:
- Combat : https://github.com/foundryvtt/dnd5e/blob/4.3.x/module/documents/combat.mjs
- Combatant : https://github.com/foundryvtt/dnd5e/blob/4.3.x/module/documents/combatant.mjs
- CombatTracker : https://github.com/foundryvtt/dnd5e/blob/4.3.x/module/applications/combat/combat-tracker.mjs
*/
export class RipCryptCombat extends Combat {
/**
* @override
* Sorts combatants for the combat tracker in the following way:
* - Distance from the current fate ordinal. (0 -> 3)
* - Coin Flip result (if disposition matches flip result, then 0, otherwise, 0.5)
*/
_sortCombatants(a, b) {
// The distance from fate
};
nextTurn() {
// Make it skip all combatants with the same initiative value
};
previousTurn() {
// Go back a step
};
};