Jump to content

Recommended Posts

Posted

mga bro pwde pa help dito sa status points newbie lang salamat mga bro!

Hello mga bro! pwede ba pa help ako paano i-default yung status magiging 0 matk 0 def  0 mdef  maraming salamat mga bro!

bro san  ba sya aayusin? para maging ganito yung stats!

3.png

  • 2 months later...
Posted
On 9/4/2020 at 10:51 AM, Sikdope said:

status point i dont know how to fix.. i need to 0 status point like mdef and def thankyou and godbless!

status.png

try this 

// Status points bonus for transcendent class
transcendent_status_points: 52 to 1 (0 is invalid) 

 

 

On src/map/pc.c.
There's a function that grants or take the Transcedent Classes' Bonus when a non-Trans turn into Trans and vice-versa.

	// Give or reduce transcendent status points
	if( (b_class&JOBL_UPPER) && !(sd->class_&JOBL_UPPER) ){ // Change from a non t class to a t class -> give points
		sd->status.status_point += battle_config.transcendent_status_points;
		clif_updatestatus(sd,SP_STATUSPOINT);
	}else if( !(b_class&JOBL_UPPER) && (sd->class_&JOBL_UPPER) ){ // Change from a t class to a non t class -> remove points
		if( sd->status.status_point < battle_config.transcendent_status_points ){
			// The player already used his bonus points, so we have to reset his status points
			pc_resetstate(sd);
		}
		sd->status.status_point -= battle_config.transcendent_status_points;
		clif_updatestatus(sd,SP_STATUSPOINT);
	}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...