Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing rules #1546

Merged
merged 2 commits into from
Aug 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/factions/idoneth_deepkin/units.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
SAVES_PHASE,
SHOOTING_PHASE,
START_OF_COMBAT_PHASE,
START_OF_HERO_PHASE,
TURN_ONE_START_OF_TURN,
WARDS_PHASE,
} from 'types/phases'
Expand Down Expand Up @@ -247,6 +248,11 @@ const Units = {
when: [COMBAT_PHASE],
},
GiftsOfTheDepthsEffect,
{
name: `Fount of Willpower`,
desc: `Once per battle, if this unit is on the battlefield at the start of your hero phase, you can pick 1 ritual from the Isharann Rituals table and 1 friendly IDONETH DEEPKIN unit wholly within 12" of this unit. Until your next hero phase, the unit you picked is affected by that ritual in addition to any others it is affected by, even if the Tides of Death ability required for that ritual does not apply.`,
when: [START_OF_HERO_PHASE],
},
],
},
'Akhelian Leviadon': {
Expand Down
30 changes: 20 additions & 10 deletions src/factions/kharadron_overlords/units.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,13 @@ const GlorySeekersEffects = [
name: `Glory Seekers`,
desc: `You can reroll battleshock tests for this unit while it is wholly within 9" of an objective. This ability cannot be used if this unit is part of a garrison.`,
when: [BATTLESHOCK_PHASE],
shared: true,
},
{
name: `Glory Seekers`,
desc: `You can add 1 to hit rolls for attacks made by this unit while it is wholly within 9" of an objective. This ability cannot be used if this unit is part of a garrison.`,
when: [SHOOTING_PHASE, COMBAT_PHASE],
shared: true,
},
]
const getSkyhookEffect = (val: number) => ({
Expand Down Expand Up @@ -122,12 +124,28 @@ const SkyminesEffect = {
name: `Skymines`,
desc: `If an enemy unit that can fly ends a charge move within 1" of any friendly units with this ability, you can roll 1 dice for each model in that enemy unit. For each 6, that unit suffers 1 mortal wound.`,
when: [CHARGE_PHASE],
shared: true,
}
const EndrinmasterHealEffect = (val: '3' | 'D3') => ({
name: `Endrinmaster`,
desc: `At the start of your hero phase, you can pick 1 friendly SKYVESSEL within 1" of this model. Heal up to ${val} wounds allocated to that SKYVESSEL.`,
when: [START_OF_HERO_PHASE],
shared: true,
})
const AethericNavigatorAndEndinriggerEffects = [
{
name: `Aetheric Navigator and Endrinrigger`,
desc: `In your hero phase, you can heal 1 wound allocated to this model.`,
when: [HERO_PHASE],
shared: true,
},
{
name: `Aetheric Navigator and Endrinrigger`,
desc: `You can reroll run rolls for this model.`,
when: [MOVEMENT_PHASE],
shared: true,
},
]

const Units = {
'Endrinmaster with Dirigible Suit': {
Expand Down Expand Up @@ -330,6 +348,7 @@ const Units = {
},
'Arkanaut Frigate': {
effects: [
...AethericNavigatorAndEndinriggerEffects,
BombRacksEffect,
DisengageEffect,
ArkanautFlyHighEffect,
Expand All @@ -340,16 +359,7 @@ const Units = {
},
'Arkanaut Ironclad': {
effects: [
{
name: `Aetheric Navigator and Endrinrigger`,
desc: `In your hero phase, you can heal 1 wound allocated to this model.`,
when: [HERO_PHASE],
},
{
name: `Aetheric Navigator and Endrinrigger`,
desc: `You can reroll run rolls for this model.`,
when: [MOVEMENT_PHASE],
},
...AethericNavigatorAndEndinriggerEffects,
BombRacksEffect,
DisengageEffect,
ArkanautFlyHighEffect,
Expand Down