Its Easy.. Make a Scroll to Rebirth: (its no Tut, if U want it PN me)
(MoverSkill.cpp)
Code:
case II_SYS_SYS_SCR_REBRITH:
{
if(((CUser*)this)->m_iRebirth >= MAX_REBIRTH )
{
((CUser*)this)->AddText("You have the max. Rebirth-Level!");
nResult = 1;
}
else if(((CUser*)this)->m_nLevel == 150 && ((CUser*)this)->IsLegendHero())
{
((CUser*)this)->InitLevelRebirth( ((CUser*)this)->m_nJob-16,60); // In this case 60 Master, I dont know what you want exactly..
}
else
{
((CUser*)this)->AddText("You havn't got the right level to use this Scroll.");
nResult = 1;
}
}
break;
That put it in the Shop for your price.
If you want a "/rebirth" with cost its the function RemoveGold( int nGold ) in the FuncText.cmd i think (if you want PN me too
)