keeperfx icon indicating copy to clipboard operation
keeperfx copied to clipboard

Suggestion for new special magic box?

Open ghost opened this issue 1 year ago • 2 comments

Some random ideas:

-Decrease Level: like increase level but reduce by 1 all levels of hostile. -Make Unsafe: like make safe but defortify all hostile walls. -Divide Creature: like multiply but divide all hostile creatures by 2. -Kill Creature: like ressurect but the list given is from what the computer keeper own and the player can pick up what to kill. -Steal Evil: it's like steal hero but instead it looks for EVIL and can steal from computer keeper. -Banish Creature: like transfer but the list given is from what the computer keeper own and the player can pick up what to banish, the banished creature will then spawn on the next map for the player (not for the computer).

Close this issue if you don't plan to add any of these.

ghost avatar Jun 20 '23 14:06 ghost

You can do half of these effect with script and custom special box, albeit it's some works and might not be ideal?

The half that seems impossible to do with script are Decrease Level, Divide Creature and Make Unsafe, I think. For Decrease Level I tought LEVEL_UP_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,-1) could work but apparently no it doesn't take negative number.

So for the others I gave it a quick look:

Kill Creature: you won't have a list but you can simply use KILL_CREATURE and with MOST_EXPERIENCED as criterion you get to kill their best minion.

Banish Creature: again no list but you can use CHANGE_CREATURE_OWNER then transfer it with TRANSFER_CREATURE altho it might require more work around to get the same minion with both command.

Steal Evil: very simple, use CHANGE_CREATURE_OWNER then MOVE_CREATURE with location set to LAST_EVENT so it will look like Steal Hero, however there is no way to check if the minion has the evil property.

walt253 avatar Jun 20 '23 14:06 walt253

This issue can probably be closed, everything proposed here can be done with script or was implemented recently.

The half that seems impossible to do with script are Decrease Level, Divide Creature and Make Unsafe, I think.

Divide Creature actually is very simple to do with script, silly past me.

Only Steal Evil requires more work with script (you have to check for evil creature indivually for each one for each player and make sure you only steal one).

walt253 avatar Jan 06 '24 04:01 walt253