~ Forums of Enroth ~

An Enroth diehard fan community
HomeHome  ChatChat  FAQFAQ  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» Heroes III: The Succession Wars 10th Anniversary
by Graion Dilach 2018-11-09, 05:52

» [Ironfist ver 1.3.0] Bugs with info of spells
by Darmani 2018-11-06, 13:43

» Paul Romero - Russian Tour September 2018
by GodRage 2018-11-06, 05:17

» H3SW: General Graphics discussion
by GodRage 2018-11-06, 05:09

» H1 Masquerade by Morglin
by GodRage 2018-11-06, 04:59

» [PL, EN] 20+ new XL scenarios from Huntka!
by Uhm 2018-11-04, 02:50

» [Ironfist ver 1.3.0+] Bug with fonction OnLocationVisit(type, x, y)
by Unknown_Hero 2018-10-16, 23:49

"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
H3SW Map List: Work in progress
Heroes of Might and Magic 3: The Succession Wars - General info & Announcements
Welcome fellow Enrothians!
Enrothian Fan Art
Dervish Faction General Concept

Share | 

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

Go down 

Messages : 398
Quality Points : 56
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
» Minecraft's Coordinate System
» Award system
» Latest Topics (new system)

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: