• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Galaxy Editor DnD Combat System and Block/Dodge Question - ISO HELP!

Status
Not open for further replies.
Level 2
Joined
Oct 27, 2017
Messages
7
EDIT: I know the title says Galaxy Editor (Sc2 Editor) But I've lurked around and messed around in world editor a lot as well lately, and you all seem very knowledgeable and able with the tools Blizzard has given us, so I figured I'd ask the good ol' world editor community, I hope thats not too big of an issue, as I say below I think this would be a really interesting feature if it was implemented, so don't hate me too much. :pwink:

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. :prazz:
 
Last edited:
Level 2
Joined
Oct 27, 2017
Messages
7
Editing my post too much so I'll use a reply:



EDIT 2: I may be wrong about the rolling a die equal to your damage, actually the way it would be is you roll a d20 (20 Sided die) To do an AC check to even see if the blow connects, THEN you roll lets say a 6 sided die for damage... I'll have to figure out a way to determine Unit AC's and how to factor if a hit lands before the damage actually. Sorry for any confusion, I'll link the page on the handbook so you can examine it and actually see whats going on, my explanations aren't exactly the best I feel, and as I said I'm not super familiar with DnD. =o

Dnd AC link - Armor Class | Pathfinder on Roll20 Compendium
 
Level 13
Joined
Oct 12, 2016
Messages
769
This can also be accomplished without triggers. I suggest playing around with the "Hardened Skin" ability or "Evasion" ability in the object editor.

Hardened Skin can be modified to completely negate attack damage up to whatever amount you set, and you can make it have a % chance to block this damage.
 
Level 2
Joined
Oct 27, 2017
Messages
7
Hmm I'll have to play around with the triggers to see if I can get going in that direction, and Work that's awesome I had no idea that ability was so similar, thank you guys :) my only replies were here in the wc3 section so good thing I posted it here by accident I guess :p


Sorry for poor formatting on mobile atm.

But thanks a bunch guys, if anyone wants to suggest a trigger trick id be super grateful :p but thanks for everything already :D
 
Level 13
Joined
Oct 12, 2016
Messages
769
Hmm. This idea kind of inspires me to make an RTS mod using some DnD rules with low damage values and low health values.

I'm thinking something like:
Knight: 12 hp, 1 to 5 damage, hardened skin (80% chance to block up to 5 damage)
Footman: 8 hp, 1 to 4 damage, hardened skin (50% chance to block up to 4 damage), defend (50% chance to reduce piercing damage by 100%)

Something like this example could prove to be rather interesting and dynamic for large scale combat, where some soldiers just get extremely lucky and others die within seconds.
In case you were wondering, this is completely doable without any triggers at all: it's all just creative object editor modifications.
 
Status
Not open for further replies.
Top