BlackSpectre Posted December 11, 2022 Share Posted December 11, 2022 (edited) SOLVED!!!! OK, OK. I didn't fix the command and it's still filled with bugs, but I found a substitute name for Energy Resistance that works!!! It is... "damagetype[4]" I found the reference in the attrib_descriptions.def file. With the ability to call up the Energy Resistance combat attribute, this command is now fully functional... at least as far as I know. I haven't tested all of the attributes, only the most commonly used ones. For the most part, that's all we need. And now we know were to look if this command ever has another problem calling up a needed attribute. 🙂 So Devs... file this one under bugged but Fully Functional and usable, and take it off your todo list. -Updated 12/16/2022 ********************************************************************************************* An easy fix for this would be to assign Energy Resistance a number. I think 0 is the only one not taken. That way we could use "0" as the attribute name, and all will be right in the world. 😉 The matching algorithm appears to be looking for unique character patterns, which is why when it searches for “Energy Resistance” and sees “Negative Energy Resistance” it throws up its hands and picks the more unique name. So if 0 is not an option, the second best thing would be a single letter. Available letters are Q and W. After that the next best thing is to create a 2 character name whose sequential pattern is unique. Looks like any 2-letter combo starting with "Q" or 'W" is available, also letter/number combos like 1A. It's a practical and fast solution because it gives us access to the attribute. That's really all we need. Changing the pattern matching algorithm would be possible, but it would most likely prevent us from using unique text patterns for abbreviations, which are super important to stay under the 256 character limit in binds. For example, we can currently use "BAS" for the attribute name with this command rather than "Base Defense". Much shorter... and necessary! To see how to assign an attribute a number, just look at any of the damage typed defense attributes. They all have been assigned numbers. Ideally, all of the attributes would be assigned a number, but like I said above, it's not necessary. What's important, for this command anyway, is that the command has access all of the attributes, and Energy Resistance is an important one. Edited December 17, 2022 by BlackSpectre Added a little more. Black Spectre - A Dark Defender's Home on the Web • The Advanced Bind Guide • The Masters of BAF: A Guide for Leaders and Players • The Wiki List of Slash Commands Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now