[CF-Devel] Dragon claws & attack types

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Wed Dec 24 02:59:30 CST 2003


>
     
       the clawing skill.  If it gets set in the player attacktype, that gets 
     
     >
     
      reset the next time fix_player() is called (that goes and examines 
     
     >
     
      everything the player has equipped, and sets attacktype appropriate).
     
     >
     
     
     >
     
       In the case of using skills, when you go and use a combat skill (like 
     
     >
     
      clawing), it is marked as applied, so the fix_player sees that, and then 
     
     >
     
      sets the player attacktype appropriate.
     
     >
     
     
     >
     
       (interestingly enough, you could do something like have 'fire kung fu', 
     
     >
     
      which attacks with fire, simply by making the attacktype in that skill 
     
     >
     
      new skill fire).
     
     
I tweaked my attack type for 'clawing' skill to put poison + fire + ice 
+ electricity, and right enough i do get the 'you poison xxx' messages 
(and monsters die), i don't have other attack messages though (like 'you 
set fire to xxx').
Don't know if i should have different attacktypes or not, i'll check the 
code.
But i think monsters die more rapidly, so probably everything is all 
right. And i do get those attack types with perceive self.

>
     
       Now the one thing I do see that seems odd is that the attacktype of the 
     
     >
     
      new clawing ability is or'd with the existing attacktype.
     
     >
     
     
     >
     
       That would seem to mean that a dragon character could attack with fire, 
     
     >
     
      ice, poisoning, and electricity all with the claw attack.  That seems 
     
     >
     
      wrong to me, so I'll fix that up.
     
     
Actually, that was the behaviour with the old skill system, too. A 
dragon could have all attacktypes, which was pretty useful sometimes...
(this is even mentioned in the dragon player guide, iirc)
And if you look at the code, there is no place a dragon actually loses 
an attack type, or an ability spell, or xray.
Same goes for attenuation, btw, a dragon can be attuned to the 4 paths.
I think, also, the or is here to ensure the 'physical' attack type is 
still here - after all clawing is still physical damage :)

>
     
       It's odd you have more than one.  I could see that you would have 
     
     >
     
      exactly 1 (there isn't anything preventing you from learning the skill, 
     
     >
     
      even though you'd never be able to use it).  But in that case, you 
     
     >
     
      should only have one.
     
     
I think another player has more'an one, too. I also think i had it by 
default (when i started), but i'm not 100% sure.
Side note: i do have multiple in 'hidden' inventory, but i don't 
remember right on top of my head if i have multiple 'one hand weapons' 
using the 'skills' command - i'll check when i have time to.

Also, it seems if you try to learn a skill scroll, and fail, you still 
get the exp holding object, thus the skill appears in 'skills' output.
Not that a big issue, but may be confusion...

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