Jump to content

jamesandrew

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by jamesandrew

  1. Sorry for reviving this old thread, but I would like to know as well. The idea is to prevent people from griefing by casting a warp portal (skill) exactly at the spawn point when you enter/exit the warp portal (npc)
  2. Sorry for resurrecting an old thread but I'm having same issue with my custom supportive skills. They require '/ns' to cast on players, yet they can be cast on mobs without using '/ns' I'm using 20220406, any thoughts on this? skill.cpp case NV_CLEARS: clif_skill_nodamage(src,bl,skill_id,skill_lv,1); status_change_end(bl, SC_CURSE); break; skill_db - Id: 785 Name: NV_CLEARS Description: Clears MaxLevel: 1 Type: Weapon TargetType: Support DamageFlags: NoDamage: true Flags: IsQuest: true Range: 1 Hit: Single HitCount: 1 CastCancel: true Cooldown: 5000 Requires: SpCost: 20
  3. I haven't figured out how to change lex aeterna hit count But it has to be right here? battle.cpp if (tsc->getSCE(SC_AETERNA) && skill_id != PF_SOULBURN) { if (src->type != BL_MER || !skill_id) damage *= 2; // Lex Aeterna only doubles damage of regular attacks from mercenaries #ifndef RENEWAL if( skill_id != ASC_BREAKER || !(flag&BF_WEAPON) ) #endif status_change_end(bl, SC_AETERNA); //Shouldn't end until Breaker's non-weapon part connects. } I don't know how to change it, so I'd appreciate it if someone else could lend a hand in finding a solution.
  4. My costume is only showing aura above the head...
  5. I need help with an NPC script that resets the SN Death Counter in return for 10 Red Pots.
  6. I blocked a player in the Adventure Agency, and now I can't figure out how to unblock them. Tried remaking the group and checking the database, but no luck. It's affecting all their characters on the same account, they're all blocked. Any quick fixes or tips? -edit solved, both accounts have to relog
  7. I followed this guide for guild storage, but I'm getting 600 slots for a level 1 guild storage. Any ideas on what I might be missing?
  8. I need help changing the default rathena custom warper. I want to add a 1.000 zeny cost for level 50 and above but keep it free for levels below 50. https://github.com/rathena/rathena/blob/8740574ae349e516c5d3914bfaf13db13539327e/npc/custom/warper.txt#L19
  9. Yes. That's for item attachment tax (default 2500 each) What I'm looking is changing the tax for sending zeny (default 2%). It's hardcoded and I can't find it on nemo
  10. Sorry for bumping this old thread. Did you solved it? I can't find diff for mail zeny fee
  11. Working with Sader as our scripter has been excellent. Sader consistently delivers results quickly and precisely, going above expectations by offering creative ideas. Communication is easy, and pricing strikes the right balance between cost and quality. I highly satisfied and looking forward to future projects.
  12. Not the npc. I mean vending skill from merchant class
  13. Is it possible to equip hateffect for NPC? It would be cool if a NPC has aura!
  14. I'm facing a problem where players are abusing vending to rmt their zeny. I know pickup_log only has vending log but without the prices for what they sold. Can someone please help me making a script that could record price of sold vending items to sql? Thanks
  15. Can you limit this feature for MVP or Mini Boss only? solved
  16. Mine is not working when the card dropped/ I picked up the card. The refine broadcast success/fail is working btw Is there any settings that I need to enable first to get DropAnnounce work in item_db? solved
  17. skill.cpp case SM_ENDURE: { int splash = skill_get_splash(skill_id, skill_lv); clif_skill_nodamage(src,bl,skill_id,skill_lv, sc_start(src,bl,type,100,skill_lv,skill_get_time(skill_id,skill_lv))); skill_reveal_trap_inarea(src, splash, src->x, src->y); map_foreachinallrange( status_change_timer_sub, src, splash, BL_CHAR, src, NULL, type, tick); } -edit No errors but it didn't detects hidden characters the idea is coming from archer Improve Concentration Can someone please help me?
  18. bumping an old thread ! Same question, how to enable to DropAnnounce under flags on itemdb.yml? I can make them work in offline client, wanna bring them in online but I can't find the settings no src edit was made on offline client The first one rare_drop_announce: 0 with *DropAnnounce: true* in item db (this only triggers when you actually pickup the items) The second one rare_drop_announce: 1000 without any changes in item db (this triggers instantly on mob dead) If I enabled both they're overlapping
  19. How do I change the default regen tick from 10s to 5s? Am I looking on correct codes? // Only players have skill/sitting skill regen for now. sregen = regen->sregen; val = 0; if( (skill=pc_checkskill(sd,SM_RECOVERY)) > 0 ) val += skill*5 + skill*status->max_hp/500; if (sc && sc->count) { if (sc->getSCE(SC_INCREASE_MAXHP)) val += val * sc->getSCE(SC_INCREASE_MAXHP)->val2 / 100; } sregen->hp = cap_value(val, 0, SHRT_MAX); val = 0; if( (skill=pc_checkskill(sd,MG_SRECOVERY)) > 0 ) val += skill*3 + skill*status->max_sp/500; if( (skill=pc_checkskill(sd,NJ_NINPOU)) > 0 ) val += skill*3 + skill*status->max_sp/500; if( (skill=pc_checkskill(sd,WM_LESSON)) > 0 ) val += 3 + 3 * skill; if (sc && sc->count) { if (sc->getSCE(SC_ANCILLA)) val += sc->getSCE(SC_ANCILLA)->val2 / 100; if (sc->getSCE(SC_INCREASE_MAXSP)) val += val * sc->getSCE(SC_INCREASE_MAXSP)->val2 / 100; } sregen->sp = cap_value(val, 0, SHRT_MAX); // Skill-related recovery (only when sit) I tried changing both of these codes but the tick time didn't change. val += val * sc->getSCE(SC_INCREASE_MAXHP)->val2 / 100; val += val * sc->getSCE(SC_INCREASE_MAXSP)->val2 / 100; to val += val * sc->getSCE(SC_INCREASE_MAXHP)->val2 / 50; val += val * sc->getSCE(SC_INCREASE_MAXSP)->val2 / 50;
  20. Where do I look to change the success rate of MG_STONECURSE? I want to make Lv1 at 20% chance and +10% chance for each level. case NPC_PETRIFYATTACK: sc_start2(src,bl,SC_STONEWAIT,(16+4*skill_lv),skill_lv,src->id,skill_get_time2(skill_id,skill_lv),skill_get_time(skill_id, skill_lv)); break; Is this correct?
  21. solved. It was an error from import/item_combos.yml
  22. It didn't work. I'm still getting same error. - Combos: - Combo: - Mastering_Card - Poring_Card Script: | bonus bCritical,3; if (getequiprefinerycnt(EQI_GARMENT) >= 8) { bonus bLuk,2; bonus bCritical,3; } - Combos: - Combo: - Mastering_Card - Poring_Card Script: | bonus bCritical,3; .@r = getequiprefinerycnt(EQI_GARMENT); if (.@r>=8) { bonus bLuk,2; bonus bCritical,3; } both didn't work
  23. How do you make card combo script for this? Poring Card [+Mastering Card] Critical Rate +3 [Refine Rate +8 or higher] Addtional LUK +2 Addtional Critical Rate +3 item_combos.yml - Combos: - Combo: - Mastering_Card - Poring_Card Script: | bonus bCritical,3; if (getrefine()>7) { bonus bLuk,2; bonus bCritical,3; } I'm getting this error
×
×
  • Create New...