Jump to content
  • 0
Sign in to follow this  
ThyroDree

Lhz Card Effect and Restriction

Question

Can you give me Lhz Card Effects like Dota RO  and Help me with 

2 Deadly Max Combo w/ Cards

like you can only use 2 lhz cards or 1lhz and 1thana

if you use 2lhz and 1thanatos, 3 cards effects will be disabled.

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

I think you need to edit item_combo_db.txt and then add the opposite of the card effect in script.

Share this post


Link to post
Share on other sites
  • 0

Item script:

 

4357,B_Seyren_Card,Lord Knight Card,6,20,,10,,,,,,,,769,,,,,{ callfunc "ccount"; if(@cardcnt < 3) { skill "LK_BERSERK",1; bonus bMaxHPrate,-50;  } },{},{}4359,B_Eremes_Card,Assassin Cross Card,6,20,,10,,,,,,,,16,,,,,{ callfunc "ccount"; if(@cardcnt < 3) { effect } },{},{}4361,B_Harword_Card,Whitesmith Card,6,20,,10,,,,,,,,2,,,,,{ callfunc "ccount"; if(@cardcnt < 3) { effect } },{},{}4363,B_Magaleta_Card,High Priest Card,6,20,,10,,,,,,,,136,,,,,{ callfunc "ccount"; if(@cardcnt < 3) { effect } },{},{}4365,B_Katrinn_Card,High Wizard Card,6,20,,10,,,,,,,,769,,,,,{ callfunc "ccount"; if(@cardcnt < 3) { effect } },{},{}4367,B_Shecil_Card,Sniper Card,6,20,,10,,,,,,,,2,,,,,{ callfunc "ccount"; if(@cardcnt < 3) { effect } },{},{}
 

 

 

 

npc script:

 

function<TAB>script<TAB>ccount<TAB>{    set @cardcnt, isequippedcnt(4357); // Lord knight card    set @cardcnt, @cardcnt + isequippedcnt(4359); // Assassin cross Card    set @cardcnt, @cardcnt + isequippedcnt(4361); // Whitesmith Card    set @cardcnt, @cardcnt + isequippedcnt(4363); // High Priest Card    set @cardcnt, @cardcnt + isequippedcnt(4365); //High Wizard Card    set @cardcnt, @cardcnt + isequippedcnt(4367); //Sniper Card    return @cardcnt;    }
Edited by quesoph

Share this post


Link to post
Share on other sites
  • 0

 

Item script:

 

4357,B_Seyren_Card,Lord Knight Card,6,20,,10,,,,,,,,769,,,,,{ callfunc "ccount"; if(@cardcnt < 3) { skill "LK_BERSERK",1; bonus bMaxHPrate,-50;  } },{},{}4359,B_Eremes_Card,Assassin Cross Card,6,20,,10,,,,,,,,16,,,,,{ callfunc "ccount"; if(@cardcnt < 3) { effect } },{},{}4361,B_Harword_Card,Whitesmith Card,6,20,,10,,,,,,,,2,,,,,{ callfunc "ccount"; if(@cardcnt < 3) { effect } },{},{}4363,B_Magaleta_Card,High Priest Card,6,20,,10,,,,,,,,136,,,,,{ callfunc "ccount"; if(@cardcnt < 3) { effect } },{},{}4365,B_Katrinn_Card,High Wizard Card,6,20,,10,,,,,,,,769,,,,,{ callfunc "ccount"; if(@cardcnt < 3) { effect } },{},{}4367,B_Shecil_Card,Sniper Card,6,20,,10,,,,,,,,2,,,,,{ callfunc "ccount"; if(@cardcnt < 3) { effect } },{},{}
 

 

 

 

npc script:

 

function<TAB>script<TAB>ccount<TAB>{    set @cardcnt, isequippedcnt(4357); // Lord knight card    set @cardcnt, @cardcnt + isequippedcnt(4359); // Assassin cross Card    set @cardcnt, @cardcnt + isequippedcnt(4361); // Whitesmith Card    set @cardcnt, @cardcnt + isequippedcnt(4363); // High Priest Card    set @cardcnt, @cardcnt + isequippedcnt(4365); //High Wizard Card    set @cardcnt, @cardcnt + isequippedcnt(4367); //Sniper Card    return @cardcnt;    }

How this work? If 3Lhz are Equiped all card effects will be disabled?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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