Add some resources to the relevant combat files
This commit is contained in:
parent
2d804e7aa2
commit
ed93e9f927
3 changed files with 27 additions and 0 deletions
26
module/documents/combat.mjs
Normal file
26
module/documents/combat.mjs
Normal 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
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue