The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Damage modifier
egm
post Jan 12 2005, 10:11 PM
Post #1


Eminence Grise Machiavelic
Group Icon

Mod Developer
Posts: 244
Joined: 12-November 04
From: Monthléry




Hello all,

What I want to make is quite simple: I want to create an armor that gives resistance to damages (slashing for my example). But instead of a % value, i would like a row number: the amount of damage dealt is reduced by this number.

Is there a way to do that in BGII?
Go to the top of the page
 
Quote Post
Awake
post Jan 12 2005, 10:26 PM
Post #2


The Raven
Group Icon

Mod Developer
Posts: 590
Joined: 4-September 04
From: California, USA




Shoot me for being lazy, but I only think that this is what you are looking for. I didn't look too hard at it(I'm doing some homework right now), but I tried nonetheless and this looks good enough to me.

I found this in the ever faithful IESDP.

QUOTE

#86 (0x56) Stat: Slashing Resistance Modifier [86]    Parameter #1: Statistic Modifier
    Parameter #2: Type
    Description:
    Applies the modifier value specified by the 'Statistic Modifier'
    field in the style specified by the 'Type' field.
   
    Known values for 'Type' are:
    0  Cumulative Modifier -> Damage = Damage + 'Statistic Modifier'
    value
    1  Flat Value Modifier -> Damage = 'Statistic Modifier' value
    2  Percentage Modifier -> Damage = (Damage * 'Statistic Modifier'
    value) / 100


--------------------
And can we finally say that the bhaal spawn idea has had the final nail hammered in its coffin?


Member of the World Transition Project

And the raven, never flitting, still is sitting, still is sitting
On the pallid bust of Pallas just above my chamber door;
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor;
And my soul from out that shadow that lies floating on the floor
Shall be lifted - nevermore!


Like dealing with terrorists by giving them explosives
Go to the top of the page
 
Quote Post
egm
post Jan 12 2005, 11:03 PM
Post #3


Eminence Grise Machiavelic
Group Icon

Mod Developer
Posts: 244
Joined: 12-November 04
From: Monthléry




I just test it, and the value is a % one, whatever the type. Type 3 is the increase of the current resistance of the characters.

When I set the statistic modifier to 10 and the ype to 0, it decreases the damage taken by 10%. What I want them t do is decreasing damages by 10 points
Go to the top of the page
 
Quote Post
Awake
post Jan 12 2005, 11:10 PM
Post #4


The Raven
Group Icon

Mod Developer
Posts: 590
Joined: 4-September 04
From: California, USA




Hmmm.... in that case, I don't know what to say since what you want it to do is supposedly what the effect does...


--------------------
And can we finally say that the bhaal spawn idea has had the final nail hammered in its coffin?


Member of the World Transition Project

And the raven, never flitting, still is sitting, still is sitting
On the pallid bust of Pallas just above my chamber door;
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor;
And my soul from out that shadow that lies floating on the floor
Shall be lifted - nevermore!


Like dealing with terrorists by giving them explosives
Go to the top of the page
 
Quote Post
Galactygon
post Jan 12 2005, 11:32 PM
Post #5



Group Icon

Mod Developer
Posts: 1158
Joined: 22-July 04
From: Sweden




I'm sorry, but it's hardcoded in all IE except IWDII. In IWDII, however, that's the only type of resistance you can set.

-Galactygon


--------------------
Go to the top of the page
 
Quote Post
egm
post Jan 13 2005, 07:57 AM
Post #6


Eminence Grise Machiavelic
Group Icon

Mod Developer
Posts: 244
Joined: 12-November 04
From: Monthléry




Oh sh... :angry:
Go to the top of the page
 
Quote Post
Rabain
post Jan 13 2005, 04:10 PM
Post #7


GOD


Retired team member
Posts: 1728
Joined: 14-July 04
From: Ireland




I guess the reason for this is that if you where damaged by 6 points then the armour would reduce this by 10 and heal you 4 points....is that what you were aiming for? Much the same way as if you had a resistance over 100.

It probably sounded silly to the developers to have a negative damage amount.

I am just assuming this is the reason for its absence of course!
Go to the top of the page
 
Quote Post
egm
post Jan 13 2005, 04:13 PM
Post #8


Eminence Grise Machiavelic
Group Icon

Mod Developer
Posts: 244
Joined: 12-November 04
From: Monthléry




QUOTE
is that what you were aiming for?


No. Resistances much like the IWDII ones, or just a way to simulate them.
Go to the top of the page
 
Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 5th June 2025 - 12:11 PM