Jump to content
  • 0

[request] Rebirth NPC


Landb4Time

Question


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  76
  • Reputation:   0
  • Joined:  01/16/12
  • Last Seen:  

This feature is like when you reach 99/70 you can rebirth and every rebirth your exp gain get lesser and lesser . Until you reach max Rebirth 5. Every Rebirth has a Points and you can assign a prize for each rebirth .

bump

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

try this ?

prontera,155,181,5 script Sample 757,{
if( BaseLevel < 99 || JobLevel < 70 ){
mes "You need 99 Level and 70 Job Level to Rebirth.";
}else{
mes "Do you want to rebirth ?";
if( select("Rebirth:Cancel") == 2 ) close;
resetlvl 1;
resetstatus;
resetskill;
set Rebirth,Rebirth + 1;
set StatusPoint,StatusPoint + ( Rebirth * 100 );
mes "Done.";
getitem 607,1;
}
close;

OnNPCKillEvent:
if( Rebirth ){
set .@Base, ( getmonsterinfo( killedrid,3 ) * 70 ) / 100;
set .@Job, ( getmonsterinfo( killedrid,4 ) * 70 ) / 100;
getexp -.@Base,-.@Job;
}
end;
}

the current setting should be reduce 70% or Monster EXP...

for the EXP...i dunno how much you wanna reduce..

perhap give a clearer figure maybe i can help..

anyway..to make use of reduce the EXP per rebirth..

i think Source Mod would be better than using Script way..

because if we use script method...

the only way i can think of it..

player get EXP , then use getmonsterinfo to get the monster's EXP and reduce the EXP from the character after he gain the exp.

beside, if you want to reduce EXP per rebirth...i think you should provide what is the Limit of Rebirth that 1 character can have..

otherwise...a wrong calculation in reducing EXP might be malfunction ...>.<

Link to comment
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   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.

×
×
  • Create New...