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

Welcome Guest ( Log In | Register )

> 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
 
Start new topic
Replies
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

Posts in this topic
egm   Damage modifier   Jan 12 2005, 10:11 PM
Awake   NULL   Jan 12 2005, 10:26 PM
egm   NULL   Jan 12 2005, 11:03 PM
Awake   NULL   Jan 12 2005, 11:10 PM
Galactygon   NULL   Jan 12 2005, 11:32 PM
egm   NULL   Jan 13 2005, 07:57 AM
Rabain   NULL   Jan 13 2005, 04:10 PM
egm   NULL   Jan 13 2005, 04:13 PM


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: 29th August 2025 - 07:10 AM