Page 1 of 1

I looked in docs! I need to add damage to a weapon..

Posted: Wed Jul 09, 2008 10:27 pm
by Poi
I need to figure out how to add damage to a weapon(I want to created "damage deeds" that add damage to the specified weapon...

Anyways, I looked in iteminfo for the damage mod, but didn't help me any...

so, if you could tell me this that would be great..


Also, if someone could explain to me how somehting like 4d6 9 works?

Posted: Thu Jul 10, 2008 2:31 am
by Faceless_Soldier
I am not 100% about the 4d6 9 thing, however, I think it goes along the way of 4x D6(6 sided Dice, ie. 1-6) and I think the 9 would be added...

Eg. 4D6 9 would be 'D6 = 1-6, 4D6 = 4-24, + 9.... Total of 13-33.
Eg. 3D6 7 would be 'D6 = 1-6, 3D6 = 3-18, + 7.... Total of 10-25.

Can someone confirm/correct this?

Posted: Thu Jul 10, 2008 4:30 am
by ncrsn
That's it: http://en.wikipedia.org/wiki/Dice_notation.

Usable with RandomDiceRoll function (http://docs.polserver.com/pol097/single ... utilem.xml).

Oh, the damage thing is surprisingly well mentioned in the docs - weapon object: http://docs.polserver.com/pol097/objref.php#Weapon.

Posted: Thu Jul 10, 2008 6:34 am
by Poi
Huh... ok thanks, I dunno why I couldn't find that