you could do something like this :
PlayerTemplate.java
public final double getBaseHpMax(int level)
{
double HP;
if (level >= 80) {
HP = _hpTable[79] + 35 * (level - 80);
} else {
HP = _hpTable[level -1];
}
return HP;
}
same should do for CP/MP , and u won't have to edit any classes table
and dont forget karma tables :)
Question
MeVsYou
Hello Mxc Members....
Well two days i am trying to fix the npc buffer i use .
Everything ok ,except Button "Heal" and "Cancel".
In the first page when you click on Npc buffer as .htm file for heal button and canel button is this :
<table>
<tr>
<td><button action="bypass -h Quest 60551_NPCBuffer 71" value="Heal" width=120 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td><button action="bypass -h Quest 60551_NPCBuffer 71" value="Cancel Buffs" width=120 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td></td>
</tr>
</table>
Now as about : scripts/custom/60551_NPCBuffer/_init_.py :
and at stats/skills i made a .xml file named Heal with the following :
But when i click at Heal and at Cancle button ingame,nothing happened.What i am doing wrong?
Plz help me,i can't any more this shit :/
Link to comment
Share on other sites
32 answers to this question
Recommended Posts