Azarth Posted May 1, 2019 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 26 Reputation: 0 Joined: 05/28/14 Last Seen: June 8, 2019 Share 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 Link to comment Share on other sites More sharing options...
0 mirabell Posted May 1, 2019 Group: Members Topic Count: 41 Topics Per Day: 0.01 Content Count: 197 Reputation: 19 Joined: 11/20/11 Last Seen: February 28 Share 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 Link to comment Share on other sites More sharing options...
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;
}
Link to comment
Share on other sites
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.