Jump to content
  • 0

H> With This Skill


Kozima

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  82
  • Reputation:   2
  • Joined:  10/30/13
  • Last Seen:  

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 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  83
  • Reputation:   11
  • Joined:  11/28/11
  • Last Seen:  

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 by Sovereign
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...