kuwitchiro Posted January 6, 2014 Posted January 6, 2014 Hmm god day to all of u I have rathena server, i want to edit the frost joke and traps effect.I want frost joke and traps doesn't effect his own party and guildmates.Thanks for the help Quote
1 Evil Posted January 6, 2014 Posted January 6, 2014 (edited) Traps: http://svn.code.sf.net/p/rathena/svn/trunk/conf/battle/skill.conf // Should traps (hunter traps + quagmire) change their target to "all" inside gvg/pvp grounds? (Note 3) // Default on official servers: 1 (for players) gvg_traps_target_all: 1 Frost Joke: http://svn.code.sf.net/p/rathena/svn/trunk/src/map/skill.c int skill_frostjoke_scream (struct block_list *bl, va_list ap) { struct block_list *src; uint16 skill_id,skill_lv; unsigned int tick; nullpo_ret(bl); nullpo_ret(src=va_arg(ap,struct block_list*)); skill_id=va_arg(ap,int); skill_lv=va_arg(ap,int); if(!skill_lv) return 0; tick=va_arg(ap,unsigned int); if (src == bl || status_isdead(bl)) return 0; if (bl->type == BL_PC) { struct map_session_data *sd = (struct map_session_data *)bl; if ( sd && sd->sc.option&(OPTION_INVISIBLE|OPTION_MADOGEAR) ) return 0;//Frost Joke / Scream cannot target invisible or MADO Gear characters [Ind] } //It has been reported that Scream/Joke works the same regardless of woe-setting. [Skotlex] if(battle_check_target(src,bl,BCT_ENEMY) > 0) skill_additional_effect(src,bl,skill_id,skill_lv,BF_MISC,ATK_DEF,tick); else if(battle_check_target(src,bl,BCT_PARTY) > 0 && rnd()%100 < 10) skill_additional_effect(src,bl,skill_id,skill_lv,BF_MISC,ATK_DEF,tick); return 0; } del code: else if(battle_check_target(src,bl,BCT_PARTY) > 0 && rnd()%100 < 10) skill_additional_effect(src,bl,skill_id,skill_lv,BF_MISC,ATK_DEF,tick); Edited January 6, 2014 by Evil 1 Quote
Question
kuwitchiro
Hmm god day to all of u
I have rathena server, i want to edit the frost joke and traps effect.
I want frost joke and traps doesn't effect his own party and guildmates.
Thanks for the help
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.