add disguise
This commit is contained in:
parent
4d44b6c31c
commit
d4f155adc2
@ -868,6 +868,29 @@ class DetectConcealArcanaEffect extends PowerEffect {
|
||||
}
|
||||
}
|
||||
|
||||
class DisguiseEffect extends PowerEffect {
|
||||
get name () { return 'Disguise' }
|
||||
get icon () { return 'icons/equipment/head/mask-carved-wood-white.webp' }
|
||||
get duration () { return 100 }
|
||||
get basePowerPoints () { return 2 }
|
||||
get isTargeted () { return true }
|
||||
get hasAdditionalRecipients () { return true }
|
||||
get additionalRecipientCost () { return 1 }
|
||||
get modifiers () {
|
||||
return [
|
||||
...super.modifiers,
|
||||
{name: 'Size', value: 1, id: 'size', epic: false, effect: false}
|
||||
]
|
||||
}
|
||||
get description () {
|
||||
let size = this.data.mods.has('size') ? 'of the same size as' : 'within two sizes of'
|
||||
return super.description + `
|
||||
<p>Assume the appearance of another person ${size} the recipient. Anyone
|
||||
who has cause to doubt the disguise may make a Notice roll at ${this.data.raise ? -4 : -4}
|
||||
as a free action to see through the disguise.</p>`
|
||||
}
|
||||
}
|
||||
|
||||
const PowerClasses = {
|
||||
"arcane-protection": ArcaneProtectionEffect,
|
||||
banish: BanishEffect,
|
||||
@ -886,6 +909,7 @@ const PowerClasses = {
|
||||
darksight: DarksightEffect,
|
||||
deflection: DeflectionEffect,
|
||||
"detect-conceal-arcana": DetectConcealArcanaEffect,
|
||||
"disguise" : DisguiseEffect,
|
||||
"lower-trait": BoostLowerTraitEffect,
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user