If you are interested in creating custom Lua scripts for Hero Realms Digital VS AI games, please download the documentation and check sample scripts below. Previous experience with Lua is highly recommended, before trying to create any scripts.
- online_no_heroes_1_2.lua – No skills and abilities, standard starting decks 8 gold, 2 combat.
- online_double_health_1_2.lua – Simple start of game double health effect.
- example_sibling_rivalry_effect_1_2.lua – Choice effect, creating cards at players’ skills location. Combat and gold yield modification.
- example_script_vs_ai_advanced_deck_management_1_2.lua – Trade deck modification. Various game setup modifiers.
If you have questions or comments, please visit the #hr-lua-scripting channel in our Discord server.