Code Monkey home page Code Monkey logo

Comments (7)

jim972329667 avatar jim972329667 commented on June 7, 2024

20210716203623

from monsterhunterstories2.

jim972329667 avatar jim972329667 commented on June 7, 2024

For the weapon type ^v^

       `public uint WeaponsType      
	//0 is Sword&Shield, 1 is Great Sword, 2 is Hammer, 3 is Hunting Horn, 4 is Bow, 5 is Gunlance
	{
		get { return SaveData.Instance().ReadNumber(mAddress, 2); }
		set
		{
			SaveData.Instance().WriteNumber(mAddress, 2, value);
			PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Type)));
		}
	}
    
	public uint WeaponsID     
	{
		get { return SaveData.Instance().ReadNumber(mAddress + 2, 2); }
		set { Util.WriteNumber(mAddress + 2, 2, value, 1, 0xFFFF); }
	}

	public uint WeaponsLv        //max is 3
	{
		get { return SaveData.Instance().ReadNumber(mAddress + 4, 1); }
		set { Util.WriteNumber(mAddress + 4, 1, value, 1, 0x03); }
	}`

from monsterhunterstories2.

jim972329667 avatar jim972329667 commented on June 7, 2024

Update the ARMOR_ADDRESS and TALISMANS_ADDRESS

//0 is Sword&Shield, 1 is Great Sword, 2 is Hammer, 3 is Hunting Horn, 4 is Bow, 5 is Gunlance public const uint WEAPON_ADDRESS = 0x3ECC; public const uint WEAPON_COUNT = 700; public const uint WEAPON_SIZE = 36; //Type 06 public const uint ARMOR_ADDRESS = 0xA13C; public const uint ARMOR_COUNT = 400; public const uint ARMOR_SIZE = 36; //Type 07 public const uint TALISMANS_ADDRESS = 0xD97C; public const uint TALISMANS_COUNT = 200; public const uint TALISMANS_SIZE = 48;

code

from monsterhunterstories2.

turtle-insect avatar turtle-insect commented on June 7, 2024

Thank you

591f05b

from monsterhunterstories2.

jim972329667 avatar jim972329667 commented on June 7, 2024

Thank you

591f05b

I'm glad I could help. I hope to make it better.

from monsterhunterstories2.

jim972329667 avatar jim972329667 commented on June 7, 2024

Egg Address

public const uint EGG_ADDRESS = 0x10CAC; //??? 0x10C4A
public const uint EGG_COUNT = 12;
public const uint EGG_SIZE = 120;

from monsterhunterstories2.

jim972329667 avatar jim972329667 commented on June 7, 2024

Egg

from monsterhunterstories2.

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.