.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old May 14th, 2004, 07:34 AM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Possible bug with lifedrain attacks? - developers please read

Quote:
Originally posted by Kristoffer O:
PvK: There are different categories. Poison only affects those wounded, while flames might affect the target regardless of a hit. I'm not sure which attacks are this way, but there are some.
...
Cool. That's what I figured, but thanks for the confirmation.

PvK
Reply With Quote
  #2  
Old May 14th, 2004, 10:59 AM
Stormbinder's Avatar

Stormbinder Stormbinder is offline
First Lieutenant
 
Join Date: Mar 2004
Location: CA
Posts: 744
Thanks: 0
Thanked 1 Time in 1 Post
Stormbinder is on a distinguished road
Default Re: Possible bug with lifedrain attacks? - developers please read

Quote:
Originally posted by Kristoffer O:
I'm starting to believe that the mirror image is the problem and not the life drain (poison and wraith sword affecting units).

It is quite possible that after a hit (with effects) the mirror has a chance of removing the damage. Fatigue and poison not affected.

Have you experienced the same effects with poison and (nonmagic weapons) and ethereal or is it only the mirror image that is a problem? [/QB]
I see. Yes, it is indeed possible as well just as you siad - if you have in your code check for the morror image _after_ damage/fatique calculations.


It's funny, because if this is so, than being protected by mirror image may as well be currently worse than not being protected by it, when you under attack by life-draining weapon, depending where you have check for target's protection. It feels alsmot as if your immages are draining the life from you by themself...


Another possible thing to consider while you would be looking in it in the code is to check how mirrorimage works with mistform. According to the "fixed percentage" formula that I assume to be a "correct one", since you didn't object to it , while target is protected by mistform and/or mirror image the worst thing that could happen is -1 or even zero fatique drain/gain (depending which way you round down the numbers), unless mistform is broken. But I am reasonably sure that it wasn't broken on that Air Queen, since Ice Devil wielding Hell sword wasn't actully hiting her the first place. Therefore if mirrorimage indeed accidently removes the damage but not fatique, as you suggested, it may do it without taking mistform into account, and therefore assigning a "full" damage instead of just 1 hitpoint as it should with mirrorimage spell. Just a programmer's guess, since I don't have your code in front of me.

Unfortunately I can not give you much info about poison or astral weapons with mirrorimages - I am much more often attacked by lifestealing weapons than by poison ones in my MP games.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:00 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.