| 02-27-2009, 12:30 PM | #1 |
An addition I'm adding to my RPG is mercenaries, atm they work nearly perfect. Mercs work from 2 Dummy skills and 1 normal skill, each skill having 55 levels (The max level of a hero in the RPG) When you purchase a Merc the levels of these skills are automatically set to your heroes level. (EX. Level 9 hero buys a Merc, the skills are set to level 9) The 2 Dummy skills increase the life of the merc and the damage. The normal one is a regular skill. Now atm the dummy damage skill and the normal skill work, however the life skill only works at level 1 and does not give bonus life at any other level. I used the Bonus Life Gain item skill for this (To keep it from having an icon and such) I've had an issue with this spell in the past but it was on a hero so I substituted it with a Str gain, since Mercs are normal units however this wouldn't work. Is there a solution to this? Other than individually turning the spell into 55 seperate spells and triggering it to remove the previous one and add the new one. ------------------------- An idea I came up with this morning is possibly just setting the ability to level 1 and putting it on a tome and have the level trigger give the tome to the Merc since each level of the skill gives a constant factor of life. Though this could cause lag when a player hires a merc at a high level and the merc suddenly recieves 30+ tomes lol. |
| 02-27-2009, 03:28 PM | #2 | |
Quote:
|
| 02-28-2009, 01:55 AM | #3 |
I actually started trying to use tomes that are given to the Merc whenever the hero levels, and it works fine. The only issue is that I have is that I put a trigger that is supposed to give the Merc an ammount of tomes equal to the heroes level so that if say your merc died it can be replaced with the same life/dmg ect. It's only giving 1 tome however and I don't know why =/ Guess I could try implementing one of those systems, though I really wanted to keep it kinda simple lol. |
| 02-28-2009, 02:58 AM | #4 |
Those systems are probably the simplest. Try using a timer with a 0.0 second repeat to give the tomes one at a time, instantly. |
| 02-28-2009, 10:55 AM | #5 |
you cant level down in your rpg can you? I would just use upgrades give your hero a Hp upgrade then every time you level up set level of upgrade +1. |
| 02-28-2009, 11:59 AM | #6 |
The trigger used an upgrade before but no matter what I tried for some reason it wasn't working lol. |
| 02-28-2009, 02:23 PM | #7 |
Got it to work finally :D I had deleted the upgrades before after they weren't working and had put them back in last night and forgot to give them 55 levels lol, so now it works perfectly fine. Though I don't know why it didn't work before when I was using upgrades =/ |
