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
EiriktheSkald
post Jan 23 2007, 03:29 AM
Post #2





Forum Member
Posts: 5
Joined: 5-December 06




The axe is for an NPC mod I'm working on. It's basically a viking's battle axe. I'm told the the way to do this is like so:

The axe calls the .eff with its new effect, using opcode 177 and a 5% chance.

The .eff does opcode 67 (summon creature) on your target, summoning the creature you've made.

The creature (which is invisible) runs the script you've made and destroys itself.

One possible script would simulate hooking the axe around the target's ankle, thus:

CODE
IF
True()
THEN
RESPONSE #100
ActionOverride(LastSummonerOf(Myself),PlayDead(75))  // target is tripped for 5 secs or whatever
END


This is measured in AI updates. There are 15 AI updates per second. What's a reasonable amount of time for the target to get back on its feet again?

Alternatively, a script to check for target's shield might look like this:

CODE
IF
OR(3)
HasItemEquiped("SHLD01",LastSummonerOf(Myself))
HasItemEquiped("SHLD02",LastSummonerOf(Myself))
HasItemEquiped("SHLD03",LastSummonerOf(Myself))
etc.
THEN
RESPONSE #100

END


But I can find no action to remove target's shield.

This post has been edited by EiriktheSkald: Jan 23 2007, 03:32 AM
Go to the top of the page
 
Quote Post

Posts in this topic


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: 22nd April 2026 - 12:34 AM