StatiZkyZ replied to StatiZkyZ's topic in ProgrammingHmm, I think I get the gist of it. But I'm not sure what does this mean, can you please make it more clear? Thanks for responding, by the way
StatiZkyZ posted a topic in ProgrammingHello, me, a complete noob in scripting, want to get some help. I want to create an enemy that's able to counterattack if they are in a certain state or 'stance'. The game does have the 'counterattack' state that has the general idea, but I want to make it slightly more complex. First, I want to try to make a state of counterattack that will only counter magic attacks. Normal attacks will still do damage, but it will evade magic attack sort of case. Second, the game's normal counterattack state only counters with a normal attack. Is there a way to make the enemy counter with, say, a spell instead? Of course, they will only attack the player that attacks them last. Can anyone help me?