Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/10/23 in all areas

  1. Version 4.1

    2396 downloads

    A NPC that allow your Characters to Switch Build from time to time. Players are able to save his current status build , so that he/she can switch back to the saved build whenever he/she want. Players no need to keep memorize their status build upon changed. Configuration : // maximum build player can store (0 = disable) .max_build = 3; // check player weight limit before switching stat (0 = disable) .check_weight_limit = 1;
    Free
    1 point
  2. ``` try to change if (sd && skill_id == PF_SPIDERWEB && !skill_pos_maxcount_check(src, skill_x, skill_y, skill_id, skill_lv, BL_PC, false)) { to if (sd && skill_id == PF_SPIDERWEB && !skill_pos_maxcount_check(src, ud->skillx,ud->skilly, ud->skill_id, ud->skill_lv, BL_PC, false)){ ```
    1 point
  3. here the script with mapflag no teleport //===== rAthena Script ============================================= //= Punching Bag NPC //===== By: ======================================================== //= Secretdataz //===== Current Version: =========================================== //= 0.2 //===== Changelog: ================================================= //= 0.1 Initial commit //= 0.2 Add MD_KNOCKBACK_IMMUNE //===== Compatible With: =========================================== //= rAthena Project //===== Additional Comments: ======================================= //= When duplicating this NPC. Only use NUMBER after the # [secret] //================================================================== prontera,215,78,0 script PunchingBag#0 844,{ end; OnMyMobDead: OnInit: getunitdata(getnpcid(0), .@d); monster strnpcinfo(4),.@d[UNPC_X],.@d[UNPC_Y],"Punching Bag",2411,1,strnpcinfo(0)+"::OnMyMobDead"; .@dupid = atoi(strnpcinfo(2)); .gid[.@dupid] = $@mobid[0]; .mhp[.@dupid] = strmobinfo(4,2411); setunitdata .gid[.@dupid],UMOB_MODE,.@d[UMOB_MODE]|0x4000000|0x0200000; // Set MD_STATUS_IMMUNE (0x4000000) because EDP/burn/%MHP based status can skew the DPS counter so much. initnpctimer; end; OnTimer5000: .@dupid = atoi(strnpcinfo(2)); if(unitexists(.gid[.@dupid])){ getunitdata(.gid[.@dupid],.@d); .@diff = (.mhp[.@dupid] - .@d[UMOB_HP]); if(.@diff > 0){ npctalk "Punching Bag : I've taken " + (.@diff/5) + " DPS in last 5 seconds."; setunitdata .gid[.@dupid],UMOB_HP,.mhp[.@dupid]; specialeffect EF_HEAL; setmapflag( "prontera",mf_monster_noteleport ); } } initnpctimer; } prontera,224,78,0 duplicate(PunchingBag#0) PunchingBag#1 844 prontera,224,66,0 duplicate(PunchingBag#0) PunchingBag#2 844 prontera,215,66,0 duplicate(PunchingBag#0) PunchingBag#3 844 Welgaia,182,143,0 duplicate(PunchingBag#0) PunchingBag#4 844 Welgaia,157,143,0 duplicate(PunchingBag#0) PunchingBag#5 844 Welgaia,132,143,0 duplicate(PunchingBag#0) PunchingBag#6 844 // Mapflag prontera mapflag monster_noteleport
    1 point
  4. Try change that line into this - script Versus -1,{
    1 point
  5. Version 1.0.0

    300 downloads

    Adds command @findme for GMs to start the event. First player to touch the GM gets rewarded.
    Free
    1 point
  6. in unit.cpp Find: // SC_MAGICPOWER needs to switch states at start of cast skill_toggle_magicpower(src, skill_id); Change To: // SC_MAGICPOWER needs to switch states at start of cast skill_toggle_magicpower(src, skill_id); if (sd && skill_id == PF_SPIDERWEB && !skill_pos_maxcount_check(src, skill_x, skill_y, skill_id, skill_lv, BL_PC, false)) { int oldweb = -1; int webid = 0; for (int i = 0; i < MAX_SKILLUNITGROUP && sd->ud.skillunit[i]; i++) { if (sd->ud.skillunit[i]->skill_id == skill_id) { if (webid == 0) { webid = sd->ud.skillunit[i]->group_id; oldweb = i; } else if (webid != 0 && sd->ud.skillunit[i]->group_id < webid) { webid = sd->ud.skillunit[i]->group_id; oldweb = i; } } } if (oldweb >= 0) { skill_delunitgroup(sd->ud.skillunit[oldweb]); } } This will delete the oldest active spider web when you try to cast it while it is at max count. You can change the maxcount in skill_db.txt to any number under 25 to raise the limit before web deletion. Edit: Sorry I placed the code before requirement checks, but its fixed now.
    1 point
  7. It's comforting to read this through the years
    1 point
  8. @ZinteliZ Yes, there are plenty guides on the forum about it! 1st: Open GRF Editor->Click in File menu->New->New GRF. 2nd: Drag your extracted data folder into the new.grf option, in the left of the GRF editor (the software will import your data folder and will load your files on the screen for navegation), once its done, you save your data folder. 3rd. File menu -> Save, and it will generate a grf with the name you choose. 4th. open Data.ini file in your ragnarok folder. 5th. In your NemoDiff Patcher, choose the options Read Data Folder First and Enable Multiples GRFs (recommended)
    1 point
×
×
  • Create New...