rongmauhong Posted February 18, 2019 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 81 Reputation: 14 Joined: 11/17/17 Last Seen: March 20 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"; .@GID = $@mobid[0]; getunitdata .@GID,.@mobData; debugmes "Mode: " + .@mobData[UMOB_MODE]; // 131 setunitdata .@GID,UMOB_MODE,(.@mobData[UMOB_MODE] | MD_STATUS_IMMUNE | MD_DETECTOR | MD_KNOCKBACK_IMMUNE); getunitdata .@GID,.@mobData; debugmes "New Mode: " + .@mobData[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 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 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...
Question
rongmauhong
Hi,
I tested with this script:
prontera,156,186,4 script stest 857,{ monster "prontera",156,187,"Dummy",1002,1,"stest::OnMyMobDead"; .@GID = $@mobid[0]; getunitdata .@GID,.@mobData; debugmes "Mode: " + .@mobData[UMOB_MODE]; // 131 setunitdata .@GID,UMOB_MODE,(.@mobData[UMOB_MODE] | MD_STATUS_IMMUNE | MD_DETECTOR | MD_KNOCKBACK_IMMUNE); getunitdata .@GID,.@mobData; debugmes "New Mode: " + .@mobData[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
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.