Coder Social home page Coder Social logo

Comments (11)

Kagamia avatar Kagamia commented on July 22, 2024 1

KENNYSOFT#5 @KENNYSOFT has gave out a solution.

//Gear.cs, line:542-545
if (gear.Props.TryGetValue(GearPropType.fixedGrade, out value))
{
    switch(value) {
        case 2: gear.Grade = GearGrade.B; break;
        case 3: gear.Grade = GearGrade.A; break;
        case 5: gear.Grade = GearGrade.S; break;
        default: //since we know that there is only 2,3,5 in the game.
            gear.Grade = (GearGrade)(value - 1); //default convertion
            break;
    }
}

from wzcomparerr2.

Kagamia avatar Kagamia commented on July 22, 2024 1

= Grade.B -> = GearGrade.B It's my fault.
Typo fixed. 😆

from wzcomparerr2.

KENNYSOFT avatar KENNYSOFT commented on July 22, 2024 1

No, because we don't know the specific value for SS. Before, if value is 5 then it is treated as SS.

from wzcomparerr2.

KENNYSOFT avatar KENNYSOFT commented on July 22, 2024

@Kagamia Please see KENNYSOFT#5 for the second bug paragraph. Thanks!

from wzcomparerr2.

Kagamia avatar Kagamia commented on July 22, 2024

Hm... I'm not sure is it different between CMS and KMS.

Since no one from CMST tester group earns this type of the weapons, I've not even got a snapshot about them. 😢

You could fixed it yourself in KMS version.

from wzcomparerr2.

Kagamia avatar Kagamia commented on July 22, 2024

@KENNYSOFT
Waiting for CMST update in half a year. 😆

from wzcomparerr2.

Sunaries avatar Sunaries commented on July 22, 2024

@Kagamia I have no idea how to code it since I'm not really a coder myself, haha.
The "Take V" event will start on January 11th in the Chinese version, so maybe your version will get it.

from wzcomparerr2.

Sunaries avatar Sunaries commented on July 22, 2024

I've replaced those lines with the code you've provided, but it gives me 6 build errors.

test

from wzcomparerr2.

Kagamia avatar Kagamia commented on July 22, 2024

Gear.Grade -> gear.Grade, lower case.

from wzcomparerr2.

Sunaries avatar Sunaries commented on July 22, 2024

It is lowercase? It's still giving me build errors.

from wzcomparerr2.

Sunaries avatar Sunaries commented on July 22, 2024

@Kagamia Fixed. 😄

ab

In your code I see B,A and S. No SS?

                case GearGrade.B: return "(Rare Item)";
                case GearGrade.A: return "(Epic Item)";
                case GearGrade.S: return "(Unique Item)";
                case GearGrade.SS: return "(Legendary Item)";
                case GearGrade.Special: return "(Special Item)";

from wzcomparerr2.

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.