Got a few questions on a function that I’m trying to create. My main question pertains to this part of the function:
My function inputs:
Get Attackers Attack Type (either Physical or Special)
Get Attackers Attack Element
Get Defenders Defense Type (either Physical or Special)
Get Defenders Elem Resist(.5), Weakness(2), Absorb(-1), Nullify(0) Arrays
How do I go about doing that? Most of the special attacks are going to be projectiles (I’m using the “laser” created in the twin stick shooter tutorial as a base for my projectiles though I plan on changing it in the future, dunno how I’m going to change it though) My main problem is determining who attacked and who got hit.