I would like to use this plugin, but I don't want the default monster to be warned
I do not want to modify the default file, what method can be customized to achieve the removal of the default monster to add other monsters
I would like to use this plugin, but I don't want the default monster to be warned
I do not want to modify the default file, what method can be customized to achieve the removal of the default monster to add other monsters
Anyone help me
Best way : ask kj to makepublic.PHP Code:
private Dictionary<string, string> _names = new Dictionary<string, string>();
Dirty way :
PHP Code:
Hud.RunOnPlugin<DangerousMonsterPlugin>(plugin =>
{
foreach (var name in new string[] { "Wood Wraith", "Highland Walker", "The Old Man", "Fallen Lunatic", "Deranged Fallen", "Fallen Maniac", "Frenzied Lunatic", "Herald of Pestilence", "Terror Demon", "Demented Fallen", "Savage Beast", "Tusked Bogan", "Punisher", "Anarch", "Corrupted Angel", "Winged Assassin", "Exarch" })
{
plugin.RemoveName(name);
}
});
Hide the Rum! --> Default theme customization 101 <--
I tried Dirty way
But it seems that the default monster list is still in effect
Just tested to be sure, it works here.
17 names before and 0 names left after the snippet execution.
Hide the Rum! --> Default theme customization 101 <--
Thank you, it worked, I understand the wrong way to use it