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

Welcome Guest ( Log In | Register )

> Northlander's War Axe
EiriktheSkald
post Jan 22 2007, 02:34 PM
Post #1





Forum Member
Posts: 5
Joined: 5-December 06




We were discussing a technique with a light axe... hooking the axe over the opponent's shield and pulling it out of position, a nicely effective trick. Effect #264 - Drop Weapons in Panic (Example: gauntlets of fumbling) causes the target to drop all weapons it is holding. If it's a weapon-wielding humanoid, it's largely disabled by this. I would like to cause the target to either drop its shield or suffer a penalty in armor class on a successful hit (5-10% chance). Can this be done? What would be required to cause the target to drop its shield?

Edit:] This script might work:

IF
HasItem("SHLD01",NearestEnemyOf())
THEN
RESPONSE #100
DropItem("SHLD01",NearestEnemyOf())
END

But I'm not sure how to implement it into the item.

This post has been edited by EiriktheSkald: Jan 22 2007, 03:41 PM
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
Rabain
post Jan 23 2007, 01:34 AM
Post #2


GOD


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




I don't think you can use the IDS target in this sense. The General.ids relates to a setting in the cre file. This isn't changed by wearing a shield.

I've looked at some creatures using NI that carry shields and their General setting is Humanoid. In fact I couldn't find a cre that used anything other than Humanoid, Monster, Giant-humanoid or Undead from general.ids. This means that even if your item was working it would never get a chance to as there are no creatures in the game generally classed as shield.

This is the description for the thaco modifier opcode in DLTCEP: 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 -> THAC0 = THAC0 + 'Statistic Modifier' value
1 Flat Value Modifier -> THAC0 = 'Statistic Modifier' value
2 Percentage Modifier -> THAC0 = (THAC0 * 'Statistic Modifier' value) / 100

You don't need to use the Power field.

I don't think you'll be able to do what you want to do without a script.
Go to the top of the page
 
Quote Post

Posts in this topic


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



- Lo-Fi Version Time is now: 17th February 2026 - 01:50 AM