Azarth Posted May 1, 2019 Posted May 1, 2019 any ideia what Im doing wrong? Script: > .@i = getpetinfo(PETINFO_INTIMATE); if (.@i >= PET_INTIMATE_LOYAL) { bonus bLuk,5; bonus bCritical,5; } else if (.@i >= PET_INTIMATE_CORDIAL ) { bonus bLuk,4; bonus bCritical,4; } else if (.@i >= PET_INTIMATE_NEUTRAL) { bonus bLuk,3; bonus bCritical,3; } else if (.@i >= PET_INTIMATE_SHY ) { bonus bLuk,2; bonus bCritical,2; } else if (.@i >= PET_INTIMATE_AWKWARD) { bonus bLuk,1; bonus bCritical,1; } Quote
0 mirabell Posted May 1, 2019 Posted May 1, 2019 hello if you want pets to help master at lower intimacy, then u should modify these: // Minimum intimacy necessary for a pet to support their master. Default is 900 // (intimacy goes from 0 to 1000). At this minimum, support rate is 50% of pet's normal value. // At max (1000) support rate is 150%. pet_support_min_friendly: 900 // Whether or not the pet's will use skills. (Note 1) // Note: Offensive pet skills need at least pet_attack_support or // pet_damage_support to work (they trigger while the pet is attacking). pet_status_support: yes pet_support_min_friendly: 900 <------should be 100 for shy cause at 900 it will only support the user at loyal 1 Quote
Question
Azarth
any ideia what Im doing wrong?
Script: >
.@i = getpetinfo(PETINFO_INTIMATE);
if (.@i >= PET_INTIMATE_LOYAL) {
bonus bLuk,5;
bonus bCritical,5;
} else if (.@i >= PET_INTIMATE_CORDIAL ) {
bonus bLuk,4;
bonus bCritical,4;
} else if (.@i >= PET_INTIMATE_NEUTRAL) {
bonus bLuk,3;
bonus bCritical,3;
} else if (.@i >= PET_INTIMATE_SHY ) {
bonus bLuk,2;
bonus bCritical,2;
} else if (.@i >= PET_INTIMATE_AWKWARD) {
bonus bLuk,1;
bonus bCritical,1;
}
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.