Hi, I’m encountering some challenges while trying to create a specific skill, and I need some help. Here’s what I’m aiming for:
I want to design a system where the player can use various guns in the same combat sequence. My idea is to treat gun attacks as skills. For the skill to work, I want the player to need a specific gun and bullets in their inventory. Additionally, each time the skill is used, one bullet should be consumed.
The skill should also have its damage calculation influenced by two factors: the actor's intelligence stat and the target’s defense stat. Plus, I’d like the skill to deal elemental damage based on these stats.
Here’s what I’ve tried so far: I initially attempted to use a common event with the "deal damage" command. At first, I thought I could only assign a fixed value to the damage, but that didn’t work for me. So, I tried using a variable that adjusts the damage based on the actor's intelligence and the enemy’s defense. However, I ran into an issue where the intelligence stat used for damage was always tied to the same actor, no matter who activated the skill.
If anyone has any suggestions or advice on how to resolve this, I’d really appreciate your help!
Thanks in advance!
I want to design a system where the player can use various guns in the same combat sequence. My idea is to treat gun attacks as skills. For the skill to work, I want the player to need a specific gun and bullets in their inventory. Additionally, each time the skill is used, one bullet should be consumed.
The skill should also have its damage calculation influenced by two factors: the actor's intelligence stat and the target’s defense stat. Plus, I’d like the skill to deal elemental damage based on these stats.
Here’s what I’ve tried so far: I initially attempted to use a common event with the "deal damage" command. At first, I thought I could only assign a fixed value to the damage, but that didn’t work for me. So, I tried using a variable that adjusts the damage based on the actor's intelligence and the enemy’s defense. However, I ran into an issue where the intelligence stat used for damage was always tied to the same actor, no matter who activated the skill.
If anyone has any suggestions or advice on how to resolve this, I’d really appreciate your help!
Thanks in advance!