Connection ErrorBad RequestThis page went staleSession ExpiredSign in requiredForbiddenNot FoundToo Many RequestsServer ErrorBad GatewayService UnavailableGateway TimeoutHTTP Version Not Supported
Session Expired
Your session has expired. Please log in to continue.
Sign in required
You need an account to do that. Sign in or create one — it only takes a minute.
This page went stale
Your security token was rejected, usually because the page sat open too long or you signed in elsewhere. Nothing was saved. Reload the page and try again.
Request Failed
We encountered an issue while processing your request.
Please check your internet connection and try again.
Has anyone tried changing the area of effect of spells during battle? For example, allowing the casting of Antimagic or Bless on enemy units. As far as I understand, this cannot be done with standard commands. I tried to find it using ArtMoney, perhaps some byte controls the target of the spell, but I haven't had any success yet. I found addresses that reference spell descriptions, but I don't understand what's there and how it works. Changes in those areas don't seem to affect anything, and it's also unclear whether to look up or down from the pointer.
In general, I want to make it so that Antimagic can be cast when a specific artifact is present, with the option to target only allies, only enemies, everyone, or just one specified unit. I've basically written the code for it.
But:
- It's necessary to select someone first, after which the choice appears.
- The dwarf's resistance is not taken into account.
- The resistance of creatures (dragons) to magic is also not taken into account.
- After casting on allies, it's no longer possible to cast Antimagic on them again - either you need to cast a spell removal, or wait for the effect to end.
For now, the only option is to add the ability to cast Antimagic to the spell removal (again, with the option to choose), but that doesn't seem very good.
And another question - is it possible to remove a selectively active spell (I don't like the BMx16:Gy1/0/0 option because the icon remains)? Or should I remember what spells are active and their duration, remove them all, and then restore the ones that need to be kept?
PS: This is for WOG 3.58f (not TE)