Rebel Posted July 12, 2013 Posted July 12, 2013 (edited) how can i make all skills of mechanic usable while mounting in MADO and also if not mounting. thanks. i see a battle config in 3ceam but nothing here. thanks Edited July 14, 2013 by Rebel Quote
0 OscarScorp Posted September 26, 2018 Posted September 26, 2018 (edited) I was also looking into this, and even to add skills which can't be used while in mado. Here's how you do it: You have to open db/re/skill_db.txt (or pre-re if you're using pre-renewal) and look for the skill you want to edit: 2280,0,8,4,-1,0x2,2:2:3:3:3,5,-6,no,0,0x40000,0,weapon,0,0x04000, NC_AXETORNADO,Axe Tornado Here we can see Axe Tornado is listed as unable to be used while in mado. This is because of the last numbers: "0x04000". // 16 inf3 (skill information 3): // 0x04000 - skill that can't be used while in mado If you wish to have Axe Tornado to be used while IN mado, simply change that number to "0x0", like so: 2280,0,8,4,-1,0x2,2:2:3:3:3,5,-6,no,0,0x40000,0,weapon,0,0x0, NC_AXETORNADO,Axe Tornado For statuses to be removed or be ineffective while during Mado, go into src/map/pc.c and look for this: if( (sd->class_&MAPID_THIRDMASK) == MAPID_MECHANIC ) { if( type&OPTION_MADOGEAR && !(p_type&OPTION_MADOGEAR) ) { status_calc_pc(sd,SCO_NONE); status_change_end(&sd->bl,SC_MAXIMIZEPOWER,INVALID_TIMER); status_change_end(&sd->bl,SC_OVERTHRUST,INVALID_TIMER); status_change_end(&sd->bl,SC_WEAPONPERFECTION,INVALID_TIMER); status_change_end(&sd->bl,SC_ADRENALINE,INVALID_TIMER); status_change_end(&sd->bl,SC_CARTBOOST,INVALID_TIMER); status_change_end(&sd->bl,SC_MELTDOWN,INVALID_TIMER); status_change_end(&sd->bl,SC_MAXOVERTHRUST,INVALID_TIMER); pc_bonus_script_clear(sd,BSF_REM_ON_MADOGEAR); } else if( !(type&OPTION_MADOGEAR) && p_type&OPTION_MADOGEAR ) { status_calc_pc(sd,SCO_NONE); status_change_end(&sd->bl,SC_SHAPESHIFT,INVALID_TIMER); status_change_end(&sd->bl,SC_HOVERING,INVALID_TIMER); status_change_end(&sd->bl,SC_ACCELERATION,INVALID_TIMER); status_change_end(&sd->bl,SC_OVERHEAT_LIMITPOINT,INVALID_TIMER); status_change_end(&sd->bl,SC_OVERHEAT,INVALID_TIMER); pc_bonus_script_clear(sd,BSF_REM_ON_MADOGEAR); } } Add your desired mado-banned status before pc_bonus_script_clear(sd,BSF_REM_ON_MADOGEAR); Just like this: status_change_end(&sd->bl,SC_MAXOVERTHRUST,INVALID_TIMER); status_change_end(&sd->bl,SC_YOURSTATUSHERE,INVALID_TIMER); pc_bonus_script_clear(sd,BSF_REM_ON_MADOGEAR); Hope it helps! Edited September 26, 2018 by OscarScorp Formatting Quote
Question
Rebel
how can i make all skills of mechanic usable while mounting in MADO and also if not mounting. thanks. i see a battle config in 3ceam but nothing here.
thanks
Edited by Rebel1 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.