Giter Site home page Giter Site logo

Comments (4)

yanosuke avatar yanosuke commented on July 25, 2024

This gave me an incredible headache trying to figure out why I could not make this work on my custom scholar lua. It basically comes down to this, mote's lua's only handle 1 return value. The Lua language can handle multiple values, but the way Mote has them setup it will only interpret 1 return.

In your example, when blue magic is cast, the script will determine if the spell is physical or magical and it will return it's findings as "Physical" or "Magical". It will then search your sidecar for your sets.midcast['Blue Magic'].Physical or sets.midcast['Blue Magic'].Magical depending on the spell type.

It's the fact the script has already returned a value of "Physical" or "Magical" that it will not interpret any other values. You might be able to edit the midcast function in a way where your script will do the interpreting. Then you can let it return 4 different values such as "Physical", "Magical", PhysicalResistant","MagicalResistant" depending on your option values. Not sure if it would work though.

from gearswap-jobs.

Selindrile avatar Selindrile commented on July 25, 2024

Hrm, seems odd that it would be set up to recognize things like engaged.PDT.Acc.Dagger and even sets.midcast['Elemental Magic'].HighTierNuke.Resistant etc etc, and not be able to do the same for blue magic.

from gearswap-jobs.

Kinematics avatar Kinematics commented on July 25, 2024

'Resistant' is a value for casting mode. 'Physical' is a spell mapping. The above set names 'should' be valid.
sets.midcast['Blue Magic'] is selected for spell.skill. Physical is appended for spell map. Reisistant is appended for casting mode.

I'd ask if you're checking that the spell you're testing is in fact in that specific spell map list. For example, the only spell under Physical is Bilgestorm. All the others are Physical + some stat.

Also, turn on debugmode and look at the gear sets it's trying to use by default. That can provide a better clue as to what's not working.

from gearswap-jobs.

Selindrile avatar Selindrile commented on July 25, 2024

Thank you for your input, the sets were indeed valid, the testing was what was flawed, I mistakenly thought a few other spells used the generic "physical" set, I should have checked the spellmap.

from gearswap-jobs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.