Hey all, I just recently started working with the map editor and it's a blast, but I've sort of hit a wall with an idea I'd like to implement, I'm not sure if you're familiar with Dungeons and Dragons 5e style combat, but basically....
Say you want to attack someone, they have an "Armor Class" (AC) and you "Roll" for your attack.
From the DnD handbook "When you make an attack, your attack roll determines whether the attack hits or misses. To make an attack roll, roll a d20 and add the appropriate modifiers. If the total of the roll plus modifiers equals or exceeds the target’s Armor Class (AC), the attack hits. The AC of a character is determined at character creation, whereas the AC of a monster is in its stat block."
I would really like to implement a system similar to that, so let's say your Unit does 1-5 Damage, and the Creep has an AC of 3, when you attack the unit a dice roll or something is simulated, and if you roll 1-2 0 Damage is taken, but then if you roll the 3-5 It hits for whatever was rolled.
Note: I was thinking about also keeping the base armor system in the game, but here is my issue. I honestly am not familiar enough with DnD, I haven't played nearly enough to be an authority on the subject but I'm fairly sure, that your AC is basically your Armor, Dodge, etc.. all in one. A rouge could have a high AC from Attributes and Light Armor, where a warrior could be fully clad in heavy metal armor hence the high AC I supposed I could change the system a bit and incorporate a "Dodge-esque"
type system, and then when you actually are hit and would take damage, equipped armor would then kick in and give you say a 20% reduction on the damage
ALSO, I just had this idea as well and I know I should search first because honestly this might be a perfect start for what I need but also does anyone know of a way to incorporate a Blocking feature or Dodge Chance as well, I know these are sort of off topic but I think you can see how they're similar.. I think it just comes down to I need a way to make certain attacks do 0 damage to the unit when certain circumstances arise.
This is really all theory crafting at the moment, I'm only a few days into learning still and switched to Galaxy Editor from World Editor so I have a basic understanding of triggers, and am about to dive into the code, but I think I might not be the only one who would enjoy this system and would really appreciate any help or points in the right direction.
Say you want to attack someone, they have an "Armor Class" (AC) and you "Roll" for your attack.
From the DnD handbook "When you make an attack, your attack roll determines whether the attack hits or misses. To make an attack roll, roll a d20 and add the appropriate modifiers. If the total of the roll plus modifiers equals or exceeds the target’s Armor Class (AC), the attack hits. The AC of a character is determined at character creation, whereas the AC of a monster is in its stat block."
I would really like to implement a system similar to that, so let's say your Unit does 1-5 Damage, and the Creep has an AC of 3, when you attack the unit a dice roll or something is simulated, and if you roll 1-2 0 Damage is taken, but then if you roll the 3-5 It hits for whatever was rolled.
Note: I was thinking about also keeping the base armor system in the game, but here is my issue. I honestly am not familiar enough with DnD, I haven't played nearly enough to be an authority on the subject but I'm fairly sure, that your AC is basically your Armor, Dodge, etc.. all in one. A rouge could have a high AC from Attributes and Light Armor, where a warrior could be fully clad in heavy metal armor hence the high AC I supposed I could change the system a bit and incorporate a "Dodge-esque"
type system, and then when you actually are hit and would take damage, equipped armor would then kick in and give you say a 20% reduction on the damage
ALSO, I just had this idea as well and I know I should search first because honestly this might be a perfect start for what I need but also does anyone know of a way to incorporate a Blocking feature or Dodge Chance as well, I know these are sort of off topic but I think you can see how they're similar.. I think it just comes down to I need a way to make certain attacks do 0 damage to the unit when certain circumstances arise.
This is really all theory crafting at the moment, I'm only a few days into learning still and switched to Galaxy Editor from World Editor so I have a basic understanding of triggers, and am about to dive into the code, but I think I might not be the only one who would enjoy this system and would really appreciate any help or points in the right direction.