Skip to content

Commit

Permalink
nuclear fallout
Browse files Browse the repository at this point in the history
  • Loading branch information
malytomas committed Oct 13, 2023
1 parent bd9d478 commit 3115640
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion sources/generateMonsters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1481,9 +1481,19 @@ Monster monsterNuclearBomb(uint32 level)
{
Skill sk(generate);
sk.name = "Explode";
sk.radius[AttributeEnum::Constant] = 1000;
sk.radius[AttributeEnum::Constant] = 100;
sk.damageAmount[AttributeEnum::Constant] = generate.level * 10 + 100;
sk.damageType = DamageTypeEnum::Fire;
mr.onDeath.push_back(std::move(sk));
}

{
Skill sk(generate);
sk.name = "Fallout";
sk.radius[AttributeEnum::Constant] = 100;
sk.damageAmount[AttributeEnum::Constant] = generate.level + 10;
sk.damageType = DamageTypeEnum::Poison;
sk.target.flags.groundEffect = true;
mr.onDeath.push_back(std::move(sk));
}

Expand Down

0 comments on commit 3115640

Please sign in to comment.