Jump to content

Bringer

Members
  • Posts

    748
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Bringer

  1. just duplicate the npc prontera,150,150,4 duplicate(Basic Weapons) Basic Weapons#prt 4_DOG01
  2. Unit.cpp - if (ud->skilltimer != INVALID_TIMER && ud->skill_id != LG_EXEEDBREAK && (!sd || !pc_checkskill(sd, SA_FREECAST) || skill_get_inf2(ud->skill_id)&INF2_GUILD_SKILL)) + if (ud->skilltimer != INVALID_TIMER && ud->skill_id != LG_EXEEDBREAK && (!sd || !pc_checkskill(sd, SA_FREECAST) ))
  3. Status.cpp case SC_PARRYING: - val2 = 20 + val1*3; // Block Chance + if (sd && sd->weapontype1 == W_1HSWORD) + val2 = val1 * 3; + else + val2 = 20 + val1*3; // Block Chance break; Skill.cpp /*========================================== * Does delay reductions based on dex/agi, sc data, item bonuses, ... *------------------------------------------*/ if (sc && sc->data[SC_SPIRIT]) { + if(sc->data[SC_SPIRIT]->val2 == SL_KNIGHT) + time /= 9; switch (skill_id) { case CR_SHIELDBOOMERANG: if (sc->data[SC_SPIRIT]->val2 == SL_CRUSADER) time /= 2; break; case AS_SONICBLOW: if (!map_flag_gvg2(bl->m) && !map_getmapflag(bl->m, MF_BATTLEGROUND) && sc->data[SC_SPIRIT]->val2 == SL_ASSASIN) time /= 2; break; } } Spear Boomerang Increase (200*SkillLV)% case KN_SPEARBOOMERANG: skillratio += 50 * skill_lv; if (sd && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_KNIGHT) skillratio += 200 * skill_lv; break;
  4. if(sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_STAR) { sd->right_weapon.addclass[CLASS_BOSS] += 100; sd->left_weapon.addclass[CLASS_BOSS] += 100; sd->right_weapon.addele[ELE_HOLY] += 100; sd->left_weapon.addele[ELE_HOLY] += 100; }
  5. data.rar do you mind try this data
  6. Here mine Working 100% Helm not included Stalker SL + 2 Wickebine Even on Metaling Card + Auto Attack Only Weapon Strip if ( sd && tsc && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_ROGUE && rand()%100 < 10 && ( skill_id == RG_STRIPWEAPON && tsc->data[SC_CP_WEAPON] || skill_id == RG_STRIPSHIELD && tsc->data[SC_CP_SHIELD] || skill_id == RG_STRIPARMOR && tsc->data[SC_CP_ARMOR] || skill_id == RG_STRIPHELM && tsc->data[SC_CP_HELM] ) ) { int item_id = 7139; // Glistening Coat int ii; ARR_FIND( 0, MAX_INVENTORY, ii, sd->inventory.u.items_inventory[ii].nameid == item_id ); if ( ii < MAX_INVENTORY ) { pc_delitem( sd, ii, 1, 0, 0, LOG_TYPE_CONSUME); switch ( skill_id ) { case RG_STRIPWEAPON: status_change_end( bl, SC_CP_WEAPON, INVALID_TIMER ); sc_start(NULL,bl,SC_STRIPWEAPON,100,skill_lv,skill_get_time(skill_id,skill_lv)); break; case RG_STRIPSHIELD: status_change_end( bl, SC_CP_SHIELD, INVALID_TIMER ); sc_start(NULL,bl,SC_STRIPSHIELD,100,skill_lv,skill_get_time(skill_id,skill_lv)); break; case RG_STRIPARMOR: status_change_end( bl, SC_CP_ARMOR, INVALID_TIMER ); sc_start(NULL,bl,SC_STRIPARMOR,100,skill_lv,skill_get_time(skill_id,skill_lv)); break; case RG_STRIPHELM: status_change_end( bl, SC_CP_HELM, INVALID_TIMER ); sc_start(NULL,bl,SC_STRIPHELM,100,skill_lv,skill_get_time(skill_id,skill_lv)); break; } clif_skill_nodamage( src, bl, skill_id, skill_lv, i ); break; } }
  7. crown of deceit.grf
  8. Thats Mod Soul Link Spirit try seach
  9. Bringer

    @afk request

    conf/battle/misc.conf
  10. i was wondering HOW ATK / MATK % display so players can see the effect of cards is this SRC code or client coded @Functor can you help me ?
  11. 2013 post you need to convert to latest code
  12. The Timer is not updating once you use @dice timer stay current time when you use it
  13. i already made like on photo but my only problem the tick timer alwys negative when restart server
  14. here my dice script https://pastebin.com/iPMpP4c5 i want to copy this ideas Credit : SarahRO
  15. still same
  16. Every time i restart server event timer will become negative How can i avoid this from happening? That even if i restarted the server, event timer will remain as is and it will not show negative result or a negative time. OnMinute00: $EVT_Dice_Timer = gettimetick(2); $EVT_Dice = 1; if( gettime(3) % 1 != 0 ) end; if (.EventStatus) end; .EventOnJoin = 1; .EventStatus = 1; announce "Dice: We are going to have a Dice event.",0; sleep 10000; announce "Dice: For those who wants to join, use @dice",0; sleep 10000; announce "Dice: After 1 Minute Event will close.",0; sleep 10000; announce "Dice: So please if you want to join. use @dice",0; initnpctimer; end; OnTimer46000: announce "[ Dice ] Event Time's up.",0; .EventOnJoin = 0; $EVT_Dice = 0; $EVT_Dice_Status = 0; end; - script eventstatus -1,{ OnAtStatusEvent: .@evt_lim_time = $EVT_Dice_Timer + .RunEvery; .@evt_cur_time = gettimetick(2); .@evt_ent_t = (.@evt_lim_time - .@evt_cur_time); .@evt_h = (.@evt_ent_t / 3600); .@evt_m = (.@evt_ent_t - (.@evt_h * 3600)) / 60; .@evt_s = .@evt_ent_t - ((.@evt_h * 3600) + (.@evt_m * 60)); mes " [ Event Status ] "; if ($EVT_Dice == 0) mes " Dice Event [^FF0000"+.@evt_h+"h "+.@evt_m+"m "+.@evt_s+"s^000000]"; if ($EVT_Dice == 1) mes " Dice Event [^FF0000"+.@evt_h+"h "+.@evt_m+"m "+.@evt_s+"s^000000]"; switch(select( "Dice Event - " + ($EVT_Dice ? "^FF0000Not Available":"^00FF00Join Event!") + "^000000")) { case 1: break; } end; OnInit: bindatcmd "event",strnpcinfo(0)+"::OnAtStatusEvent"; .RunEvery = 3600; // second end; }
  17. bakt hindi mo ask yun host mo? packet obfuscation https://github.com/rathena/rathena/blob/master/src/config/packets.hpp#L31
  18. setarray .Rewards$[1], "1000", // Day 1: 1000 Zeny "0,0,0,0,501,5", // Day 2: 5 Red Potion "0,0,0,0,506,5", // Day 3: 5 Green Potion "2000", // Day 4: 2000 Zeny "2000", // Day 5: 2000 Zeny "0,0,0,0,502,5", // Day 6: 5 Orange Potion "0,0,0,0,12208,1", // Day 7: 1 Battle Manual "2500", // Day 8: 2500 Zeny "2500", // Day 8: 2500 Zeny "2500", // Day 9: 2500 Zeny "0,0,0,0,503,5"; // Day 10: 5 White Potion NPC Location : https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward_v2.txt#L47
  19. "0,0,0,0,12281,1", Change "0,0,0,0,12281,1";
  20. meron kulang sa pag ka diff mo
  21. sample --- a/conf/battle/battle.conf +++ b/conf/battle/battle.conf
  22. check your id # on your itemdb
  23. LOL + = new code - = delete old code
×
×
  • Create New...