Kozima Posted December 30, 2015 Posted December 30, 2015 please help me with this skill 2008,9,6,2,3,0x2,1:1:1:2:2:2:3:3:4:4,10,1,no,0,0,0,weapon,0,0x0, RK_DRAGONBREATH,Dragon Breath Dragon Breath skill, effect with Card, like stormy knight card, and thanatos card how to make it, didn't effect with card?? src/map/battle.c //Card Fix for attacker (sd), 2 is added to the "left" flag meaning "attacker cards only" switch(skill_id) { case RK_DRAGONBREATH: case RK_DRAGONBREATH_WATER: if(wd.flag&BF_LONG) { //Add check here, because we want to apply the same behavior in pre-renewal [exneval] wd.damage = wd.damage * (100 + sd->bonus.long_attack_atk_rate) / 100; if(is_attack_left_handed(src, skill_id)) wd.damage2 = wd.damage2 * (100 + sd->bonus.long_attack_atk_rate) / 100; } break; default: wd.damage += battle_calc_cardfix(BF_WEAPON, src, target, battle_skill_get_damage_properties(skill_id, wd.miscflag), right_element, left_element, wd.damage, 2, wd.flag); if( is_attack_left_handed(src, skill_id )) wd.damage2 += battle_calc_cardfix(BF_WEAPON, src, target, battle_skill_get_damage_properties(skill_id, wd.miscflag), right_element, left_element, wd.damage2, 3, wd.flag); break; thanks for helping Quote
0 rootKid Posted January 2, 2016 Posted January 2, 2016 (edited) The skill causes the auto-casting effect of Stormy Knight card? As for Thanatos card, that would be a damage modifier, so in the skill_db.txt, set the nk (skill damage properties) of Dragon Breath's to incorporate 0x08 ( Makes the skill ignore all the caster's % damage mod cards. Unsure whether this affect other cards, as well.) Edited January 2, 2016 by Sovereign Quote
Question
Kozima
please help me with this skill
Dragon Breath skill, effect with Card, like stormy knight card, and thanatos card
how to make it, didn't effect with card??
src/map/battle.c
thanks for helping
1 answer 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.