Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/map/battle.c | 8 +++++++-
- src/map/status.c | 2 ++
- 2 files changed, 9 insertions(+), 1 deletion(-)
- diff --git a/src/map/battle.c b/src/map/battle.c
- index b814321..c7c6144 100644
- --- a/src/map/battle.c
- +++ b/src/map/battle.c
- @@ -5021,7 +5021,13 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list
- wd.damage-=wd.damage2;
- #endif
- }
- -
- +
- + if( target->type == BL_MOB &&
- + ( (pc->jobid2mapid(JOB_STAR_GLADIATOR)) == ((TBL_PC*)src)->class_ || (pc->jobid2mapid(JOB_STAR_GLADIATOR2)) == ((TBL_PC*)src)->class_) &&
- + (((TBL_MOB*)target)->state.boss || ((TBL_MOB*)target)->db->status.def_ele == ELE_HOLY)
- + )
- + wd.damage += wd.damage; // 100% damage bonus
- +
- if( src != target ) { // Don't reflect your own damage (Grand Cross)
- if( wd.dmg_lv == ATK_MISS || wd.dmg_lv == ATK_BLOCK ) {
- diff --git a/src/map/status.c b/src/map/status.c
- index 7d35471..78ff7c4 100644
- --- a/src/map/status.c
- +++ b/src/map/status.c
- @@ -2723,6 +2723,8 @@ int status_calc_pc_(struct map_session_data* sd, enum e_status_calc_opt opt) {
- case 6: bstatus->luk++; break;
- }
- }
- + if( index == JOB_STAR_GLADIATOR || index == JOB_STAR_GLADIATOR2 )
- + bstatus->flee2 += 10;
- // If a Super Novice has never died and is at least joblv 70, he gets all stats +10
- if((sd->class_&MAPID_UPPERMASK) == MAPID_SUPER_NOVICE && sd->die_counter == 0 && sd->status.job_level >= 70) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement