Reply to Re: Touch with other sprites than Dink.
If you don't have an account, just leave the password field blank.
I just remembered that enemies killed by the boulder would give exp because of the missile brain. If that's a problem, you could always use this as a workaround.
//boulder's damage proc
//noexp.c
What noexp is doing is taking away the exp and giving it back if the monster survived. That way, if the monster died during the attack, he has no exp to give the player.
Edit: Too late I now see that you obviously do want exp from a boss
//boulder's damage proc
void damage(void)
{
//If there are hitpoints, the thing obviously wants to be killed
&save_x = sp_hitpoints(&missile_target,-1);
if (&save_x > 0)
external("noexp","main",&missile_target);
goto roll;
}
//noexp.c
void main ()
{
int &targ = &arg1;
int &xphold = sp_exp(&targ,-1);
sp_exp(&targ,0);
wait(0);
wait(0);
&save_x = sp_hitpoints(&targ,-1);
if (&save_x > 0)
sp_exp(&targ,&xphold);
}
What noexp is doing is taking away the exp and giving it back if the monster survived. That way, if the monster died during the attack, he has no exp to give the player.
Edit: Too late I now see that you obviously do want exp from a boss





