hello, i'm working on a project which involves of me knowing the damage that each weapon does. for example i want to get the damage number that a rocket does to an armored door. i dont mean the naked-eye damage, i want the EXACT number with decimals.
right now, i run my own server and manually fill up my chart with the data, but it's very tedious
namespace Oxide.Plugins
{
[Info("Test Plugin", "Test", 0.1)]
public class Main : RustPlugin
{
object OnEntityTakeDamage(BaseCombatEntity entity, HitInfo hitinfo)
{
if (entity == null || hitinfo == null) return null;
if (hitinfo.Initiator.ToPlayer() == null) return null;
PrintToChat($"{hitinfo.damageTypes.Total()}");
return null;
}
void Loaded()
{
PrintToChat("loaded!!!");
}
}
}is there a way that i can get the list of all damages, for example list the damages for each structure by rocket without involving me shooting it on every structure known to mankind?
i really appreciate your help