fixing waaagh effect

This commit is contained in:
Marek Kembrowski 2024-06-04 15:58:16 +02:00
parent 4acd2fe281
commit dbb7072913
18 changed files with 18 additions and 30 deletions

View File

@ -1,4 +1,4 @@
Hooks.on("ready", () => { Hooks.on("init", () => {
const config = { const config = {
magicLores: { magicLores: {
@ -42,7 +42,7 @@ Hooks.on("ready", () => {
} else { } else {
ChatMessage.create({ content: "Gorka Morka takes your advantages!" }); ChatMessage.create({ content: "Gorka Morka takes your advantages!" });
this.actor.update({ "system.status.advantage.value": Math.max(this.actor.status.advantage.value -1, 0) }, {skipGroupAdvantage: true}); this.actor.update({ "system.status.advantage.value": Math.max(this.actor.status.advantage.value -1, 0) }, {skipGroupAdvantage: true});
this.effect.sourceTest.actor.update({ "system.status.advantage.value": this.parent.system.status.advantage.value }, {skipGroupAdvantage: true}); this.effect.sourceTest.actor.update({ "system.status.advantage.value": this.effect.sourceTest.actor.status.advantage.value + 1}, {skipGroupAdvantage: true});
} }
`, `,
options : { options : {

View File

@ -1 +1 @@
MANIFEST-000014 MANIFEST-000016

View File

@ -1,3 +1,3 @@
2024/06/04-14:56:57.099 3d1c Recovering log #13 2024/06/04-15:41:52.709 7048 Recovering log #15
2024/06/04-14:56:57.116 3d1c Delete type=0 #13 2024/06/04-15:41:52.728 7048 Delete type=0 #15
2024/06/04-14:56:57.116 3d1c Delete type=3 #12 2024/06/04-15:41:52.728 7048 Delete type=3 #14

View File

@ -1 +1 @@
MANIFEST-000014 MANIFEST-000016

View File

@ -1,3 +1,3 @@
2024/06/04-14:56:57.133 4fa0 Recovering log #13 2024/06/04-15:41:52.744 4d7c Recovering log #15
2024/06/04-14:56:57.148 4fa0 Delete type=0 #13 2024/06/04-15:41:52.762 4d7c Delete type=0 #15
2024/06/04-14:56:57.149 4fa0 Delete type=3 #12 2024/06/04-15:41:52.763 4d7c Delete type=3 #14

View File

@ -1 +1 @@
MANIFEST-000014 MANIFEST-000016

View File

@ -1,3 +1,3 @@
2024/06/04-14:56:57.007 3d1c Recovering log #13 2024/06/04-15:41:52.632 7048 Recovering log #15
2024/06/04-14:56:57.021 3d1c Delete type=0 #13 2024/06/04-15:41:52.653 7048 Delete type=0 #15
2024/06/04-14:56:57.021 3d1c Delete type=3 #12 2024/06/04-15:41:52.654 7048 Delete type=3 #14

View File

@ -1 +1 @@
MANIFEST-000016 MANIFEST-000021

View File

@ -1,15 +1,3 @@
2024/06/04-15:38:18.105 1c30 Recovering log #15 2024/06/04-15:41:52.674 4d7c Recovering log #18
2024/06/04-15:38:18.119 1c30 Delete type=0 #15 2024/06/04-15:41:52.698 4d7c Delete type=0 #18
2024/06/04-15:38:18.119 1c30 Delete type=3 #14 2024/06/04-15:41:52.699 4d7c Delete type=3 #16
2024/06/04-15:38:18.128 9ca0 Level-0 table #19: started
2024/06/04-15:38:18.134 9ca0 Level-0 table #19: 19922 bytes OK
2024/06/04-15:38:18.140 9ca0 Delete type=0 #17
2024/06/04-15:38:18.141 9ca0 Manual compaction at level-0 from '!items!1jwCu9svFISETHTj' @ 72057594037927935 : 1 .. '!items!yc9nQVXrtd1uWykG' @ 0 : 0; will stop at '!items!yc9nQVXrtd1uWykG' @ 33 : 1
2024/06/04-15:38:18.141 9ca0 Compacting 3@0 + 0@1 files
2024/06/04-15:38:18.148 9ca0 Generated table #20@0: 33 keys, 19922 bytes
2024/06/04-15:38:18.148 9ca0 Compacted 3@0 + 0@1 files => 19922 bytes
2024/06/04-15:38:18.153 9ca0 compacted to: files[ 0 1 0 0 0 0 0 ]
2024/06/04-15:38:18.153 9ca0 Delete type=2 #5
2024/06/04-15:38:18.153 9ca0 Delete type=2 #10
2024/06/04-15:38:18.154 9ca0 Delete type=2 #19
2024/06/04-15:38:18.154 9ca0 Manual compaction at level-0 from '!items!yc9nQVXrtd1uWykG' @ 33 : 1 .. '!items!yc9nQVXrtd1uWykG' @ 0 : 0; will stop at (end)

Binary file not shown.