Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 570ca6c953 | |||
| 4fd997d169 |
@@ -17,7 +17,7 @@
|
|||||||
"target": "attack"
|
"target": "attack"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Possible Lethal or Vital Strike or Add D20E to Attack"
|
"description": "Possible Lethal or Vital Strike and Add D20E to Attack"
|
||||||
},
|
},
|
||||||
"ranged_attack": {
|
"ranged_attack": {
|
||||||
"type": "choice",
|
"type": "choice",
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
"target": "attack"
|
"target": "attack"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Possible Lethal or Vital Strike or Add D20E to Attack"
|
"description": "Possible Lethal or Vital Strike and Add D20E to Attack"
|
||||||
},
|
},
|
||||||
"melee_defense": {
|
"melee_defense": {
|
||||||
"type": "choice",
|
"type": "choice",
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
"target": "defense"
|
"target": "defense"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Possible Flawless or Legendary Defense or Add D20E to Defense"
|
"description": "Possible Flawless or Legendary Defense and Add D20E to Defense"
|
||||||
},
|
},
|
||||||
"arcane_spell_attack": {
|
"arcane_spell_attack": {
|
||||||
"type": "choice",
|
"type": "choice",
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
"target": "spell_attack"
|
"target": "spell_attack"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Possible Lethal or Vital Magical Strike or Add D20E to Spell Attack"
|
"description": "Possible Lethal or Vital Magical Strike and Add D20E to Spell Attack"
|
||||||
},
|
},
|
||||||
"skill_rolls": {
|
"skill_rolls": {
|
||||||
"type": "skill_auto_success",
|
"type": "skill_auto_success",
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
"target": "defense"
|
"target": "defense"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Possible Flawless or Legendary Defense or Add D20E to Defense"
|
"description": "Possible Flawless or Legendary Defense and Add D20E to Defense"
|
||||||
},
|
},
|
||||||
"arcane_spell_defense": {
|
"arcane_spell_defense": {
|
||||||
"type": "choice",
|
"type": "choice",
|
||||||
@@ -107,7 +107,7 @@
|
|||||||
"target": "spell_defense"
|
"target": "spell_defense"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Possible Spell Catastrophe or adds D20E to Spell Defense"
|
"description": "Possible Spell Catastrophe and adds D20E to Spell Defense"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"29": {
|
"29": {
|
||||||
@@ -257,7 +257,7 @@
|
|||||||
"target": "attack"
|
"target": "attack"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Possible Vicious Strike or Add D12 to attack"
|
"description": "Possible Vicious Strike and Add D12 to attack"
|
||||||
},
|
},
|
||||||
"ranged_attack": {
|
"ranged_attack": {
|
||||||
"type": "choice",
|
"type": "choice",
|
||||||
@@ -274,7 +274,7 @@
|
|||||||
"target": "attack"
|
"target": "attack"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Possible Vicious Strike or add D12 to attack"
|
"description": "Possible Vicious Strike and add D12 to attack"
|
||||||
},
|
},
|
||||||
"melee_defense": {
|
"melee_defense": {
|
||||||
"type": "choice",
|
"type": "choice",
|
||||||
@@ -291,7 +291,7 @@
|
|||||||
"target": "defense"
|
"target": "defense"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Possible 20/20 defense that avoids Any Attack Except a Lethal Strike or adds D12 to defense"
|
"description": "Possible 20/20 defense that avoids Any Attack Except a Lethal Strike and adds D12 to defense"
|
||||||
},
|
},
|
||||||
"arcane_spell_attack": {
|
"arcane_spell_attack": {
|
||||||
"type": "choice",
|
"type": "choice",
|
||||||
@@ -308,7 +308,7 @@
|
|||||||
"target": "spell_attack"
|
"target": "spell_attack"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Possible Vicious Application of a Magical Attack or add D12 to attack"
|
"description": "Possible Vicious Application of a Magical Attack and add D12 to attack"
|
||||||
},
|
},
|
||||||
"skill_rolls": {
|
"skill_rolls": {
|
||||||
"type": "bonus_flat",
|
"type": "bonus_flat",
|
||||||
@@ -331,7 +331,7 @@
|
|||||||
"target": "defense"
|
"target": "defense"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Possible 20/20 defense that avoids Any Attack Except a Lethal Strike or adds D12 to defense"
|
"description": "Possible 20/20 defense that avoids Any Attack Except a Lethal Strike and adds D12 to defense"
|
||||||
},
|
},
|
||||||
"arcane_spell_defense": {
|
"arcane_spell_defense": {
|
||||||
"type": "choice",
|
"type": "choice",
|
||||||
@@ -348,7 +348,7 @@
|
|||||||
"target": "spell_defense"
|
"target": "spell_defense"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Possible 20/20 Spell defense that Saves Against Any Magical Attack Except a Lethal Magical Strike or add D12 to spell defense"
|
"description": "Possible 20/20 Spell defense that Saves Against Any Magical Attack Except a Lethal Magical Strike and add D12 to spell defense"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"15": {
|
"15": {
|
||||||
@@ -446,31 +446,31 @@
|
|||||||
"8": {
|
"8": {
|
||||||
"melee_attack": {
|
"melee_attack": {
|
||||||
"type": "mulligan",
|
"type": "mulligan",
|
||||||
"description": "Mulligan, Can Choose to Re-roll This Attack"
|
"description": "Mulligan, Can Choose to Re-roll This Attack (players only)"
|
||||||
},
|
},
|
||||||
"ranged_attack": {
|
"ranged_attack": {
|
||||||
"type": "mulligan",
|
"type": "mulligan",
|
||||||
"description": "Mulligan, Can Choose to Re-Roll This Attack"
|
"description": "Mulligan, Can Choose to Re-Roll This Attack (players only)"
|
||||||
},
|
},
|
||||||
"melee_defense": {
|
"melee_defense": {
|
||||||
"type": "mulligan",
|
"type": "mulligan",
|
||||||
"description": "Mulligan, Can Choose to Re-Roll This Defense"
|
"description": "Mulligan, Can Choose to Re-Roll This Defense (players only)"
|
||||||
},
|
},
|
||||||
"arcane_spell_attack": {
|
"arcane_spell_attack": {
|
||||||
"type": "mulligan",
|
"type": "mulligan",
|
||||||
"description": "Mulligan, Can Re-Roll This Spell Attack"
|
"description": "Mulligan, Can Re-Roll This Spell Attack (players only)"
|
||||||
},
|
},
|
||||||
"skill_rolls": {
|
"skill_rolls": {
|
||||||
"type": "mulligan",
|
"type": "mulligan",
|
||||||
"description": "Mulligan, Can Re-Roll This Skill roll"
|
"description": "Mulligan, Can Re-Roll This Skill roll (players only)"
|
||||||
},
|
},
|
||||||
"ranged_defense": {
|
"ranged_defense": {
|
||||||
"type": "mulligan",
|
"type": "mulligan",
|
||||||
"description": "Mulligan, Can Choose to Re-Roll This Defense"
|
"description": "Mulligan, Can Choose to Re-Roll This Defense (players only)"
|
||||||
},
|
},
|
||||||
"arcane_spell_defense": {
|
"arcane_spell_defense": {
|
||||||
"type": "mulligan",
|
"type": "mulligan",
|
||||||
"description": "Mulligan, Can Re-Roll This Spell Defense"
|
"description": "Mulligan, Can Re-Roll This Spell Defense (players only)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"7": {
|
"7": {
|
||||||
|
|||||||
@@ -237,6 +237,7 @@ export async function handleAttackBoosted(msg) {
|
|||||||
await ChatMessage.create({content: rmContent, speaker: ChatMessage.getSpeaker({actor: defender})})
|
await ChatMessage.create({content: rmContent, speaker: ChatMessage.getSpeaker({actor: defender})})
|
||||||
}
|
}
|
||||||
if (d30Result.specialEffect === "drMultiplier") {
|
if (d30Result.specialEffect === "drMultiplier") {
|
||||||
|
defenseDrMultiplier = d30Result.multiplier
|
||||||
const rmContent = await foundry.applications.handlebars.renderTemplate("systems/fvtt-lethal-fantasy/templates/chat/reaction-message.hbs", {type:"d30DRMultiplier", actorName:defenderName, value:d30Result.multiplier})
|
const rmContent = await foundry.applications.handlebars.renderTemplate("systems/fvtt-lethal-fantasy/templates/chat/reaction-message.hbs", {type:"d30DRMultiplier", actorName:defenderName, value:d30Result.multiplier})
|
||||||
await ChatMessage.create({content: rmContent, speaker: ChatMessage.getSpeaker({actor: defender})})
|
await ChatMessage.create({content: rmContent, speaker: ChatMessage.getSpeaker({actor: defender})})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user