CalcMeleeDamage: CalcMeleeDamage should not handle bows

03/16/2014 02:45 ebert.tonna#1
Syserr Server:

CalcMeleeDamage: CalcMeleeDamage should not handle bows

Code:

PHP Code:
    weapon_subtype weapon_proto->bSubType;
    
v14 << weapon_subtype;
    if ( !((
<< weapon_subtype) & 0xBB) )
    {
        if ( 
v14 )
        {
            
charname CHARACTER__GetName(pAttacker);
            
sys_err("CalcMeleeDamage"381"CalcMeleeDamage should not handle bows (name: %s)"charname);
            
result 0;
            goto return;
        }
        goto 
res0;
    } 
Server Item Proto
Type 1 Subtype 2

Ist jetzt der Subtype vom Bogen falsch oder was isses?
03/16/2014 08:32 Coniesan#2
Gegenfrage: Hast du evtl in der skill_proto nem Ninja-skill Melee Schaden zugewiesen? :D
03/16/2014 12:40 ebert.tonna#3
ei ja

unter setFlag
ATTACK,USE_MELEE_DAMAGE,SELFONLY,SPLASH,IGNORE_TAR GET_RATING

und eSkillType steht auch MELEE

in was sollte ich das ändern?