For the damage increaser you need to create a permanent Behavior that does +1 dmg. Then you can use the action Add Behavior to add it to the unit.
The other question... seems ok. Are you sure Shop button is correctly assigned to the dialog item? Paste the code here. And be sure you are the Player 1.
Looks fine. But to increase damage go into the data editor and click the behaviour tab. Then right click -> add behaviour. Then make an effect that increases damage by 1 and make the stack level to -1. Then just apply that to the unit.
Im making a shop and i want to make a damage increaser so every time u click a button it increases the damage of your unit with 1 damage.
Thx
Another question:
My button wont work. I use this trigger:
but when i click the button nothing happends, why?
For the damage increaser you need to create a permanent Behavior that does +1 dmg. Then you can use the action Add Behavior to add it to the unit.
The other question... seems ok. Are you sure Shop button is correctly assigned to the dialog item? Paste the code here. And be sure you are the Player 1.
@fr0d0b0ls0n: Go
1. but how do you create a pernament Behaver that does +1 dmg?
2. here is the trigger:
/bumb
super bumb, please help!!!!!
@thommiej: Go
Looks fine. But to increase damage go into the data editor and click the behaviour tab. Then right click -> add behaviour. Then make an effect that increases damage by 1 and make the stack level to -1. Then just apply that to the unit.
@wOlfLisK: Go
it looks fine but it wont work, when i click the button nothing happends, so i also cant test the damage thingy ...
Nm..