Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
DSC

React To The Profile Pic Above You

Recommended Posts

if (priority < 8)
    {
	if (plyr->damagecount
	    && plyr->attacker
	    && plyr->attacker != plyr->mo)
	{
	    // being attacked
	    priority = 7;
	    
	    if (plyr->health - st_oldhealth > ST_MUCHPAIN)
	    {
		st_facecount = ST_TURNCOUNT;
		st_faceindex = ST_calcPainOffset() + ST_OUCHOFFSET;
	    }
	    else
	    {
		badguyangle = R_PointToAngle2(plyr->mo->x,
					      plyr->mo->y,
					      plyr->attacker->x,
					      plyr->attacker->y);
		
		if (badguyangle > plyr->mo->angle)
		{
		    // whether right or left
		    diffang = badguyangle - plyr->mo->angle;
		    i = diffang > ANG180; 
		}
		else
		{
		    // whether left or right
		    diffang = plyr->mo->angle - badguyangle;
		    i = diffang <= ANG180; 
		} // confusing, aint it?

		
		st_facecount = ST_TURNCOUNT;
		st_faceindex = ST_calcPainOffset();
		
		if (diffang < ANG45)
		{
		    // head-on    
		    st_faceindex += ST_RAMPAGEOFFSET;
		}
		else if (i)
		{
		    // turn face right
		    st_faceindex += ST_TURNOFFSET;
		}
		else
		{
		    // turn face left
		    st_faceindex += ST_TURNOFFSET+1;
		}
	    }
	}
    }

:)

 

Share this post


Link to post
if (ConvertToText(CheckSoundInput()) == "You hair weird"){
	CrazyDiamond.show();
	CrazyDiamond.attack(target);
}

 

Share this post


Link to post
46 minutes ago, URROVA said:

if (ConvertToText(CheckSoundInput()) == "You hair weird"){
	CrazyDiamond.show();
	CrazyDiamond.attack(target);
}

 

My friend with scarf...

Spoiler

XD

 

Share this post


Link to post
5 hours ago, Frost-Core said:

if Instrument == "bass":
  print("ur wrong")
else:
  print("ur right lol")

 

aaand mr status bar is hungry again and he eats text strings from the source code instead of eating the extra numbers from the revenant health which would actually benefit people yknow

Share this post


Link to post
Guest
This topic is now closed to further replies.
×