sahisahi
Member
Im changing the way Slayergroup names are displayed in weapons also translating them:
So i changed DaemonDismissal to MataDemonios
SlayerName.cs
changed Daemondismissal to MataDemonios
DemonSlayerDeed.cs
Same as above
SlayerEntry.cs
No changes
So i have a file that handle item names:
Removed that method and added this one:
I just have to add every slayername there, right?
Edit: Now i just have to discover how to change the ''of vanquishing'' thing....
It is right here but seems way too complex for me, i removed the accuracy bonus from my server tho:
So i changed DaemonDismissal to MataDemonios
SlayerName.cs
changed Daemondismissal to MataDemonios
DemonSlayerDeed.cs
Same as above
SlayerEntry.cs
No changes
So i have a file that handle item names:
Code:
if (bw.Slayer != SlayerName.None)
{
SlayerEntry entry = SlayerGroup.GetEntryByName(bw.Slayer);
if (entry != null)
{
string slayername = CliLoc.LocToString( entry.Title );
name = slayername + " " + name.ToLower();
}
}
Removed that method and added this one:
Code:
/////////added/////////////
if (bw.Slayer == SlayerName.MataDemonios || bw.Slayer2 == SlayerName.MataDemonios)
{
name = "[Daemon Mortem] " + name.ToLower();
}
////////added////////////
I just have to add every slayername there, right?
Edit: Now i just have to discover how to change the ''of vanquishing'' thing....
It is right here but seems way too complex for me, i removed the accuracy bonus from my server tho:
Code:
if ((bw.DamageLevel != WeaponDamageLevel.Regular || bw.AccuracyLevel != WeaponAccuracyLevel.Regular) && bw.Resource == CraftResource.Iron)
{
//weap is magical or accurate
if (bw.DamageLevel != WeaponDamageLevel.Regular && bw.AccuracyLevel != WeaponAccuracyLevel.Regular)
name = string.Format("{0} {1} of {2}", ComputeAccuracyLevel(bw), name.ToLower(), CliLoc.LocToString((1038015 + (int) bw.DamageLevel)).ToLower());
else if (bw.AccuracyLevel != WeaponAccuracyLevel.Regular)
name = string.Format("{0} {1}", ComputeAccuracyLevel(bw), name.ToLower());
else
name = string.Format("{0} of {1}", name, CliLoc.LocToString((1038015 + (int) bw.DamageLevel)).ToLower());
if (bw.Quality == WeaponQuality.Exceptional)
name = "Excepcional" + name.ToLower();
}
Last edited: