View Single Post
  #9  
Old 05-17-2012, 10:20 PM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 553
Default Whew! Glad it now works! :-)

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:
Originally Posted by Fatt_Shade View Post
I managed to fix this, but have no idea what was problem. I updated again lates mod version, and now it works fine.

On other note : in skills.txt what is 3rd parameter in rune stone skill ?
Code:
      3 {
        deps=1
        runes=0,15,0
        trade=
        pars=+15,+6,+30
      }
+15 =bonus runes you get when lvlup skill, +6 =hero defense , +30 =???
Reply With Quote