The Dink Network

Reply to Re: New Dev File: Armour Demonstration

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:
 
 
December 13th 2009, 04:05 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
By adding the defense when you obtain it and decreasing it when you get rid of it.
You just need to make sure Dink never has 2 of the same kind of armor.

//part of item's script
void pickup(void)
{
&defense += 40;
}

void drop(void)
{
&defense -= 40;
}


You could also take a couple of the magic slots and make them into charms, accessories, etc.. Having 8 spells is a bit absurd for most cases.