Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appearance-tab still displays dragon-morph, when going from all-dragon-tfs to all-lizan #241

Closed
Stadler76 opened this issue Jun 24, 2016 · 3 comments

Comments

@Stadler76
Copy link
Collaborator

I wanted to go from all dragon tfs to lizan, but I found out, that you can never be a full-lizan anymore with the code as is.

Explanation:
to count as a dragon the dragonScore()-requirement is >= 4. Looking at the code you'll get a score of at least 4 (scaled-skin + horns counted twice + dragonfire (not removable even with hummus)) after removing your wings and the dragon-tongue.

The fix is simple:

diff -ru3 '--exclude=*.as3proj' Corruption-of-Champions-Mod-master/classes/classes/Player.as Corruption-of-Champions-Mod-master.new/classes/classes/Player.as
--- Corruption-of-Champions-Mod-master/classes/classes/Player.as    2016-06-08 21:49:00.000000000 +0200
+++ Corruption-of-Champions-Mod-master.new/classes/classes/Player.as    2016-06-24 16:27:54.905102900 +0200
@@ -770,7 +770,7 @@
            {
                race = "lizan";
            }
-           if (dragonScore() >= 4)
+           if (dragonScore() > 6)
            {
                race = "dragon-morph";
                if (faceType == 0)
@Stadler76
Copy link
Collaborator Author

Closing this, since its fixed in 6e8d6a7

@Stadler76
Copy link
Collaborator Author

Stadler76 commented Jul 5, 2016

Reopening it, since its still not fully fixed.
It has to be > 6, not >= 6
Ok, if (dragonScore() >= 7) will have the same effect

@Stadler76 Stadler76 reopened this Jul 5, 2016
Stadler76 added a commit to Stadler76/Corruption-of-Champions-Mod that referenced this issue Jul 6, 2016
Stadler76 added a commit to Stadler76/Corruption-of-Champions-Mod that referenced this issue Jul 6, 2016
Finally fixes issue Kitteh6660#241

With this fix you can go from all dragon to all lizan without the need
to get rid of your dragon tongue or wings to be considerd being a lizan
in player appearance tab.
@Stadler76
Copy link
Collaborator Author

Finally fixed. Closing.

aimozg pushed a commit to aimozg/Corruption-of-Champions-Mod that referenced this issue Jan 5, 2021
Makes cancer and scylla gated behind lowerbody as should be
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant