Hey, i just was testing Wyrmsun this days, and want to know if there is a way of script to allow heroes level progression in Wargus, based on this:
-Get kills to increase level
-Each level you gain spelll/skill
-Some spells will need level requierements
How to implement level system and spells??
-
- Posts: 87
- Joined: Wed May 21, 2014 6:26 am
Re: How to implement level system and spells??
Doom Wars heroes have that. Their abilities (or spells) increase in strength for each level gained (Doomer's spheres will increase their duration and Belial's abilities gain additional strength)
To control level gain, use OnEachSecond and OnEachCycle Lua callbacks for units (use DW heroes as reference)
For level requirements on buttons use Allowed = "check-unit-variable" in DefineButton (used in DW too)
To control level gain, use OnEachSecond and OnEachCycle Lua callbacks for units (use DW heroes as reference)
For level requirements on buttons use Allowed = "check-unit-variable" in DefineButton (used in DW too)
-
- Posts: 87
- Joined: Wed May 21, 2014 6:26 am
Re: How to implement level system and spells??
Ok, i can check those files but im still lose, how to use custom variable and implement it into the "ui", also there is a level system in wargus, but is currently only controlled by the number of upgrades for each unit, and i cannot figure out in the code where to control that, which scripts??