Crocius777
Chieftain
- Joined
- Jun 12, 2015
- Messages
- 1
I'm extremely new to LUA and looking for general help in how I might go about doing two things:
First, make a civ's trait that any unit they kill is converted into their unique unit, a worker class unit.
Secondly, make this worker unit lose health whenever it spends a turn building, and be able to sacrifice itself to give production to a nearby city.
Also, as a sidenote, how can you give a worker unit combat strength without causing the game to crash when it engages in combat? Thanks.
First, make a civ's trait that any unit they kill is converted into their unique unit, a worker class unit.
Secondly, make this worker unit lose health whenever it spends a turn building, and be able to sacrifice itself to give production to a nearby city.
Also, as a sidenote, how can you give a worker unit combat strength without causing the game to crash when it engages in combat? Thanks.