Jump to content

Cydh

Developer
  • Posts

    2285
  • Joined

  • Last visited

  • Days Won

    77

Everything posted by Cydh

  1. Cydh

    Refine Bonus

    you can use this method, put this script part on script section //... switch(getequipid(EQI_HAND_R)) { case 11607: bonus bStr,5; break; case 11608: bonus bInt,5; break; } //...
  2. I mean, your unsigned short mapindex; change it becomes unsigned short mapindex = sd->bl.m; or unsigned short mapindex = 0;
  3. did u try this one? unsigned short mapindex = sd->bl.m;[code][code]unsigned short mapindex = 0;[code]
  4. what kind of equips? or item_bonus? if item/equip have BF_Weapon? item bonus if( (return_=((TBL_PC*)bl)->bonus.short_weapon_damage_return) > 0 ) bonus bShortWeaponDamageReturn,n;
  5. /grat /grats why no RO's emoticon for congratulation?
  6. clif_displaymessage(fd, msg_txt(sd,19));
  7. move this to certain command sd->canusecommand_tick = gettick() + battle_config.atcommand_delay;
  8. Cydh

    Add reduce damage

    on battle.c battle_calc_weapon_attack, on latest line before "return wd;" if( target->type == BL_PC && ((TBL_PC*)bl)->class_&MAPID_UPPERMASK == MAPID_NOVICE && skill_id == MO_EXTREMITYFIST && wd.damage > 500000 ) wd.damage = 400000; something like that
  9. if you want a src mod, see here http://rathena.org/board/topic/83569-delay-to-use-command/
  10. Just a reply of this thread: How are do delay after @command // Gives delay to use command after using command (in milisecond). [Cydh] atcommand_delay: 2000 Download: command_delay-rA-svn17359.patch
  11. btw, why this post is here? this is release section. xD
  12. yeah, that name is not too human.. xD
  13. Updated IDN for last changes on svn17359 btw, @partysharelvl is that mean the level range for party share? "Level range of party share"? need "is".. "Character server is offline"?
  14. skill_vfcastfix is cast calculation for renewal
  15. if u were asking for change the formula of ATK and MATK, there are too many you need to change on battle.c weapon damage -> static struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list *target,uint16 skill_id,uint16 skill_lv,int wflag) magic damage - > struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list *target,uint16 skill_id,uint16 skill_lv,int mflag) misc damage -> struct Damage battle_calc_misc_attack(struct block_list *src,struct block_list *target,uint16 skill_id,uint16 skill_lv,int mflag) for the casting, on skill.c int skill_vfcastfix (struct block_list *bl, double time, uint16 skill_id, uint16 skill_lv)
  16. no. haha nice idea. I'll try to add it
  17. for all maps, don't need make mapflag for each, just set on the conf file atk_adjustment_map: 4095 atk_short_attack_damage_rate: 200 atk_long_attack_damage_rate: 200 atk_weapon_attack_damage_rate: 200 atk_magic_attack_damage_rate: 200 atk_misc_attack_damage_rate: 200
  18. then talk with my hand
  19. interesting, best answer for self post.
  20. try change the if( pl_sd->buyer_id ) //check if player is autobuying becomes if( pl_sd->state.buyingstore ) //check if player is autobuying it because buyer_id problem, on buyingstore.c, this function return 0 for the first buyer. static unsigned int buyingstore_nextid = 0; static unsigned int buyingstore_getuid(void) { return buyingstore_nextid++; }
  21. +1 modern MMORPGs have bind/bound item system for same item.. this is better than item_notrade that for all items with same ID. this bound item makes possibility 1 item ID can be bound item or unbound. using color to mark it as bound item is cool.
  22. really? 17285's @doommap is check it only for same map. if (pl_sd->fd != fd && sd->bl.m == pl_sd->bl.m && pc_get_group_level(sd) >= pc_get_group_level(pl_sd))
×
×
  • Create New...