Member
Join Date: Jul 2015
Location: Ottawa
Posts: 58
|
So, my players have come across a Beholder. I didn't think this through in advance, and have since discovered that there isn't an easy way (that I've been able to find) to trigger an antimagic condition on the PCs as they go in and out of the beholder's antimagic cone.
Has anyone experimented with this before? Would trying to hammer this together even be worth the effort? My PCs have a lot of magic items, so trying to track the changes by hand is going to be an utter nightmare... Thanks! |
#1 |
Senior Member
Join Date: Jul 2010
Posts: 3,151
|
Quote:
|
|
#2 |
Senior Member
Join Date: Jul 2010
Posts: 3,151
|
So apparently there isn't a Helper.Disabled tag. There are FtDisable and SpcDisable tags which are for feats and special abilities respectively.
Looking at a few wondrous items, things that actually have scripts are based entirely on whether the items are equipped. A complete solution will be time consuming, but we could narrow in on the items your players are using for the time being and start there. I've created an adjustment that removes the enhancement bonus from weapons and armor and applies the tag "User.Disabled" to non-weapon, non-armor magic items. This tag will do nothing unless the magic item has the line "doneif (tagis[User.Disabled] <> 0)" at the top of the script. I've tested this with the only wondrous item in the attached file, and it does appear to work, though I doubt it's an item of any significance to you. Anyway, long story made longer, with the new adjustment, you should be able to modify any magic items your characters are using that have a script to suppress the effects. Please check it out and let me know. If you need help adding the code to various items, please provide me a list of magic items your characters are using. Update: for the next update, I've changed this to add the User.Disabled tag to weapons and armor as well so they can affect things like item powers. Since I'm here, I've also updated some item powers to actually do what they are supposed to do (like provide damage resistance). Last edited by Sendric; March 13th, 2023 at 05:19 AM. |
#3 |
Member
Join Date: Jul 2015
Location: Ottawa
Posts: 58
|
Sendric, you are, ever and always, an absolute mensch. Thank you.
Even if I have to add this script to each of the magic items they currently have, spending 5-10 hours doing that now will make game-night much easier and quick-flowing. Thank you so much for this, I really appreciate it. Oh, as a follow-up, if I find bugs in the D20 Commuity set (like how the Wand of Invisibility quotes Hold Person instead), where may I report those? |
#4 |
Member
Join Date: Jul 2015
Location: Ottawa
Posts: 58
|
OK, I think I've mis-understood you...
I took the updated Core Book Mods file and replaced the one in my system (renamed the original to .bak, just in case). Reloaded my heroes, and added the doneif line to the scripts of one of their specialty armour that I'd made them. But, I don't think I understand how to apply the Disabled tag. The Disabled condition in the Adjust tab doesn't seem to be it, and I can't see a Disabled available in the Temporary or Permanent adjustments lists... Also, I'm realizing that, if I've understood you correctly (entirely possible i haven't) such a script would only work if the item had scripts already, like many wondrous items do. But what about simple magic items, like a +1 Plate that would be made through the "New Magic, Custom, or Masterwork armour of size:" button in the hero's Armour tab? Such an item has no script, indeed, doesn't even have it's own seperate entry in the .user files. So, would that tag even work for those types of 'regular' magic items? Thank you for your time Sendric. |
#5 |
Senior Member
Join Date: Jul 2010
Posts: 3,151
|
Quote:
You are correct in understanding that this tag only functions if a magic item already has a script. Those that don't generally don't do anything and can simply be ignored while in the antimagic field, except: There is a second script on the adjustment I created that removes the enhancement bonus provided by +1,+2, etc for weapons and armor. If a weapon or armor has a script in addition to the normal bonus enhancements, that will require making a change to the file I sent you. Let me know if this is the case or if there are other magic items you're having trouble figuring out how to disable. Last edited by Sendric; March 14th, 2023 at 07:36 AM. |
|
#6 |
Senior Member
Join Date: Jul 2010
Posts: 3,151
|
Quote:
http://forums.wolflair.com/showthread.php?t=12785 I'll make a note regarding the wand. |
|
#7 |
Member
Join Date: Jul 2015
Location: Ottawa
Posts: 58
|
Hahahaha!!!! I'm dancing!!! It works it works it works!!!! Thank you SO much Sendric! I dunno why it didn't work the first time. I copied the new file over again, but thsis time deliberately chose to re-compile the game files, and Antimagic comes up now. It works beautifully. The script bit works perfectly too, all my damned Legacy weapons turn off when that adjustment turns on, it's absolutely gorgeous. This is simply wonderful, so fantastic, thank you so much for your help. While I've got your ear: there's no way to replace"glamer" with "glamour", is there? I've tried to find a simple way, but I think I'd have to replace every single individual instance, wouldn't I, huh? |
#8 |
Senior Member
Join Date: Jul 2010
Posts: 3,151
|
Quote:
Quote:
Quote:
HOWEVER,
Last edited by Sendric; March 15th, 2023 at 03:20 AM. |
|||
#9 |
Member
Join Date: Jul 2015
Location: Ottawa
Posts: 58
|
Thank you Sendric.
With the exception of their Legacy items, all of which I've custom-built, they just have a couple of stock items, and all of those appear to working properly with the Adjustment tag as you've already designed it. I rarely modify existing things, in case they get bombed by an update, lol, so I usually make a copy and customize it as required. Then, if it breaks anyways, I know exactly what I've copied and changed and can fix it. I've tried a mass find-&-replace with Notepad++ in the past. It definitely broke things, lol! Oh well. Just astounds me that WotC misspelt glamour so badly; even Webster's normally lists "glamor," how on earth did they get to "glamer"? Makes my teeth itch... smh lol Ah well, it is what it is. Thanks for everything! And I'll be sure to use the bug report. |
#10 |
Thread Tools | |
Display Modes | |
|
|