GithubHelp home page GithubHelp logo

Comments (2)

Andrettin avatar Andrettin commented on July 28, 2024 1

Hello! The "upgrade" condition unfortunately does not current check affixes, for technical reasons: each unit has a list of "individual upgrades", but affixes are kept track of separately, and are not added to the item's list of "individual upgrades". I've changed this now with this commit, since this seems like a good change, to do things like you mean:

Andrettin/Wyrmgus@44e9c26

from wyrmsun.

J-Caju avatar J-Caju commented on July 28, 2024

[...] The "upgrade" condition unfortunately does not current check affixes, for technical reasons: each unit has a list of "individual upgrades", but affixes are kept track of separately [...] - Andrettin/Wyrmgus@44e9c26

Thanks you much, Andrettin! I imagined something like this could be the case!

IIRC new Custom [Personality] Traits are automatically added to the available pool. While new Custom Affixes need to be added for each Item Type, before they're available to roll there.

I feel this idea was pushing the limits on how Variations work with items. They mostly feel meant for "Unit-Units" - despite Items being tecnically an Unit Type, right?


A cool bonus: This funtionally should enable "Items with Elemental Colors". I would like to make this addition later, so we can have things like a Red Amulet with Bonus Fire Damage / Resistance:

amulet = {
[...]	variations = {
		amulet_red_1 = {
		icon = light_red_amulet
		weight = 4
			conditions = {
				or = {
					upgrade_prefix_fiery
					upgrade_prefix_flaming [...]
					}
	[...]	amulet_red_2 = {
		icon = dark_red_amulet
		weight = 2 [...]

from wyrmsun.

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.