Jump to content

hauren

Members
  • Content Count

    8
  • Joined

  • Last visited

Posts posted by hauren


  1. eu preciso de mais detalhes tipo @afk pra o player continue online mesmo deslogando ou pra mostrar um balão de afk na cabeça?

    i do need more details like @afk for the player to continue online even logging out or to show an afk balloon on his head?


  2. heya,

     

    so kro updated the skills but not in hercules so i trying to do myself

    https://github.com/HerculesWS/Hercules/issues/2727

    the problem is i cant figure it out how SC_POEMBRAGI works... where is the part of slow (when skill still active) where the part of the bonuses

    i also checked UNT_POEMBRAGI that thingies give us the actual buff, but which buff? i think if i know the buff (or at least where to change it) i can implement new behavior like clementia or canto...

    yeah i looked rathena but makes me a little bit confuse, going to try again later but damm...

    thx in advice!


  3. i did it that way and its working:

     

    case AB_VITUPERATUM:
    			if (flag&1)
    				clif->skill_nodamage(src, bl, skill_id, skill_lv, sc_start(src, bl, type, 100, skill_lv, skill_get_time(skill_id, skill_lv)));
    			else {
    				map->foreachinrange(skill->area_sub, bl, skill->get_splash(skill_id, skill_lv), BL_CHAR,
    					src, skill_id, skill_lv, tick, flag|BCT_ENEMY|1, skill->castend_nodamage_id);
    				clif->skill_nodamage(src, bl, skill_id, skill_lv, 1);
    			}
    			break;

     


  4. The problem was, aparently u have to add a new range like { AB_VITUPERATUM. AB_VITUPERATUM }

    but my problem now is: i simple copy silentium behavior right? but why i can loop through mobs around the target one ( now is looping around me  )


  5. heya!

     

    so i was messing around with source and skills and sh*t but i cant understand some parts and get many errors, i made almost* like this guide: https://github.com/HerculesWS/Hercules/wiki/Adding-new-skills

     

    i appreciate any help =]

     

    image.png.49be3aabc959ef519391c2956bea97f2.png

     

    image.png.0f80a5d7c443fb7bcf8d5c700a04514b.png
     

    i tried many things but no luck

    status.c

    // status->set_sc( AB_VITUPERATUM	, SC_LEXAETERNA	, SCB_NONE );
    add_sc( AB_VITUPERATUM	, SC_LEXAETERNA );

    skill.h

    // used that id cuz is the one used by rathena
    AB_VITUPERATUM = 5072,

    skill.c

    case AB_VITUPERATUM:
    	map->foreachinrange(skill->area_sub, src, skill->get_splash(skill_id, skill_lv), BL_CHAR,
    		src, PR_LEXAETERNA, skill_lv, tick, flag|BCT_ENEMY|1, skill->castend_nodamage_id);
    	clif->skill_nodamage(src, bl, skill_id, skill_lv, 1);
    	break;

     

    it says that have something about id range(?) so i tried to add in this part also in skill.c:
     

    skill_idx_ranges[] = {
    	{ NV_BASIC, NPC_LEX_AETERNA },
    	{ KN_CHARGEATK, SA_ELEMENTWIND },
    	{ RK_ENCHANTBLADE, AB_SILENTIUM },
    	{ WL_WHITEIMPRISON, SC_FEINTBOMB },
    	{ LG_CANNONSPEAR, SR_GENTLETOUCH_REVITALIZE },
    	{ WA_SWING_DANCE, WA_MOONLIT_SERENADE },
    	{ MI_RUSH_WINDMILL, MI_HARMONIZE },
    	{ WM_LESSON, WM_UNLIMITED_HUMMING_VOICE },
    	{ SO_FIREWALK, SO_EARTH_INSIGNIA },
    	{ GN_TRAINING_SWORD, GN_SLINGITEM_RANGEMELEEATK },
    	{ AB_SECRAMENT, LG_OVERBRAND_PLUSATK },
    	{ ALL_ODINS_RECALL, ALL_LIGHTGUARD },
    	{ RL_GLITTERING_GREED, RL_GLITTERING_GREED_ATK },
    	{ KO_YAMIKUMO, OB_AKAITSUKI },
    	{ ECL_SNOWFLIP, ALL_THANATOS_RECALL },
    	{ GC_DARKCROW, NC_MAGMA_ERUPTION_DOTDAMAGE },
    	{ SU_BASIC_SKILL, SU_SPIRITOFSEA },
    	{ HLIF_HEAL, MH_VOLCANIC_ASH },
    	{ MS_BASH, MER_INVINCIBLEOFF2 },
    	{ EL_CIRCLE_OF_FIRE, EL_STONE_RAIN },
    	{ GD_APPROVAL, GD_DEVELOPMENT },
    	CUSTOM_SKILL_RANGES
    };

    actually make the things worse =[

     

     

×
×
  • Create New...

Important Information

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