mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-16 11:30:17 -07:00
Fix bunyip health formula and NPC id.
This commit is contained in:
parent
e29831ccd5
commit
0bfcf2c200
1 changed files with 7 additions and 3 deletions
|
|
@ -67,7 +67,12 @@ public class BunyipNPC extends Familiar {
|
|||
if (lastHeal < GameWorld.getTicks()) {
|
||||
setLastHeal();
|
||||
owner.graphics(Graphics.create(1507), 1);
|
||||
owner.getSkills().heal((int) ((int) owner.getSkills().getMaximumLifepoints() * 0.02));
|
||||
// Since https://runescape.wiki/w/Bunyip?oldid=391088 (2008-04-02)
|
||||
// "The bunyip will automatically heal two hitpoints approximately every 15 seconds up to a player's maximum."
|
||||
// Since https://runescape.wiki/w/Bunyip?oldid=400848 (2008-04-06)
|
||||
// "The healing effect of the Bunyip can restore up to 352 hitpoints over its summoning duration of 44 minutes."
|
||||
// Numbers were multiplied by 10 with the constitution update on 2010-03-10 (https://runescape.wiki/w/Bunyip?oldid=2345672)
|
||||
owner.getSkills().heal(2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -154,7 +159,6 @@ public class BunyipNPC extends Familiar {
|
|||
|
||||
@Override
|
||||
public int[] getIds() {
|
||||
return new int[] { 6813, 6184 };
|
||||
return new int[] { 6813, 6814 };
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue