<commit_before>--[[
Illarion Server

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
details.

You should have received a copy of the GNU Affero General Public License along
with this program.  If not, see <http://www.gnu.org/licenses/>.
]]
--ID 795, Firespitter, Level: 6, Armourtype: medium, Weapontype: distance
local monsterId = 795

local base = require("monster.base.base")
local monstermagic = require("monster.base.monstermagic")
local trolls = require("monster.race_79_trolls.base")
local firefield = require("item.id_359_firefield")
local M = trolls.generateCallbacks()

local orgOnSpawn = M.onSpawn
function M.onSpawn(monster)
    if orgOnSpawn ~= nil then
        orgOnSpawn(monster)
    end

    base.setColor{monster = monster, target = base.SKIN_COLOR, red = 255, green = 100, blue = 100}
end

local magic = monstermagic()
magic.addFirecone{probability = 0.09, damage = {from = 1250, to = 1400}, range = 6, angularAperture = 60,
    itemProbability = 0.08, quality = {from = 1, to = 2}}
magic.addFirecone{probability = 0.009, damage = {from = 1300, to = 1700}, range = 3, angularAperture = 60,
    itemProbability = 0.08, quality = {from = 2, to = 3}}

firefield.setFlameImmunity(monsterId)
<commit_msg>nerf over powered firespitter troll<commit_after>--[[
Illarion Server

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
details.

You should have received a copy of the GNU Affero General Public License along
with this program.  If not, see <http://www.gnu.org/licenses/>.
]]
--ID 795, Firespitter, Level: 6, Armourtype: medium, Weapontype: distance
local monsterId = 795

local base = require("monster.base.base")
local monstermagic = require("monster.base.monstermagic")
local trolls = require("monster.race_79_trolls.base")
local firefield = require("item.id_359_firefield")
local M = trolls.generateCallbacks()

local orgOnSpawn = M.onSpawn
function M.onSpawn(monster)
    if orgOnSpawn ~= nil then
        orgOnSpawn(monster)
    end

    base.setColor{monster = monster, target = base.SKIN_COLOR, red = 255, green = 100, blue = 100}
end

local magic = monstermagic()
magic.addFirecone{probability = 0.05, damage = {from = 1250, to = 1400}, range = 6, angularAperture = 30,
    itemProbability = 0.08, quality = {from = 0, to = 1}}
magic.addFirecone{probability = 0.005, damage = {from = 1300, to = 1700}, range = 3, angularAperture = 30,
    itemProbability = 0.08, quality = {from = 1, to = 2}}

firefield.setFlameImmunity(monsterId)

{'fraction_non_alphanumeric': 0.09211318482841661, 'fraction_numerical': 0.03672486453943408, 'mean_word_length': 4.456486042692939, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7311505', 'n_tokens_mistral': 1151, 'n_tokens_neox': 1021, 'n_words': 392}