~ Forums of Enroth ~

An Enroth diehard fan community
HomeHome  FAQFAQ  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» Cartographers' Guild
by dodge Today at 18:02

» Is H3:SW 0.8 stable without using HD mod
by badlemon Today at 06:05

» Heroes III: The Succession Wars v0.8.0 Beta
by badlemon 2019-01-16, 09:36

» [EIP=0x59174188] Crash at start of the game
by Orzie 2019-01-16, 07:14

» [EIP=0x00426020] Crash During Enemy AI Turn - Division By 0
by Orzie 2019-01-16, 05:55

» Forum Admins Feed
by GodRage 2019-01-16, 02:26

» New spell Ideas for v0.9
by GodRage 2019-01-16, 02:08

"Wait" in HoMM2?
 80% [ 55 ]
 20% [ 14 ]
Total Votes : 69
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
H3SW General Discussion
H3SW: Dwelling Development
Heroes of Might and Magic 3: The Succession Wars - General info & Announcements
H3SW Map List: Work in progress
Welcome fellow Enrothians!
Enrothian Fan Art
H3SW Recruitment Point - Enroth Needs You!

Share | 

 [Script System][Suggestions] GetGlobalCreatureUpgradeCost(value) and more

Go down 

Messages : 459
Quality Points : 58
Registration Date : 2015-09-06

PostSubject: [Script System][Suggestions] GetGlobalCreatureUpgradeCost(value) and more   2017-03-16, 22:49

Currently, there is no way to check/change the global upgrade cost of creatures.



Returns the global value utilised to calculate the upgrade cost of creatures.

In original Heroes 2, this global value is "2". How is that calculated?

The upgrade cost of creature is calculated based on the price difference between the price of the base creature and the price of the upgraded creature.
This difference is multiplied by 2 to get the upgrade cost of creature.
This is applied for the cost in gold and the cost in resources.

So, the upgrade cost of creatures is 2 times the price difference for the gold and for the resources.


Sets the global value utilised to calculate the upgrade cost of creatures.

Example of use:


With this setting, the upgrade cost of creatures is equal to 1 time the price difference between the cost of the base creature and the cost of the upgraded creature.
Therefore, only the difference in price.
Back to top Go down
[Script System][Suggestions] GetGlobalCreatureUpgradeCost(value) and more
Back to top 
Page 1 of 1
 Similar topics
» [Script System][Suggestions] So, which expressions are the most desirable?
» One Woman in India dies every hour due to the dowry system
» Award system
» Latest Topics (new system)
» New Like/Dislike System for PunBB and PhpBB2

Permissions in this forum:You cannot reply to topics in this forum
~ Forums of Enroth ~ :: Modding Guild :: Heroes of Might and Magic II: Project Ironfist :: Modding and Mapmaking-
Jump to: