rongmauhong Posted February 18, 2019 Share Posted February 18, 2019 Hi, I tested with this script: prontera,156,186,4 script stest 857,{ monster "prontera",156,187,"Dummy",1002,1,"stest::OnMyMobDead"; [email protected] = [email protected][0]; getunitdata [email protected],[email protected]; debugmes "Mode: " + [email protected][UMOB_MODE]; // 131 setunitdata [email protected],UMOB_MODE,([email protected][UMOB_MODE] | MD_STATUS_IMMUNE | MD_DETECTOR | MD_KNOCKBACK_IMMUNE); getunitdata [email protected],[email protected]; debugmes "New Mode: " + [email protected][UMOB_MODE]; end; OnMyMobDead: end; } I have used weapon insert Abyss Knight Card but damage does not increase. Is this a bug? Thanks. Quote Link to comment Share on other sites More sharing options...
0 AnnieRuru Posted February 19, 2019 Share Posted February 19, 2019 4140,Knight_Of_Abyss_Card,Abysmal Knight Card,6,20,,10,,,,,,,,2,,,,,{ bonus2 bAddClass,Class_Boss,25; },{},{} * Class (c) Class_Normal, Class_Boss, Class_Guardian, Class_All case SP_ADDCLASS: // bonus2 bAddClass,c,x; PC_BONUS_CHK_CLASS(type2,SP_ADDCLASS); if(!sd->state.lr_flag || sd->state.lr_flag == 3) sd->right_weapon.addclass[type2]+=val; else if(sd->state.lr_flag == 1) sd->left_weapon.addclass[type2]+=val; else if(sd->state.lr_flag == 2) sd->arrow_addclass[type2]+=val; break; answer is no ... since rathena changed the monster mode, there are no field for setunitdata to modify a monster into Class_Boss mode unless ... well ... make an issue in rathena github 1 Quote Link to comment Share on other sites More sharing options...
Hi,
I tested with this script:
prontera,156,186,4 script stest 857,{ monster "prontera",156,187,"Dummy",1002,1,"stest::OnMyMobDead"; [email protected] = [email protected][0]; getunitdata [email protected],[email protected]; debugmes "Mode: " + [email protected][UMOB_MODE]; // 131 setunitdata [email protected],UMOB_MODE,([email protected][UMOB_MODE] | MD_STATUS_IMMUNE | MD_DETECTOR | MD_KNOCKBACK_IMMUNE); getunitdata [email protected],[email protected]; debugmes "New Mode: " + [email protected][UMOB_MODE]; end; OnMyMobDead: end; }I have used weapon insert Abyss Knight Card but damage does not increase. Is this a bug?
Thanks.
Link to comment
Share on other sites