Enemies attacked to object/Curse Party
Posted: Thu Dec 22, 2016 12:50 am
I'd like to make a puzzle where the player has to protect some sort of object. Let's just say a health crystal for talking point.
Basically the health crystal would be in the middle of the room and enemies would head towards the crystal instead of the party. When they reach it they start attacking it. (Health crystal would of course need a health value which I've already done in a previous dungeon.)
Any ideas for the code for the enemies? Also would they be able to handle more than one Health Crystal? Would I be able to add in like 2 or 3 of them in the room so they would have to pay attention to where all the mobs are compared to the crystals?
Second question is any ideas on how to do the following:
Basically I'd like to make a special poison cloud that when the player touch's it their screen turns slightly green and they have (x) seconds to reach a special spot in a room to remove the status effect or they die.
Basically the health crystal would be in the middle of the room and enemies would head towards the crystal instead of the party. When they reach it they start attacking it. (Health crystal would of course need a health value which I've already done in a previous dungeon.)
Any ideas for the code for the enemies? Also would they be able to handle more than one Health Crystal? Would I be able to add in like 2 or 3 of them in the room so they would have to pay attention to where all the mobs are compared to the crystals?
Second question is any ideas on how to do the following:
Basically I'd like to make a special poison cloud that when the player touch's it their screen turns slightly green and they have (x) seconds to reach a special spot in a room to remove the status effect or they die.