Hello! I was hoping someone could help me create a script that can assign "Types" to enemies. To better explain, types are just the monster's defensive element. For example, all Flying type Pokemon are weak to electric, rock, and ice attacks, while resisting steel and fighting attacks, and additionally, are immune to ground attacks. While this is possible to set up with element rates for each monster, with several hundred monsters that I'm hoping to apply types to, I'm hoping this could greatly reduce the workload of setting them each up individually, as well as allow for future-proofing, in case I change any type weaknesses/resistances in the future. Pretty much what I'm hoping to have is an editable section in the script, set up something like this: 1 => "Flying", [2,3,4], [5,6],  In which: 1 is the element ID in the database "Flying" is the name of the element, used in a note tag below [2,3,4] are the weaknesses, that deal 200% damage [5,6] are the resistances, that deal 50% damage  are the immunities, that deal no damage Once that's set up, I'm hoping to have a note tag along the lines of <PKtype: Flying, Fire> to give an enemy, and give them their appointed weaknesses/resistances/immunities. There are some creatures that are duel type (such as the Flying and Fire example above). In such cases, those types' weaknesses/resistances/immunities would combine. For example, if they were both weak to Rock element attacks, then the damage would become 400%. Likewise, if they both resisted Steel attacks, they would only receive 25% damage. Lastly, imminities outweigh anything else, meaning if flying is immune to Ground attacks, but fire is weak to them, then the flying/fire monster is still immune. I didn't really realize how massive of a request this was until I sat down and typed it all out, I'm sorry if it's overwhelming. I hope this all makes some sense. By all means, let me know if you have any questions. Thank you!