I think I found a bug that occurs when a PC learns a language from an npc.
Basically it seems if a player learns a language from an npc, zones, and hears it again from an npc, the language isn't garbled at all.
It shows up in their skills list as well.
I'm not sure if this occurs only when the player can't learn the language (either due to level or class/race constraints), or with any language they haven't learned.
Here's the script for the mob:
Code:
#Orc chit-chat
#Revised Angelox 10-23-06
#zone: Crushbone
# Orcish
my $lang = 19;
sub EVENT_COMBAT
{
$rand = rand();
if(($rand < .3)&&($combat_state == 1))
{
quest::say("Death!! Death to all who oppose the Crushbone orcs!!",$lang);
} elsif(($rand > .67)&&($combat_state == 1))
{
quest::say("Hail, Emperor Crush!!",$lang);
} elsif(($rand >= .3) && ($rand <= .67)&&($combat_state == 1))
{
quest::say("Fall before the might of Clan Crushbone!!",$lang);
}
}
sub EVENT_ATTACK
{
quest::say("Centurions!! Legionnaires!! Come join the fight!",$lang);
}
sub EVENT_DEATH
{
quest::say("You shall have all the Crushbone orc legions on your tail for my death!",$lang);
}
And what the player sees:
Code:
orc centurion says,in an unknown tongue, 'You shall have all the Crushbone orc legions on your tail for my death!'
The mob is speaking orcish and the player is a high elf mage with a skill of 3 in orcish, which he learned from the mobs, not a trainer.