The Dink Network

Reply to Re: Immunity to Certain Weapons?

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:
 
 
February 6th 2009, 07:47 PM
fairy.gif
Someone
Peasant He/Him Australia
 
Oh, I forgot that all weapons use the same seq. &cur_weapon can be used.. but only for the default weapon. This does work:

int &t;
if (&cur_weapon == 1)
{
&t = sp_hitpoints(&current_sprite,-1);
sp_hitpoints(&current_sprite,0);
wait(1);
wait(1);
sp_hitpoints(&current_sprite,&t);
}