PompiPompi
Man with forever hair
- Joined
- Jul 22, 2019
- Messages
- 3,009
In a rogue like game. Or a tile based RPG.
How do you implement casting a spell or using a skill?
Specifically, how do you implement using a skill that enhance your next attack?
It means that after using the skill, you need to click an enemy, also it might depend on the weapon you use.
So let's say I have "Empower Sowrd", or something.
What happens if:
1) Character isn't holding a sword.
2) Character is holding a sword, but there is no enemy near by.
3) Character hold a sword, there is an enemy, but now character wants to walk instead or do something else?
Do you let the player cancel the skill and return the mana if he didn't use it?
How do you implement casting a spell or using a skill?
Specifically, how do you implement using a skill that enhance your next attack?
It means that after using the skill, you need to click an enemy, also it might depend on the weapon you use.
So let's say I have "Empower Sowrd", or something.
What happens if:
1) Character isn't holding a sword.
2) Character is holding a sword, but there is no enemy near by.
3) Character hold a sword, there is an enemy, but now character wants to walk instead or do something else?
Do you let the player cancel the skill and return the mana if he didn't use it?