[CF List] wraith issues

Mark Wedel mwedel at sonic.net
Mon Jul 29 23:12:35 CDT 2002


Juan Segarra wrote:
>
     
      Hi, this is my first mail to the list, hello all :-)
     
     >
     
     
     >
     
      I've been playing with a wraith character, and I've noticed two issues 
     
     >
     
      which I don't know if they're supposed to be that way.
     
     >
     
     
     >
     
      The first one is that the invisibility and invisible to undead do not 
     
     >
     
      work, all enemys see you when invisible. At first I thought that it 
     
     >
     
      would be an undead effect, sort of like Frodo and his companions 
     
     >
     
      noticing the wraiths :-) But then I thought that this effect is also 
     
     >
     
      produced in an inverse way in other players, that is, undead notice 
     
     >
     
      invisible alive players. The invisible to undead spell solves that. 
     
     >
     
      Thus, I think that the invisibility for the wraith character should work 
     
     >
     
      in an inverse way, that is, invisible make it invisible to undead and 
     
     >
     
      invisible to undead make it invisible to alive characters. Anyway, 
     
     >
     
      invisibility do not work and maybe it should do.
     
     
  I just looked at the code - it is badly broken.

  When you cast invisible to undead, it sets the FLAG_UNDEAD in the player 
object.  When you just cast normal invisible, it clears that flag.

  I am sure this is very old code, but it has very bad effects - the wraith is 
no longer undead when he casts the invisible code.  similarly, a normal player 
can cast invisible to undead and be considered undead for some time period, 
getting all the benefits that allows.

  This time period is basically until fix_player is called, which could be quite 
a while if the player doesn't equip/unequip items, or cast spells which may 
effect stats or resistances.

  I'll have to fix this up.  My understanding on how this should work:

  Invisible makes you invisible to everything but undead.
Invisible to undead makes you invisible to undead, but not anything else.
improved invisible makes you invisible to everything.

  IT doesn't matter if you (the caster) is undead or not.  In any case, after I 
make the changes, the above is how things should end up working.


>
     
     
     >
     
      The other issue is about the devourers avatar. When I kill chinesse 
     
     >
     
      dragons, for example, I do not get any experience. I think the problem 
     
     >
     
      is that it kills with life stealing. Maybe I'm mistaken, but the 
     
     >
     
      performance I assume is that life stealing makes the enemy weaker until 
     
     >
     
      dead, so probably at the end the enemy is so weak that killing it do not 
     
     >
     
      give any experience. If it is so, it should be corrected, because in 
     
     >
     
      this way the devourer's avatar is useless for gaining exp.
     
     
  Actually, it hits with drain as well as several other attacktypes.

  But yes, the drain will suck the exp from the monster into the avatar,which 
doesn't do you any good.  I'll see about fixing this so that drain goes to the 
owner (this same effect applies to things like summon pet vampires also).



    
    


More information about the crossfire mailing list