![]() |
|
#11
|
|||
|
|||
|
Glad it is now working for you - was starting to drive me crazy!
The third parameter for Rune Stone is for it to give the proper number of runes when you get the skill. So parameter 1 is for showing you how many runes you'll get, but parameter 3 is for actually giving you the right amount since the way the SKILLS.LUA worked is that it would only give you the difference between the current and previous level. Parameter 2 is for the defense increase. So for level 1: +5, +1, +5 you get 5 Might and Magic Runes for 5 Mind Runes. For level 2: +10, +3, +15 you get 10 Might and Magic Runes for 10 Mind Runes, but in order for it to work properly you have to specifiy +15 since it takes the difference between +15 and +5. For level 3: +15, +6, +30 the same as above, it is +30 less +15 so +15 Might and Magic for 15 Mind Runes. I actually had this wrong when implemented the first time (i.e. I just had +10, +3) and I only got 5 Might and Magic Runes when I went to the second level and that's when I discovered the above and added the third parameter. Hope that explains it - I guess I decided to do it this way for some reason, but can't remember why at the moment... /C\/C\ Quote:
|
| Thread Tools | |
| Display Modes | |
|
|