- Joined
- Mar 12, 2007
- Messages
- 3
I am making an RPG map and to aquire spells you buy them from shops (u buy an item and the spell is automatically given to u), i tried a system that check the level by creating a unit every time u bought the spell which sets a variable to the number of units in that region, then another variable records what the item you bought is.
When the hero hits a certain level they transform into a more powerful form, but i did this by basically removing the old unit and replacing it with a new one, So the new hero wouldn't have any spells. I tried to make a system that when you transformed it basically gave u the items for the spells.
The problem with this system is that every hero can have 7 different spells, each can have 7 levels. So this overloads the game and it closes
And so far i haven't been able to find a different way of getting it to work.
Help would b greatly appreciated,
Thanx.
When the hero hits a certain level they transform into a more powerful form, but i did this by basically removing the old unit and replacing it with a new one, So the new hero wouldn't have any spells. I tried to make a system that when you transformed it basically gave u the items for the spells.
The problem with this system is that every hero can have 7 different spells, each can have 7 levels. So this overloads the game and it closes
And so far i haven't been able to find a different way of getting it to work.
Help would b greatly appreciated,
Thanx.