I was wondering if someone could give me an example of a Trait Script which targets an enemy's magic resistance levels and acts accordingly. For example: say your party member is a wizard and the both of you are fighting a Giant, who has 100 earth resistance but - 100 wind resistance. How can i get the wizard to use a wind spell on the giant based off his resistance levels.
So far the only way i've been able to accomplish a similiar result is by assigning battle variables to each of my monsters corresponding to different elements and having the AI check for these different battle variables. In other words, i can get him to check for battle variable 1 and use a wind spell if the monster has such a variable assigned to him. But i've been unable to find a way for him to check specific resistances, such as equal to or less than -1 earth resistance.
So far the only way i've been able to accomplish a similiar result is by assigning battle variables to each of my monsters corresponding to different elements and having the AI check for these different battle variables. In other words, i can get him to check for battle variable 1 and use a wind spell if the monster has such a variable assigned to him. But i've been unable to find a way for him to check specific resistances, such as equal to or less than -1 earth resistance.



5198-2124-7210 Smash
Comment