Hello, as mefistotelis and YourMaster have helped me for the scripting commands, I have got stuck once again, maybe about misunderstanding criteria
Here is the script ( the part of needed one)
Code:
LEVEL_VERSION(1)
ADD_CREATURE_TO_POOL(IMP,20)
CREATURE_AVAILABLE(ALL_PLAYERS,IMP,0,0)
IF(PLAYER1,TOTAL_DIGGERS >= 13)
MAGIC_AVAILABLE(PLAYER1,POWER_IMP,0,0)
ENDIF
IF(PLAYER1,TOTAL_DIGGERS <= 12)
MAGIC_AVAILABLE(PLAYER1,POWER_IMP,1,1)
ENDIF
IF(PLAYER2,TOTAL_DIGGERS >= 13)
MAGIC_AVAILABLE(PLAYER2,POWER_IMP,0,0)
ENDIF
IF(PLAYER2,TOTAL_DIGGERS <= 12)
MAGIC_AVAILABLE(PLAYER2,POWER_IMP,1,1)
ENDIF
IF(PLAYER3,TOTAL_DIGGERS >= 13)
MAGIC_AVAILABLE(PLAYER3,POWER_IMP,0,0)
ENDIF
IF(PLAYER3,TOTAL_DIGGERS <= 12)
MAGIC_AVAILABLE(PLAYER3,POWER_IMP,1,1)
ENDIF
As you can see, I want to restrict the amount of Total imps. It is using probably a latest script command method, but it is not working properly.
Problem: Every player, Human or computer can have more than 13 imps without any restrictions. Same happens if lowering the limit, no limit is showing up
Any ideas?