Jump to content

Notorius

Members
  • Posts

    106
  • Joined

  • Last visited

Community Answers

  1. Notorius's post in dispell on berserk no return hp was marked as the answer   
    solution: 
    case SA_DISPELL: if (flag&1 || (i = skill_get_splash(skill_id, skill_lv)) < 1) { if (sd && dstsd && !map_flag_vs(sd->bl.m) && (!sd->duel_group || sd->duel_group != dstsd->duel_group) && (!sd->status.party_id || sd->status.party_id != dstsd->status.party_id)) break; // Outside PvP it should only affect party members and no skill fail message clif_skill_nodamage(src,bl,skill_id,skill_lv,1); if((dstsd && (dstsd->class_&MAPID_UPPERMASK) == MAPID_SOUL_LINKER) || (tsc && tsc->getSCE(SC_SPIRIT) && tsc->getSCE(SC_SPIRIT)->val2 == SL_ROGUE) //Rogue's spirit defends againt dispel. || rnd()%100 >= 50+10*skill_lv) { if (sd) clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); break; } if(status_isimmune(bl)) break; //Remove bonus berserk by Dispell if (dstsd) pc_bonus_script_clear(dstsd,BSF_REM_ON_DISPELL); if(!tsc || !tsc->count) break; for (const auto &it : status_db) { sc_type status = static_cast<sc_type>(it.first); if (!tsc->getSCE(SC_BERSERK)) continue; if (it.second->flag[SCF_NODISPELL]) continue; if (i == SC_BERSERK) tsc->getSCE(status)->val2 = 0; //Mark a dispelled berserk to avoid setting hp to 100 by setting hp penalty to 0. status_change_end(bl, status); status_percent_heal(bl, 100, 0); } //Statuses that can't be Dispelled for (const auto &it : status_db) { sc_type status = static_cast<sc_type>(it.first); if (!tsc->getSCE(status)) continue; if (it.second->flag[SCF_NODISPELL]) continue; switch (status) { // bugreport:4888 these songs may only be dispelled if you're not in their song area anymore case SC_WHISTLE: case SC_ASSNCROS: case SC_POEMBRAGI: case SC_APPLEIDUN: case SC_HUMMING: case SC_DONTFORGETME: case SC_FORTUNE: case SC_SERVICE4U: if (!battle_config.dispel_song || tsc->getSCE(status)->val4 == 0) continue; //If in song area don't end it, even if config enabled break; case SC_ASSUMPTIO: if( bl->type == BL_MOB ) continue; break; } if (i == SC_SATURDAYNIGHTFEVER) tsc->getSCE(status)->val2 = 0; //Mark a dispelled berserk to avoid setting hp to 100 by setting hp penalty to 0. status_change_end(bl, status); } break; }  
  2. Notorius's post in athena-start permission denied was marked as the answer   
    I'm not sure but maybe I need to give permissions like this
    https://prnt.sc/Ki08XPBqdDgF
     
  3. Notorius's post in 2mvp ladder 2 delay times was marked as the answer   
    solution:
     
    else if( #mvp_ladder_delay2 >= gettimetick(2) ){ mes "regresa en 12 horas."; mes "Time left: "+( #mvp_ladder_delay2 - gettimetick(2) )+" second."; close; } #mvp_ladder_delay2 = gettimetick(2) + 43200; delitem 675,200; announce "The party ["+ strcharinfo(1) +"] a entrado a MvP ladder.", bc_all; set .party_id, getcharid(1); set .@time_enter, gettimetick(2); for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == strnpcinfo(4) ) { announce "Tienes "+ .timeout +" minutos para completar "+ .totalround +" rounds.", bc_self; .@name$[.@c] = strcharinfo(0); .@c++; } } }  
  4. Notorius's post in FLUC CP Error was marked as the answer   
    thank you finally i was able to install my fluxcp my error was in the data i entered
×
×
  • Create New...