[CF-Devel] Dragon claws & attack types

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Sun Dec 21 04:40:08 CST 2003


I checked on cf.mf.net why my dragon didn't have any special cold/fire/poison 
attack with clawing.

Apparently, something is broken in attack type & such.
I have 'clawing' skill, type 43 subtype 31.
Then i have archetypes 'fire_clawing', 'poison_clawing', and so on.

In player.c, dragon_ability_gain() checks treasure list's items for type '43' 
(skill). Except archetypes fire_clawing/... have the type 74 (skilltool).
So my player has (global) attack type 1 (physical) only, and all archetypes for 
fire/electric/... attacks....

Now I don't know if the archetypes are not updated, or it the code checks the 
wrong thing.
Also, should the attacktype be set for the player itself, or on a skill base? 
(ie set in the 'clawing' skill item, or on the player's attacktype?).

Side note: i have in inventory multiple 'one handed weapons' (even though i'm a 
dragon)

Nicolas 'Ryo'


_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list