The Dink Network

Reply to Re: A man wears armour

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
June 2nd 2010, 08:25 AM
duckdie.gif
Get the item, place it so Dink can pick it up. Now attach a script to it that makes that when you touch it Dink gets the item. Now make a script for that item, like "item-armor" and put this into it:
Don't add stuff in square brackets!

void arm( void)
{
sp_base_walk (1, xx) [xx is basewalk of knight]
sp_base_attack (1, xx) [xx is attack sequence]
&defense = xx} [xx is defence increased by wearing armor]

So on

void_disarm( void)
{
sp_base_walk (1, xx) [xx is Dink's basewalk]
sp_base _attack (1, xx) [xx is Dink's attack]
&defense -= xx
}