Jump to content

kidsada

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by kidsada

  1. Please Help Me Trap Skill

    Trap damage damage doesn't overlap. For example, I used my Arrow Shower skill to flick a total of 5 Traps in order to lunge at a monster to die in 5 hits, but the result was the damage dealt. Just 1 hit, even though I'm using Arrow Shower skill to eject a total of 5 Traps, should deal 5 damage in one place at the same time.

     

     

  2. Ask for advice on how to adjust the skill range BOWLINGBASH 3 * 6.

    Is it correct? please recommend if you have other ways to change it. I'm newbie. Thank you !!

    // Splash around target cell, but only cells inside area; we first have to check the area is not negative
    				// KN_BOWLINGBASH 3*6 ช่อง
    				if((max(min_x,tx-3) <= min(max_x,tx+3)) &&
    					(max(min_y,ty-0) <= min(max_y,ty+6)) &&
    					(map_foreachinallarea(skill_area_sub, bl->m, max(min_x,tx-1), max(min_y,ty-1), min(max_x,tx+1), min(max_y,ty+1), splash_target(src), src, skill_id, skill_lv, tick, flag|BCT_ENEMY, skill_area_sub_count))) {
    					// Recursive call
    					map_foreachinallarea(skill_area_sub, bl->m, max(min_x,tx-1), max(min_y,ty-1), min(max_x,tx+1), min(max_y,ty+1), splash_target(src), src, skill_id, skill_lv, tick, (flag|BCT_ENEMY)+1, skill_castend_damage_id);
    					// Self-collision

    Find a person to do src as needed cm ib ++!!

  3. closed mode // #define RENEWAL_CAST can you Edited

    // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
    // For more information, see LICENCE in the main folder
    #ifndef _CONFIG_RENEWAL_H_
    #define _CONFIG_RENEWAL_H_
    
    //quick option to disable all renewal option, used by ./configure
    //#define PRERE
    #ifndef PRERE
    /**
     * rAthena configuration file (http://rathena.org)
     * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
     **/
    
    
    /**
     * @INFO: This file holds general-purpose renewal settings, for class-specific ones check /src/config/classes folder
     **/
    
    /// Game renewal server mode
    /// (disable by commenting the line)
    ///
    /// Leave this line to enable renewal specific support such as renewal formulas
    #define RENEWAL
    
    /// Renewal cast time
    /// (disable by commenting the line)
    ///
    /// Leave this line to enable renewal casting time algorithms and enable fixed cast bonuses.
    /// See also default_fixed_castrate in conf/battle/skill.conf for default fixed cast time (default is 20%).
    /// Cast time is altered be 2 portion, Variable Cast Time (VCT) and Fixed Cast Time (FCT).
    /// By default FCT is 20% of VCT (some skills aren't)
    /// - VCT is decreased by DEX * 2 + INT.
    /// - FCT is NOT reduced by stats, reduced by equips or buffs.
    /// Example:
    ///  On a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a FCT
    //#define RENEWAL_CAST
    
    /// Renewal drop rate algorithms
    /// (disable by commenting the line)
    ///
    /// Leave this line to enable renewal item drop rate algorithms
    /// While enabled a special modified based on the difference between the player and monster level is applied
    /// Based on the http://irowiki.org/wiki/Drop_System#Level_Factor table
    #define RENEWAL_DROP
    
    /// Renewal exp rate algorithms
    /// (disable by commenting the line)
    ///
    /// Leave this line to enable renewal item exp rate algorithms
    /// While enabled a special modified based on the difference between the player and monster level is applied
    #define RENEWAL_EXP
    
    /// Renewal level modifier on damage
    /// (disable by commenting the line)
    ///
    // Leave this line to enable renewal base level modifier on skill damage (selected skills only)
    #define RENEWAL_LVDMG
    
    /// Renewal ASPD [malufett]
    /// (disable by commenting the line)
    ///
    /// Leave this line to enable renewal ASPD
    /// - shield penalty is applied
    /// - AGI has a greater factor in ASPD increase
    /// - there is a change in how skills/items give ASPD
    /// - some skill/item ASPD bonuses won't stack
    //#define RENEWAL_ASPD
    
    /// Renewal stat calculations
    /// (disable by commenting the line)
    ///
    /// Leave this line to enable renewal calculation for increasing status/parameter points
    #define RENEWAL_STAT
    
    #endif
    
    #endif // _CONFIG_RENEWAL_H_

     

  4. 1 hour ago, joecalis said:

    in skill.cpp at skill_vfcastfix change this:

    if (!(flag&1))
    		time = time * (1 - sqrt(((float)(status_get_dex(bl) * 2 + status_get_int(bl)) / battle_config.vcast_stat_scale)));
    
    	time = time * (1 - (float)min(reduce_cast_rate, 100) / 100);
    	time = max(time, 0) + (1 - (float)min(fixcast_r, 100) / 100) * max(fixed, 0); //Underflow checking/capping

    to this:

    if (!(flag&1))
    		time = time * (1 - sqrt(((float)(status_get_dex(bl) * 2 + status_get_int(bl)) / battle_config.vcast_stat_scale)));
    
    	time = time * (1 - (float)min(status_get_int(bl)*(2/10), 100) / 100);
    
    	time = time * (1 - (float)min(reduce_cast_rate, 100) / 100);
    	time = max(time, 0) + (1 - (float)min(fixcast_r, 100) / 100) * max(fixed, 0); //Underflow checking/capping

     

    Thank you  It does not work.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.