Various typo fixes.

This commit is contained in:
MobiusDevelopment
2020-09-23 05:39:39 +00:00
parent 15808c4955
commit e7fb24cc62
130 changed files with 1032 additions and 1032 deletions

View File

@@ -1,5 +1,5 @@
<html><body>Head Blacksmith Roman:<br>
During Lionel Hunter's reign, Innadril enjoyed a long and prosperous peace. Ah, but he was a great man! He single-handedly defeated that frightful Fafurion's golem army, you know. What a feat of strenght and skill? But now it seems that long season of peace is about to end. Why else would there be so many orders for new weapons? Trouble's coming... I don't mean to complain, but I really don't see the virtue of all that banging about. The order blacksmiths may get swept up in the fever, but it seems a waste of time to me.<br>
During Lionel Hunter's reign, Innadril enjoyed a long and prosperous peace. Ah, but he was a great man! He single-handedly defeated that frightful Fafurion's golem army, you know. What a feat of strength and skill? But now it seems that long season of peace is about to end. Why else would there be so many orders for new weapons? Trouble's coming... I don't mean to complain, but I really don't see the virtue of all that banging about. The order blacksmiths may get swept up in the fever, but it seems a waste of time to me.<br>
<a action="bypass -h npc_%objectId%_Quest SecondClassChange">Listen to information about second class transfer</a><br>
<a action="bypass -h npc_%objectId%_Link villagemaster/SubClass.htm">Sub Class</a><br>
<a action="bypass -h npc_%objectId%_Quest ClanMaster">Clan</a><br>

View File

@@ -148,11 +148,11 @@ public class ZoneNPoly extends ZoneForm
}
int vx = _x[nextIndex] - _x[i];
int vy = _y[nextIndex] - _y[i];
float lenght = (float) Math.sqrt((vx * vx) + (vy * vy));
lenght /= STEP;
for (int o = 1; o <= lenght; o++)
float length = (float) Math.sqrt((vx * vx) + (vy * vy));
length /= STEP;
for (int o = 1; o <= length; o++)
{
float k = o / lenght;
float k = o / length;
dropDebugItem(id, (int) (_x[i] + (k * vx)), (int) (_y[i] + (k * vy)), z);
}
}

View File

@@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
public class RequestMakeMacro extends GameClientPacket
{
private Macro _macro;
private int _commandsLenght = 0;
private int _commandsLength = 0;
private static final int MAX_MACRO_LENGTH = 12;
/**
@@ -56,7 +56,7 @@ public class RequestMakeMacro extends GameClientPacket
final int d1 = readD(); // skill or page number for shortcuts
final int d2 = readC();
final String command = readS();
_commandsLenght += command.length() + 1;
_commandsLength += command.length() + 1;
commands[i] = new MacroCmd(entry, type, d1, d2, command);
}
_macro = new Macro(id, icon, name, desc, acronym, commands);
@@ -77,7 +77,7 @@ public class RequestMakeMacro extends GameClientPacket
return;
}
if (_commandsLenght > 255)
if (_commandsLength > 255)
{
// Invalid macro. Refer to the Help file for instructions.
player.sendPacket(SystemMessageId.INVALID_MACRO_REFER_TO_THE_HELP_FILE_FOR_INSTRUCTIONS);

View File

@@ -48,7 +48,7 @@ public class MultiSellList extends GameServerPacket
writeD(_page); // page
writeD(_finished); // finished
writeD(0x28); // size of pages
writeD(_list == null ? 0 : _list.getEntries().size()); // list lenght
writeD(_list == null ? 0 : _list.getEntries().size()); // list length
if (_list != null)
{