From 7e5c8d05ab42ec78bb2394f141d7154255174212 Mon Sep 17 00:00:00 2001 From: OMGeeky <> Date: Tue, 23 Sep 2025 20:26:58 +0200 Subject: [PATCH] improve hints on who is getting what effect on hit / hit-received for npcs --- .../rpg/atcontentstudio/ui/gamedataeditors/NPCEditor.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/NPCEditor.java b/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/NPCEditor.java index b854519..140893e 100644 --- a/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/NPCEditor.java +++ b/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/NPCEditor.java @@ -59,10 +59,9 @@ public class NPCEditor extends JSONElementEditor { private JSpinner blockChance; private JSpinner dmgRes; - private final CommonEditor.HitEffectPane hitEffectPane = new CommonEditor.HitEffectPane<>("Effect on every hit: ", this, null, null); - private final CommonEditor.HitReceivedEffectPane hitReceivedEffectPane = new CommonEditor.HitReceivedEffectPane<>("Effect on every hit received: ", this, "attacked", - "attacker"); - private final CommonEditor.DeathEffectPane deathEffectPane = new CommonEditor.DeathEffectPane<>("Effect when killed: ", this, "attacker"); + private final CommonEditor.HitEffectPane hitEffectPane = new CommonEditor.HitEffectPane<>("Effect on every hit: ", this, null, "player"); + private final CommonEditor.HitReceivedEffectPane hitReceivedEffectPane = new CommonEditor.HitReceivedEffectPane<>("Effect on every hit received: ", this, "npc", "player"); + private final CommonEditor.DeathEffectPane deathEffectPane = new CommonEditor.DeathEffectPane<>("Effect when killed: ", this, null); private JPanel dialogueGraphPane; private DialogueGraphView dialogueGraphView;