Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   re: mweor type genetic --attributes passed on (http://www.mysidiaadoptables.com/forum/showthread.php?t=1484)

redheadturkey 07-03-2010 12:03 PM

re: mweor type genetic --attributes passed on
 
I'm trying to think how to explain what I'm wondering about--- -basically, can anyone give me a clue or idea how to pursue making it that-- lets say--- the offspring of Pet A ( who is a great battle Pet ) is passed on that attribute by Pet A -- or let's say the offspring of Pet B win many shows, are very good specimens of their type---

in other words, I really want to be able to have the offspring be passed on certain attributes from their parents ---- and that would involve getting that info from the database, of course, such as battle prowess, etc etc. It could be extended to markings and all kinds of things.

I am betting it would involve putting in percentages to the breeding script---such as if parent A has 877 battle points and parent B has 46565 then child has 3000 or is simply noted as excelling from birth.

Right now, there is no way at all to pass down any attributes unique to EACH pet into their young---- and it would be a really fantastic thing to be able to do :)

On mweor, they can pass on markings and use percentages and all --- I just need a hint at least of what to change, or alter, or add.

Thanks!! :)

BMR777 07-03-2010 05:13 PM

RE: re: mweor type genetic --attributes passed on
 
Well, the first thing you would have to add is some form of attributes to the pets. The easiest way to do this is to add some database fields to your owned_adoptables database table. Maybe you would add fields for strength, battle ability, etc. Then when you create an offspring child pet you would look at the database fields for the two parent pets and use some calculation to set the fields of the child pet accordingly. :)

redheadturkey 07-07-2010 10:25 AM

RE: re: mweor type genetic --attributes passed on
 
thanks Brandon! :)

I'll see what I can do with this, thanks for pointing me in the right direction!!

vcose 07-09-2010 01:27 AM

RE: re: mweor type genetic --attributes passed on
 
Finally i found this through google
Regards


All times are GMT -5. The time now is 02:39 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.