Support magic up to level 40.

This commit is contained in:
MobiusDev
2017-07-26 01:42:50 +00:00
parent f8489e0b2a
commit 9ab4d5e3eb
4 changed files with 11 additions and 11 deletions

View File

@@ -1,12 +1,12 @@
<html><body>
You are eligible to receive the following supplemental magic:<br>
Levels 6-75: Wind Walk<br1>
Levels 6-75: Shield<br1>
Levels 6-75: Magic Barrier<br1>
Levels 6-75: Bless the Body (Fighter), Bless the Soul (Wizard)<br1>
Levels 6-75: Vampiric Rage (Fighter), Acumen (Wizard)<br1>
Levels 6-75: Regeneration (Fighter), Concentration (Wizard)<br1>
Levels 6-75: Haste (effect increases after level 40), Empower (Wizard)<br1>
Levels 6-40: Wind Walk<br1>
Levels 6-40: Shield<br1>
Levels 6-40: Magic Barrier<br1>
Levels 6-40: Bless the Body (Fighter), Bless the Soul (Wizard)<br1>
Levels 6-40: Vampiric Rage (Fighter), Acumen (Wizard)<br1>
Levels 6-40: Regeneration (Fighter), Concentration (Wizard)<br1>
Levels 6-40: Haste, Empower (Wizard)<br1>
Levels 16-34: Life Cubic<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_SupportMagic">Receive supplemental magic.</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>
Support magic is only available for characters who are <font color="LEVEL">level 75 or below</font>.
Support magic is only available for characters who are <font color="LEVEL">level 40 or below</font>.
</body></html>

View File

@@ -1,6 +1,6 @@
<html><body>
Your servitor is eligible to receive the supplemental magic listed below. These spells do not benefit pets.<br>
Eligibility is determined by the master's level.<br>
Levels 6-75: Wind Walk, Shield, Magic Barrier, Bless the Body, Bless the Soul, Vampiric Rage, Acumen, Regeneration, Concentration, Haste (increased effect after level 40), Empower<br>
Levels 6-40: Wind Walk, Shield, Magic Barrier, Bless the Body, Bless the Soul, Vampiric Rage, Acumen, Regeneration, Concentration, Haste, Empower<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_SupportMagicServitor">Receive supplemental magic for servitor.</Button>
</body></html>

View File

@@ -72,10 +72,10 @@ public class SupportMagic implements IBypassHandler
// Levels
private static final int LOWEST_LEVEL = 6;
private static final int HIGHEST_LEVEL = 75;
private static final int HIGHEST_LEVEL = 40;
private static final int CUBIC_LOWEST = 16;
private static final int CUBIC_HIGHEST = 34;
private static final int HASTE_LEVEL_2 = 40;
private static final int HASTE_LEVEL_2 = HIGHEST_LEVEL + 1; // disabled
@Override
public boolean useBypass(String command, L2PcInstance activeChar, L2Character target)