Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(hero = GetFromMap("Aatrox", heroes)) {
- championSpells.emplace("Aatrox", std::map<SpellSlot, std::map<SkillStage, SpellDefinition>> {
- {
- SpellSlot::Q,
- {
- {
- SkillStage::Default, SpellDefinition(hero, SpellSlot::Q, DamageType::Physical, SpellEffectType::AoE,
- {
- {
- SpellDamageData(SkillStage::Default, std::vector<std::pair<SpellScalingType, std::vector<float>>> {
- { BaseDamage, {0, 10, 25, 40, 55, 70 } },
- { AttackPoints, { 0, 0.55, 0.6, 0.65, 0.7, 0.75 }}
- })
- }
- })
- },
- {
- SkillStage::SecondCast, SpellDefinition(hero, SpellSlot::Q, DamageType::Physical, SpellEffectType::AoE,
- {
- {
- SpellDamageData(SkillStage::Default, std::vector<std::pair<SpellScalingType, std::vector<float>>> {
- { BaseDamage, {0, 12.5, 31.25, 50, 68.75, 87.5 } },
- { AttackPoints, { 0, 0.6875, 0.75, 0.8125, 0.875, 0.9375 }}
- })
- }
- })
- },
- {
- SkillStage::ThirdCast, SpellDefinition(hero, SpellSlot::Q, DamageType::Physical, SpellEffectType::AoE,
- {
- {
- SpellDamageData(SkillStage::Default, std::vector<std::pair<SpellScalingType, std::vector<float>>> {
- { BaseDamage, {0, 15, 37.5, 100, 137.5, 175 } },
- { AttackPoints, { 0, 0.825, 0.9, 0.975, 1.05, 1.125 }}
- })
- }
- })
- }
- }
- },
- {
- SpellSlot::W,
- {
- {
- SkillStage::Default, SpellDefinition(hero, SpellSlot::W, DamageType::Physical, SpellEffectType::Single,
- {
- {
- SpellDamageData(SkillStage::Default, std::vector<std::pair<SpellScalingType, std::vector<float>>> {
- { BaseDamage, {0, 30, 40, 50, 60, 70 } },
- { AttackPoints, { 0, 0.4, 0.4, 0.4, 0.4, 0.4 }}
- })
- }
- })
- }
- }
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement