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

[Bug?] dragon-morph/-man/-girl with 4 draconic legs should be displayed as dragon-taur in appearance-tab #240

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

Comments

@Stadler76
Copy link
Collaborator

Stadler76 commented Jun 24, 2016

There is a cat-taur, a dog-taur and so on in the code, but it seems to me, that it has been forgotten, to include the dragon-taur.

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:22:24.007849100 +0200
@@ -772,9 +772,13 @@
            }
            if (dragonScore() >= 4)
            {
-               race = "dragon-morph";
-               if (faceType == 0)
-                   race = "dragon-" + mf("man", "girl");
+               if (isTaur() && lowerBody == LOWER_BODY_TYPE_DRAGON)
+                   race = "dragon-taur";
+               else {
+                   race = "dragon-morph";
+                   if (faceType == 0)
+                       race = "dragon-" + mf("man", "girl");
+               }
            }
            if (raccoonScore() >= 4)
            {
aimozg pushed a commit to aimozg/Corruption-of-Champions-Mod that referenced this issue Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants