Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/07/21 in all areas

  1. i make a video guide how to setup rathena here i hope it will help
    1 point
  2. In status.cpp, under the status_calc_pc_sub function Under this code block: #ifdef RENEWAL if ((skill = pc_checkskill(sd, DC_DANCINGLESSON)) > 0) base_status->cri += skill * 10; if ((skill = pc_checkskill(sd, PR_MACEMASTERY)) > 0 && (sd->status.weapon == W_MACE || sd->status.weapon == W_2HMACE)) base_status->cri += skill * 10; #endif Insert: if ((skill = pc_checkskill(sd, PD_MACEMASTERY)) > 0) base_status->cri += skill * 10;
    1 point
  3. I deleted some sentences here, and I forgot what they were. so this mod, will gives script bonus for specified armor or weapon level at specified refine. Example, 0,10,{ bonus bVit,5; } it will makes all armors that +10, player will get VIT +5. 4,10,{ bonus bStr,5; bonus bInt,5; } all +10 level 4 weapons, will give bonus stat +5 STR and INT Download: refine-bonus-rA-20150913-f6964717.diff [spoiler=old releases] refine_bonus-rA-20140125.diff (Tested on latest Git) How if **Please report any bug found, and if there is suggestion too**
    1 point
  4. LMAO !! I love people think outside the box src/map/clif.cpp | 4 ++-- src/map/skill.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/map/clif.cpp b/src/map/clif.cpp index e1cc9b555..fae1e15da 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -13398,11 +13398,11 @@ void clif_parse_OpenVending(int fd, struct map_session_data* sd){ if( sd->sc.data[SC_NOCHAT] && sd->sc.data[SC_NOCHAT]->val1&MANNER_NOROOM ) return; - if( map_getmapflag(sd->bl.m, MF_NOVENDING) ) { + if( !map_getmapflag(sd->bl.m, MF_NOVENDING) ) { clif_displaymessage (sd->fd, msg_txt(sd,276)); // "You can't open a shop on this map" return; } - if( map_getcell(sd->bl.m,sd->bl.x,sd->bl.y,CELL_CHKNOVENDING) ) { + if( !map_getcell(sd->bl.m,sd->bl.x,sd->bl.y,CELL_CHKNOVENDING) ) { clif_displaymessage (sd->fd, msg_txt(sd,204)); // "You can't open a shop on this cell." return; } diff --git a/src/map/skill.cpp b/src/map/skill.cpp index e5cd8c61d..77ae11e5e 100755 --- a/src/map/skill.cpp +++ b/src/map/skill.cpp @@ -746,12 +746,12 @@ bool skill_isNotOk(uint16 skill_id, struct map_session_data *sd) break; case MC_VENDING: case ALL_BUYING_STORE: - if( map_getmapflag(sd->bl.m, MF_NOVENDING) ) { + if( !map_getmapflag(sd->bl.m, MF_NOVENDING) ) { clif_displaymessage (sd->fd, msg_txt(sd,276)); // "You can't open a shop on this map" clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); return true; } - if( map_getcell(sd->bl.m,sd->bl.x,sd->bl.y,CELL_CHKNOVENDING) ) { + if( !map_getcell(sd->bl.m,sd->bl.x,sd->bl.y,CELL_CHKNOVENDING) ) { clif_displaymessage (sd->fd, msg_txt(sd,204)); // "You can't open a shop on this cell." clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); return true; - script fdsdf FAKE_NPC,{ OnInit: setmapflag "prontera", mf_novending, true; setcell "prontera",0,0,500,500, cell_novending, true; end; } yeah this actually works !
    1 point
  5. if( map_getmapflag(sd->bl.m, MF_NOVENDING) ) if( map_getcell(sd->bl.m,sd->bl.x,sd->bl.y,CELL_CHKNOVENDING) ) to if( !map_getmapflag(sd->bl.m, MF_NOVENDING) ) if( !map_getcell(sd->bl.m,sd->bl.x,sd->bl.y,CELL_CHKNOVENDING) ) Line 754 Skill.cpp.. just a reverse. Any map that has NOVENDING mapflag will allow players to vend there. lol
    1 point
×
×
  • Create New...