Jump to content

Recommended Posts

Posted (edited)

THIS PART IS THE PROBLEM:

 

@@ -3102,6 +3136,8 @@
 
         if( sd )
         {
+            ATK_ADDRATE(battle_SAD(sd, target, skill_id)); // Manage Skill Damage [Lilith]
+
             if (skill_id && (i = pc_skillatk_bonus(sd, skill_id)))
                 ATK_ADDRATE(i);

 

BECAUSE IN NEW REV IS THIS:

 

#ifdef RENEWAL
        ATK_ADD(wd.equipAtk, wd.equipAtk2, ratio); // equip ATK gets modified by skill bonuses as well [helvetica]
#endif
        // add any miscellaneous player ATK bonuses            
        if( sd && skill_id && (i = pc_skillatk_bonus(sd, skill_id))) {
            ATK_ADDRATE(wd.damage, wd.damage2, i);
            RE_ALLATK_ADDRATE(wd, i);
        }
   

  



Can someone rebuild and edit for latest revisions. im using 17425. Thnk you for Reply

Edited by dice4real
Posted

got this error on my r17348 using that manage skill damage 2.2 beta

 

battle.c: In function âbattle_SADâ:
battle.c:1701: warning: suggest parentheses around â&&â within â||â
battle.c:1702: warning: suggest parentheses around â&&â within â||â
battle.c:1703: warning: suggest parentheses around â&&â within â||â
battle.c:1704: warning: suggest parentheses around â&&â within â||â
battle.c:3292:72: error: macro "ATK_ADDRATE" passed 3 arguments, but takes just 1
battle.c: In function âbattle_calc_weapon_attackâ:
battle.c:3292: error: âATK_ADDRATEâ undeclared (first use in this function)
battle.c:3292: error: (Each undeclared identifier is reported only once
battle.c:3292: error: for each function it appears in.)
battle.c: In function âbattle_calc_misc_attackâ:
battle.c:4637: warning: suggest parentheses around assignment used as truth value
 
Posted

maybe this can be help.

I did not test yet.

 

rAthena 17435

fix compile error.

 

the damage increase/decrease is not working

Posted

im having a problem compiling. using solid05's 2.2beta. with my test server (windows) no problem. but when i tried via vps which is centOS, after compilation my map server does not at all. T_T... great release btw. 

Posted

this is the problem, need some one modify this one.

or i have wrong place the code.

ATK_ADDRATE(wd.damage, wd.damage2, battle_SAD(sd, target, skill_id)); // Manage Skill Damage [Lilith]

Posted

this is the problem, need some one modify this one.

or i have wrong place the code.

ATK_ADDRATE(wd.damage, wd.damage2, battle_SAD(sd, target, skill_id)); // Manage Skill Damage [Lilith]

for latest revs, u're right, ATK_ADDRATE needs 3 params

Posted

will surely try this one.



I got this warnings:

 

battle.c: In function âbattle_SADâ:
battle.c:1742: warning: suggest parentheses around â&&â within â||â
battle.c:1742: warning: suggest parentheses around â&&â within â||â
battle.c:1742: warning: suggest parentheses around â&&â within â||â
battle.c:1742: warning: suggest parentheses around â&&â within â||â
battle.c: In function âbattle_calc_misc_attackâ:
battle.c:5530: warning: suggest parentheses around assignment used as truth value
Posted

Help please im using r17454. no errors but its nor working itry it on extrimity fist. nothing happen.

 

//MO_EXTREMITYFIST
271,0,-80,-80,-80,-80

 

i did it like that/

 

sorry for my bad english.



CC    battle.c
battle.c: In function \u2018battle_SAD\u2019:
battle.c:1743: warning: suggest parentheses around && within ||
battle.c:1744: warning: suggest parentheses around && within ||
battle.c:1745: warning: suggest parentheses around && within ||
battle.c:1746: warning: suggest parentheses around && within ||
battle.c: In function \u2018battle_calc_misc_attack\u2019:

 

And ive got this after compiling. /pat

Posted

Help please im using r17454. no errors but its nor working itry it on extrimity fist. nothing happen.

 

//MO_EXTREMITYFIST

271,0,-80,-80,-80,-80

 

I just realized that the skill_damage will not worked if user only define 1 skill (I think the mod will works if player input all skill_db.txt to the skill_damage_db.txt)

because Lilith used skill_db[skill_id] on her battle_SAD, it should skill_db[skill_get_index(skill_id)].

 

CC    battle.c

battle.c: In function \u2018battle_SAD\u2019:

battle.c:1743: warning: suggest parentheses around && within ||

battle.c:1744: warning: suggest parentheses around && within ||

battle.c:1745: warning: suggest parentheses around && within ||

battle.c:1746: warning: suggest parentheses around && within ||

battle.c: In function \u2018battle_calc_misc_attack\u2019:

 

And ive got this after compiling. /pat

which patch file do u use?

Posted

Fix compile warning for svn.

Support 17454.

Backup first before apply this.

 

Hi i used version 17422 and failed recompile,Please help

 

as you can see the one you've patched is supporting svn 17454 or higher. update your svn to latest or at least 17454

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...