1C Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official 1C Company forum > 1C Publishing > King's Bounty > King's Bounty: The Legend > Tips and Hints

Tips and Hints Different solutions, tips and hints.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #12  
Old 08-17-2012, 12:42 AM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 549
Exclamation Only in my mod

This is right - only in my mod do you have variable leadership / attribute / mana / rage increases - the range is based on your class / level.

This is one of the "flavorings" I added to the game to make level up choices more interesting, since after a certain point, in the stock game it was advised to always take leadership when given the choice. Now, though, you'll have more strategic selections in your level up choices throughout the entire game and leadership is no longer always the best choice for your character.

By the way, there are at least two random functions: Game.Random and Game.CurLocRand. The first one is used for most probability stuff and is what is the same for repeating battles, etc. The second one is used when you want the randomness to be tied to your map location and it seems like I see more AP / CW LUA functions using CurLocRand as opposed to just Random. For example the Adventurer Spells use CurLocRand, that's why you can get a different unit based on where you are.

In my mod, the reason why you see different level up choices based on where you are is because you are fighting a different battle and thus changing the seed for Random in some way.

Hope that explains some of the confusion...

/C\/C\
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:24 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 2007 1C Company. All rights reserved.