goddameit Posted June 16, 2013 Posted June 16, 2013 File Name: Reflect "Reflection damage" File Submitter: goddameit File Submitted: 16 Jun 2013 File Category: Source Modifications Content Author: Goddameit preview : http://bit.ly/169dTxy - When you attack someone and he give you damage cause reflection, you will also give him a reflection damage if you're wearing some equip which will do this Click here to download this file Quote
Mootie Posted June 17, 2013 Posted June 17, 2013 mind explain this part Quote if you're wearing some equip which will do this what kind of equips? or item_bonus? if item/equip have BF_Weapon? Quote
Cydh Posted June 17, 2013 Posted June 17, 2013 (edited) mind explain this part Quote if you're wearing some equip which will do this 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; Edited June 17, 2013 by Cydh Quote
Diss Posted July 3, 2013 Posted July 3, 2013 hi i need help about this src\map\battle.c // Deals the same damage to targets in area. [pakpil] int battle_damage_area( struct block_list *bl, va_list ap) { unsigned int tick; int amotion, dmotion, damage; int amotion, dmotion, damage, return_, damage_; struct block_list *src; nullpo_ret(bl); tick=va_arg(ap, unsigned int); src=va_arg(ap,struct block_list *); amotion=va_arg(ap,int); dmotion=va_arg(ap,int); damage=va_arg(ap,int); if( bl->type == BL_MOB && ((TBL_MOB*)bl)->class_ == MOBID_EMPERIUM ) return 0; if( bl != src && battle_check_target(src,bl,BCT_ENEMY) > 0 ) { map_freeblock_lock(); if( src->type == BL_PC ) battle_drain((TBL_PC*)src, bl, damage, damage, status_get_race(bl), is_boss(bl)); if( amotion ) battle_delay_damage(tick, amotion,src,bl,0,CR_REFLECTSHIELD,0,damage,ATK_DEF,0,true); else status_fix_damage(src,bl,damage,0); clif_damage(bl,bl,tick,amotion,dmotion,damage,1,ATK_BLOCK,0); skill_additional_effect(src, bl, CR_REFLECTSHIELD, 1, BF_WEAPON|BF_SHORT|BF_NORMAL,ATK_DEF,tick); if( (return_=((TBL_PC*)bl)->bonus.short_weapon_damage_return) > 0 ) { damage_=damage*return_/100; if(damage_>0) { battle_delay_damage(tick, amotion,bl,src,0,CR_REFLECTSHIELD,0,damage_,ATK_DEF,0,true); clif_damage(src,src,tick,amotion,dmotion,damage_,1,ATK_BLOCK,0); skill_additional_effect(bl, src, CR_REFLECTSHIELD, 1, BF_WEAPON|BF_SHORT|BF_NORMAL,ATK_DEF,tick); } } map_freeblock_unlock(); } then recompile item_db2 2101,Guard,Guard,5,500,,300,,20,,0,0xFFFFFFFF,7,2,32,,0,1,1,{},{bonus bShortWeaponDamageReturn,100; },{ },{} i think if i recieve the reflect and one who wear reflcet shield is going to recieve dmg but its nothing happen ano can help me .. Quote
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.