From 64533c2c0a387d031a9e3ac95c1e43d7285998df Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Sat, 18 Jan 2025 18:19:49 +0100 Subject: [PATCH] Weapon attack management --- module/rmfrp-attack-tables.js | 155 ------------------ module/rmfrp-process-table.js | 2 +- .../{000206.log => 000210.log} | 0 packs/skill_categories/CURRENT | 2 +- packs/skill_categories/LOG | 16 +- packs/skill_categories/LOG.old | 16 +- .../{MANIFEST-000204 => MANIFEST-000208} | Bin 176 -> 176 bytes packs/skills/{000112.log => 000116.log} | 0 packs/skills/CURRENT | 2 +- packs/skills/LOG | 16 +- packs/skills/LOG.old | 16 +- .../{MANIFEST-000110 => MANIFEST-000114} | Bin 173 -> 173 bytes 12 files changed, 35 insertions(+), 190 deletions(-) rename packs/skill_categories/{000206.log => 000210.log} (100%) rename packs/skill_categories/{MANIFEST-000204 => MANIFEST-000208} (72%) rename packs/skills/{000112.log => 000116.log} (100%) rename packs/skills/{MANIFEST-000110 => MANIFEST-000114} (73%) diff --git a/module/rmfrp-attack-tables.js b/module/rmfrp-attack-tables.js index 47b2062..f340ce0 100644 --- a/module/rmfrp-attack-tables.js +++ b/module/rmfrp-attack-tables.js @@ -23048,161 +23048,6 @@ export const RMFRP_ATTACK_TABLES = { "result": "30-35" } ], - "grapple_critical": [ - { - "": "", - "A": "Foe escapes like the wind.", - "B": "Your attack falls short.", - "D": "A little elbow before you lose your grip. +2H", - "E": "You grip strand of foe's hair. It breaks. +3H", - "result": "01 05", - "c": "Your fingernails deal a vicious wound. +1 H" - }, - { - "": "", - "A": "", - "B": "", - "D": "", - "E": "", - "result": "", - "c": "" - }, - { - "": "", - "A": "Grab foe's arm. Oops. Try again. +0 H", - "B": "Your grip fails.", - "D": "This was not a special moment. +4H", - "E": "You have initiative next round. +5H", - "result": 45571, - "c": "Foe grabs, misses. You have initiative. +3H" - }, - { - "": "", - "A": "You impede foe's combat stance. You have the initiative.", - "B": "Foe collides with your attack before you get a grip. Small bruise.", - "D": "Grab foe's head. If foe has helm, you twist it. Otherwise, you gain initiative.", - "E": "Lame attack, but foe is concerned. He moves back.", - "result": 42309, - "c": "You cannot get a good grip, foe hurts himself evading. You have initiative." - }, - { - "": "", - "A": "+0 H", - "B": "+2H", - "D": "with helm:", - "E": "+6H _ x", - "result": "", - "c": "+4H" - }, - { - "": "", - "A": "Foe breaks free of a weak grip. You have the initiative next round.", - "B": "Grab foe and give him a weak punch. He thinks you are dangerous.", - "D": "Push foe, unbalancing him. You have initiative for 2 rounds.", - "E": "Strong passing blow near foe's head. His violent evasion is not productive.", - "result": "16-20", - "c": "Foe recovers, continues his defense by sweeping his weapon at your feet." - }, - { - "": "", - "A": "+0 H", - "B": "", - "D": "", - "E": "+3H", - "result": "", - "c": "" - }, - { - "": "", - "A": "Almost get a grip on foe's arm. He avoids his mistake. You gain the initiative next round.", - "B": "You grip foes shield arm. Foe's strike toward your head makes you let go of him. He keeps a distance.", - "D": "Hard, but poorly placed. Foe bounces back out of your grip. He looks like he does not recognize you.", - "E": "Uncoordinated attack and a little luck, allows foe to escape your grasp. You have initiative for 2 rounds.", - "result": "21-35", - "c": "Collide with foe. You push him away and he stumbles back 5 feet. It went better than you could have hoped." - }, - { - "": "", - "A": "+3 H", - "B": "X(-20)", - "D": "OH", - "E": "", - "result": "", - "c": "+2 H" - }, - { - "": "", - "A": "Grip to lower back. Foe wards off your attack and prepares for your next move.", - "B": "Grip fails, but bash does not. You unbalance your foe. You have the initiative.", - "D": "Strike to foe's shield arm. If foe has no shield, you immobilize arm for 6 rounds.", - "E": "Attack to upper leg. Foe spins to break free. He is disoriented badly. It takes a moment for him to see you.", - "result": "36-45", - "c": "Your attack is almost comical as you seek any little grip you can get. All the tiny tugs finally have an effect on foe." - }, - { - "": "", - "A": "", - "B": "+4H", - "D": "with shield: +3H", - "E": "St*", - "result": "", - "c": "" - }, - { - "": "", - "A": "Hinder foe's weapon arm. Foe violently frees himself and takes a defensive stance", - "B": "Pull foe over, he breaks free. He is", - "D": "Painful grip on foe's hand. You do not break anything, but he thinks so. You have initiative for 4 rounds", - "E": "You and foe collide. He breaks your grip and stumbles away. You bounce back and", - "result": "46-50", - "c": "Grab foe's waist. Your grip appeared to be strong, but now it is losing its advantage. Your foe is working free" - }, - { - "": "", - "A": "", - "B": "having trouble recovering. Your heart is", - "D": "", - "E": "", - "result": "", - "c": "" - }, - { - "": "", - "A": "defensive stance.", - "B": "broken.", - "D": "have initiative for 4 rounds.", - "E": "miss a good opportunity.", - "result": "", - "c": "advantage. Your foe is working free." - }, - { - "": "", - "A": "", - "B": "5H", - "D": "3(-30)", - "E": "2<28", - "result": "", - "c": "3(-25)" - }, - { - "": "", - "A": "You get in close and grab at foe's hair. He is daunted and steps back to escape your reach.", - "B": "Grip to foe's garments. They rip and you lose a hopeful hold. Foe is carried back by his break-away.", - "D": "Catch foe's waist garments and pull him in. He is in trouble. He seeks to strike your hand and break your hold.", - "E": "Grip to shield arm. Foe drops his shield as he wails in pain. You try to stay serous.", - "result": "51-55", - "c": "Grapple foe's leg and try to lift it up off the ground. Foe slips away, but is off balance while recovering." - }, - { - "": "", - "A": "%(-20)", - "B": "+7H", - "D": "3(-50)", - "E": "+5H -200\n", - "result": "", - "c": -4.2 - } - ], "grapple_grasp_envelop_swallow": [ { "1": "F", diff --git a/module/rmfrp-process-table.js b/module/rmfrp-process-table.js index f8eedb5..6942f6d 100644 --- a/module/rmfrp-process-table.js +++ b/module/rmfrp-process-table.js @@ -38,7 +38,7 @@ export class RMFRPProcessTable { minKey = element.result } } else { - console.error(`Element is not a number or a range`, element) + console.error(`Element is not a number or a range`, element, table) } } diff --git a/packs/skill_categories/000206.log b/packs/skill_categories/000210.log similarity index 100% rename from packs/skill_categories/000206.log rename to packs/skill_categories/000210.log diff --git a/packs/skill_categories/CURRENT b/packs/skill_categories/CURRENT index e75c8d4..704e06e 100644 --- a/packs/skill_categories/CURRENT +++ b/packs/skill_categories/CURRENT @@ -1 +1 @@ -MANIFEST-000204 +MANIFEST-000208 diff --git a/packs/skill_categories/LOG b/packs/skill_categories/LOG index c1bc075..54d5b15 100644 --- a/packs/skill_categories/LOG +++ b/packs/skill_categories/LOG @@ -1,8 +1,8 @@ -2025/01/18-15:51:04.184298 7f3b911f96c0 Recovering log #202 -2025/01/18-15:51:04.200991 7f3b911f96c0 Delete type=3 #200 -2025/01/18-15:51:04.201070 7f3b911f96c0 Delete type=0 #202 -2025/01/18-18:14:32.987104 7f3b8b3ff6c0 Level-0 table #207: started -2025/01/18-18:14:32.987144 7f3b8b3ff6c0 Level-0 table #207: 0 bytes OK -2025/01/18-18:14:32.993171 7f3b8b3ff6c0 Delete type=0 #205 -2025/01/18-18:14:33.006820 7f3b8b3ff6c0 Manual compaction at level-0 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end) -2025/01/18-18:14:33.006858 7f3b8b3ff6c0 Manual compaction at level-1 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end) +2025/01/18-18:15:46.177424 7f3b919fa6c0 Recovering log #206 +2025/01/18-18:15:46.187462 7f3b919fa6c0 Delete type=3 #204 +2025/01/18-18:15:46.187523 7f3b919fa6c0 Delete type=0 #206 +2025/01/18-18:19:43.034876 7f3b8b3ff6c0 Level-0 table #211: started +2025/01/18-18:19:43.034902 7f3b8b3ff6c0 Level-0 table #211: 0 bytes OK +2025/01/18-18:19:43.041054 7f3b8b3ff6c0 Delete type=0 #209 +2025/01/18-18:19:43.041200 7f3b8b3ff6c0 Manual compaction at level-0 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end) +2025/01/18-18:19:43.041231 7f3b8b3ff6c0 Manual compaction at level-1 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end) diff --git a/packs/skill_categories/LOG.old b/packs/skill_categories/LOG.old index e2a1600..c1bc075 100644 --- a/packs/skill_categories/LOG.old +++ b/packs/skill_categories/LOG.old @@ -1,8 +1,8 @@ -2025/01/18-00:13:31.909270 7f3b909f86c0 Recovering log #198 -2025/01/18-00:13:31.918640 7f3b909f86c0 Delete type=3 #196 -2025/01/18-00:13:31.918730 7f3b909f86c0 Delete type=0 #198 -2025/01/18-00:56:43.140225 7f3b8b3ff6c0 Level-0 table #203: started -2025/01/18-00:56:43.140265 7f3b8b3ff6c0 Level-0 table #203: 0 bytes OK -2025/01/18-00:56:43.176621 7f3b8b3ff6c0 Delete type=0 #201 -2025/01/18-00:56:43.215350 7f3b8b3ff6c0 Manual compaction at level-0 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end) -2025/01/18-00:56:43.274615 7f3b8b3ff6c0 Manual compaction at level-1 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end) +2025/01/18-15:51:04.184298 7f3b911f96c0 Recovering log #202 +2025/01/18-15:51:04.200991 7f3b911f96c0 Delete type=3 #200 +2025/01/18-15:51:04.201070 7f3b911f96c0 Delete type=0 #202 +2025/01/18-18:14:32.987104 7f3b8b3ff6c0 Level-0 table #207: started +2025/01/18-18:14:32.987144 7f3b8b3ff6c0 Level-0 table #207: 0 bytes OK +2025/01/18-18:14:32.993171 7f3b8b3ff6c0 Delete type=0 #205 +2025/01/18-18:14:33.006820 7f3b8b3ff6c0 Manual compaction at level-0 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end) +2025/01/18-18:14:33.006858 7f3b8b3ff6c0 Manual compaction at level-1 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end) diff --git a/packs/skill_categories/MANIFEST-000204 b/packs/skill_categories/MANIFEST-000208 similarity index 72% rename from packs/skill_categories/MANIFEST-000204 rename to packs/skill_categories/MANIFEST-000208 index e136670283aafe27c248d1b394a2c19cb454d8ad..6a26583c5ff53ebc52d3fe8bb3813a2b6a90c072 100644 GIT binary patch delta 43 tcmdnMxPfs(kBW0f$RchAMy895oD9sD7+J0{CfwMc1roUg61f5r0RR?E3)}zz delta 43 tcmdnMxPfs(kBZxqMVZ_Tj7(=4IT@JGF|u4^y#M^?F_6ePkjMp)2mm~o4TJyy diff --git a/packs/skills/000112.log b/packs/skills/000116.log similarity index 100% rename from packs/skills/000112.log rename to packs/skills/000116.log diff --git a/packs/skills/CURRENT b/packs/skills/CURRENT index a451d53..3182b19 100644 --- a/packs/skills/CURRENT +++ b/packs/skills/CURRENT @@ -1 +1 @@ -MANIFEST-000110 +MANIFEST-000114 diff --git a/packs/skills/LOG b/packs/skills/LOG index 0cb3859..b2590e7 100644 --- a/packs/skills/LOG +++ b/packs/skills/LOG @@ -1,8 +1,8 @@ -2025/01/18-15:51:04.203957 7f3b919fa6c0 Recovering log #108 -2025/01/18-15:51:04.219103 7f3b919fa6c0 Delete type=3 #106 -2025/01/18-15:51:04.219174 7f3b919fa6c0 Delete type=0 #108 -2025/01/18-18:14:33.000727 7f3b8b3ff6c0 Level-0 table #113: started -2025/01/18-18:14:33.000756 7f3b8b3ff6c0 Level-0 table #113: 0 bytes OK -2025/01/18-18:14:33.006724 7f3b8b3ff6c0 Delete type=0 #111 -2025/01/18-18:14:33.006839 7f3b8b3ff6c0 Manual compaction at level-0 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end) -2025/01/18-18:14:33.006865 7f3b8b3ff6c0 Manual compaction at level-1 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end) +2025/01/18-18:15:46.190110 7f3b909f86c0 Recovering log #112 +2025/01/18-18:15:46.200873 7f3b909f86c0 Delete type=3 #110 +2025/01/18-18:15:46.200953 7f3b909f86c0 Delete type=0 #112 +2025/01/18-18:19:43.027077 7f3b8b3ff6c0 Level-0 table #117: started +2025/01/18-18:19:43.027109 7f3b8b3ff6c0 Level-0 table #117: 0 bytes OK +2025/01/18-18:19:43.034763 7f3b8b3ff6c0 Delete type=0 #115 +2025/01/18-18:19:43.041192 7f3b8b3ff6c0 Manual compaction at level-0 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end) +2025/01/18-18:19:43.041225 7f3b8b3ff6c0 Manual compaction at level-1 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end) diff --git a/packs/skills/LOG.old b/packs/skills/LOG.old index 7ac1779..0cb3859 100644 --- a/packs/skills/LOG.old +++ b/packs/skills/LOG.old @@ -1,8 +1,8 @@ -2025/01/18-00:13:31.922156 7f3b919fa6c0 Recovering log #104 -2025/01/18-00:13:31.932378 7f3b919fa6c0 Delete type=3 #102 -2025/01/18-00:13:31.932448 7f3b919fa6c0 Delete type=0 #104 -2025/01/18-00:56:43.176725 7f3b8b3ff6c0 Level-0 table #109: started -2025/01/18-00:56:43.176750 7f3b8b3ff6c0 Level-0 table #109: 0 bytes OK -2025/01/18-00:56:43.215224 7f3b8b3ff6c0 Delete type=0 #107 -2025/01/18-00:56:43.215359 7f3b8b3ff6c0 Manual compaction at level-0 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end) -2025/01/18-00:56:43.274599 7f3b8b3ff6c0 Manual compaction at level-1 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end) +2025/01/18-15:51:04.203957 7f3b919fa6c0 Recovering log #108 +2025/01/18-15:51:04.219103 7f3b919fa6c0 Delete type=3 #106 +2025/01/18-15:51:04.219174 7f3b919fa6c0 Delete type=0 #108 +2025/01/18-18:14:33.000727 7f3b8b3ff6c0 Level-0 table #113: started +2025/01/18-18:14:33.000756 7f3b8b3ff6c0 Level-0 table #113: 0 bytes OK +2025/01/18-18:14:33.006724 7f3b8b3ff6c0 Delete type=0 #111 +2025/01/18-18:14:33.006839 7f3b8b3ff6c0 Manual compaction at level-0 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end) +2025/01/18-18:14:33.006865 7f3b8b3ff6c0 Manual compaction at level-1 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end) diff --git a/packs/skills/MANIFEST-000110 b/packs/skills/MANIFEST-000114 similarity index 73% rename from packs/skills/MANIFEST-000110 rename to packs/skills/MANIFEST-000114 index da7ca8d070eb26a113d7b5dcd34c9fc07d632f02..897526df236924a777240c4ae3fa13547ac610e4 100644 GIT binary patch delta 39 qcmZ3>xR!B3uR`axR!B3uYyje;X_UaMy7mD2Ic~m4z{l5KinXG0gzt=