Items

For builders to discuss and ask building questions.
Post Reply
Atraos
Sword Grand Master
Sword Grand Master
Posts: 316
Joined: Fri Jul 24, 2009 7:26 am
Location: UK

Items

Post by Atraos » Fri Aug 09, 2013 1:52 pm

If i wanted to create an item that helped deflect missiles, how would I do this?

Thanks

I am aware of the Deflect flag for weapons, is there something similar for shields?
Nylo
Sword Grand Master
Sword Grand Master
Posts: 447
Joined: Tue Jul 26, 2011 7:15 pm
Location: Ohio, USA

Re: Items

Post by Nylo » Fri Aug 09, 2013 11:30 pm

Pathfinder provides for this. However, we no longer have the arrow deflection feat, so I am not sure that the code for arrow deflection is still around. Mask would be the one to answer this.
Nylo, Fighter of Tempus
Anver, Transmuter of Garl
Malic, Cleric of Tyr
Luthir, Druid of Mielikki
User avatar
Harroghty
Staff
Staff
Posts: 9695
Joined: Tue Jul 27, 2004 5:38 pm

Re: Items

Post by Harroghty » Sat Aug 10, 2013 1:12 am

Well, you could make your shield apply a bonus to the dodge skill or you could make your shield -when worn- reducing piercing damage (the type done by most missiles). There is no specific apply or flag that deals with only ranged attacks.
"A man may die yet still endure if his work enters the greater work, for time is carried upon a current of forgotten deeds, and events of great moment are but the culmination of a single carefully placed thought." - Chime of Eons
Nylo
Sword Grand Master
Sword Grand Master
Posts: 447
Joined: Tue Jul 26, 2011 7:15 pm
Location: Ohio, USA

Re: Items

Post by Nylo » Sat Aug 10, 2013 1:37 am

I was under the impression that reduction of piercing damage was part of the old resistance system, which had piercing, blunt, slashing, magical, etc, and was removed when Mask implemented the new system? Or does it still function that way?
Nylo, Fighter of Tempus
Anver, Transmuter of Garl
Malic, Cleric of Tyr
Luthir, Druid of Mielikki
Atraos
Sword Grand Master
Sword Grand Master
Posts: 316
Joined: Fri Jul 24, 2009 7:26 am
Location: UK

Re: Items

Post by Atraos » Mon Aug 12, 2013 2:46 pm

Thanks for taking the time to answer guys.

How do I add the bonus:-

Can someone show me on the below item please?
shield blackened steel~
{80}A blackened shield made of steel~
{80}A blackened shield made of steel lies on the ground here.~
~
ITEM_TYPE_ARMOR
FLAG_GLOW|FLAG_MAGIC
CAN_WEAR_TAKE|CAN_WEAR_HOLD
QUALITY_OUTSTANDING MATERIAL_STEEL COND_PERFECT SIZE_MEDIUM
0 0 LAYER_ARMOR ARMOR_TYPE_METAL_HEAVY_SHIELD 0 0
E
blackened shield steel~
{80}A well crafted shield crafted from blackened steel. A broken crossbow bolt has
been engraved on the front and set with {0F}silver. {80}A feint glow comes from the broken bolt.~


Also, if i wanted some gloves to aid with crafting how would I add the bonus on the below item?

Thick Rothe leather Gloves~
{30}a pair of Rothe Skin Leather gloves~
{30}A pair of Rothe skin Leather gloves lay abandoned here.~
~
ITEM_TYPE_ARMOR
FLAG_MAGIC
CAN_WEAR_TAKE|CAN_WEAR_HANDS
QUALITY_HIGH MATERIAL_STEEL COND_PERFECT SIZE_MEDIUM
0 BODY_HUMANOID LAYER_ARMOR ARMOR_TYPE_SCALE_MAIL 0 0
E
Rothe Leather Gloves
{30}These thick leather gloves are supple despite their thickness. On the top side of each
hand an embroidered shield can be seen in what appears to be {B0}golden {30}thread. Upon the shield
is a broken crossbow bolt of {F0}silver {30}thread. On the palms of each glove an Anvil has been
embroidered.


Many thanks in advance
User avatar
Casamir
Sword Grand Master
Sword Grand Master
Posts: 286
Joined: Tue Aug 04, 2009 2:27 am
Location: The Twilit Grottoes beneath Exham Priory
Contact:

Re: Items

Post by Casamir » Sat Aug 17, 2013 1:21 am

I wonder if you could rig up an intercept command that could do a version of this, giving a %fail if the shield carrier is targeted.

Code: Select all

>intercept_prog shoot~
if stringprefix($2) == $c
and isfight($n)
and rand(25)
   mpechoat $n You attempt to shoot $c, only to have your projectile deflected.
   mpechoat $c Your shield glows and deflects a projectile.
   mpechoaround $c @$c's shield glows and deflects a projectile.
else
  mpunintercept
endif
~
I know there is 'APPLY_X' for some basic trade-like skills such as brewing, but I don't know of an apply proper for the trades themselves. All I can think of is using a quest for to earn these smithing gloves, and then just having a mob mset crafting slightly higher as part of the reward. This would make the gloves largely symbolic, but then you also don't want just anyone wearing a pair of gloves and suddenly being able to craft.
"Get thee back into the tempest and the Night's Plutonian shore!" "'Tis as impossible that he's undrowned as he that sleeps here swims." "I'm begging you please wake me up, In all my dreams I...."
User avatar
Harroghty
Staff
Staff
Posts: 9695
Joined: Tue Jul 27, 2004 5:38 pm

Re: Items

Post by Harroghty » Sat Aug 17, 2013 1:55 am

Objects "applies" (be they skill, value, or whatever else) of any type should be employed only with great discretion. They look like this in practice:

Code: Select all

shield blackened steel~
{80}A blackened shield made of steel~
{80}A blackened shield made of steel lies on the ground here.~
~
ITEM_TYPE_ARMOR
FLAG_GLOW|FLAG_MAGIC
CAN_WEAR_TAKE|CAN_WEAR_HOLD
QUALITY_OUTSTANDING MATERIAL_STEEL COND_PERFECT SIZE_MEDIUM
0 0 LAYER_ARMOR ARMOR_TYPE_METAL_HEAVY_SHIELD 0 0 
E
blackened shield steel~
{80}A well crafted shield crafted from blackened steel. A broken crossbow bolt has
been engraved on the front and set with {0F}silver. {80}A feint glow comes from the broken bolt.~
A
APPLY_VALUE 300
"A man may die yet still endure if his work enters the greater work, for time is carried upon a current of forgotten deeds, and events of great moment are but the culmination of a single carefully placed thought." - Chime of Eons
Post Reply