Firestalker5
Member
First, what is the syntax for checking the elemental affiliation of an enemy?
I've made a common event that is called when you cast a certain spell. I would like the effects to be affected by the elemental affiliation of the enemy it's targetted. There a way to do that using scripts? Is it possible from a common event [since common events don't have enemy placement information]? Is it possible at all?
Is there a way to check the number of enemies in a troop from a common event? Then use that number to check the element effectiveness for each member of the troop? And finally, what if I wanted to find the element affinity for "Earth"?
Actually you know what.... Is there way a way to just check for a certain element affinity without checking all the enemies in a troop? Like if I use a conditional Branch saying;
Or something to the like? Something that automatically checks the enemies in the troop for this affinity and acts accordingly?
Is that possible?
Thanks in advance,
Firestalker
I've made a common event that is called when you cast a certain spell. I would like the effects to be affected by the elemental affiliation of the enemy it's targetted. There a way to do that using scripts? Is it possible from a common event [since common events don't have enemy placement information]? Is it possible at all?
Is there a way to check the number of enemies in a troop from a common event? Then use that number to check the element effectiveness for each member of the troop? And finally, what if I wanted to find the element affinity for "Earth"?
Actually you know what.... Is there way a way to just check for a certain element affinity without checking all the enemies in a troop? Like if I use a conditional Branch saying;
Code:
If "Element affinity = B" then
damage 50%
end
Is that possible?
Thanks in advance,
Firestalker