Pvp in vanilla Valheim is quite boring and monotonous. The mod was created to fix it!
A viking who commits an act of aggression towards another viking will now receive the Battle status effect. While the viking is in battle, he cannot teleport. And if he decides to escape from the battlefield by leaving the game, everyone in discord will immediately find out) Because a viking never runs away from battles!
They now know how to protect the ward. Any hostile viking in the ward zone will be immediately attacked by tamed animals that guard it!
If a viking is dead, all other vikings in the detection radius will immediately know about it. And they will be able to steal loot from the grave, perhaps? Or wait for the owner?
Some weapons are not balanced for pvp. To fix this, the mod adds the ability to configure their characteristics. The mod allows you to configure the damage of swords, staffs and crossbow.
Using this options is highly recommended, because this will add to the list of weapons that can be used effectively in PvP!
Boss powers are also too unbalanced for PvP, so the mod has the ability to adjust the duration and recovery time of each boss power.
- if the player connects to the server where the mod is installed, the mod configuration is automatically synchronized with the configuration on the server
- it is possible to make the game console unavailable, which may be useful for playing on the server
- for more convenience, it is possible to reset the cooldown of the boss's power automatically when changing power
- the mod has the ability to show a kill feed in the discord channel
Mod API (for modders)
Client-side. On the client-side there is the ability to track the killing of creatures and players. It can be used, for example, for a kills counter and statistics.// called by the owner of the location when some creature, including the player, dies
CharacterKillTracker.OnCharacterDead += (killedCharacter, killer, weapon) =>
{
// some logic
};
// called when a player kills some creature, including another player
CharacterKillTracker.OnCharacterKilled += (characterName, weapon) =>
{
// some logic
};
Server-side. All kills, including creature kills, can also be tracked on the server-side
KillFeed.OnCharacterKilled += (killData) =>
{
if (killData.killer.isPlayer)
{
var zdo = killData.killer.zdo;
var prefab = killData.killer.prefabName;
var name = killData.killer.displayName;
}
if (killData.killed.isPlayer)
{
var zdo = killData.killed.zdo;
var prefab = killData.killed.prefabName;
var name = killData.killed.displayName;
}
};
Typedef#3996 https://discord.gg/MjQZKuB4z2