Skip to content

Commit

Permalink
Spell adjustments
Browse files Browse the repository at this point in the history
- Fireball: 1 frame skip
- Elemental: 1 frame skip
- Bone Spirit: 0 frame skips
- Blood Star: 0 frame skips
- Lightning: +300% damage
- Chain Lightning: +300% damage
  • Loading branch information
kphoenix137 committed Feb 29, 2024
1 parent ff72441 commit d68327a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
4 changes: 3 additions & 1 deletion Source/missiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@ bool Plr2PlrMHit(const Player &player, Player &target, int mindam, int maxdam, i
case MissileID::Inferno: // 500% (1000% of default)
dam *= 5;
break;
case MissileID::Lightning: // 100% (200% of default)
case MissileID::Lightning: // 200% (400% of default)
dam *= 2;
break;
case MissileID::NovaBall: // 100% (200% of default)
break;
}
Expand Down
16 changes: 4 additions & 12 deletions Source/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,6 @@ int GetSpellSkippedFrames(SpellID spl)
{
switch (spl) {
// Page 1
//case SpellID::ItemRepair:
//case SpellID::TrapDisarm:
//case SpellID::StaffRecharge:
case SpellID::Rage:
return 0;
case SpellID::Firebolt:
Expand All @@ -303,26 +300,25 @@ int GetSpellSkippedFrames(SpellID spl)
case SpellID::Healing:
case SpellID::HealOther:
return 0;
//case SpellID::HolyBolt:
case SpellID::Inferno:
return 2;
// Page 2
case SpellID::Resurrect:
case SpellID::FireWall:
return 0;
//case SpellID::Telekinesis:
case SpellID::Lightning:
return 2;
case SpellID::TownPortal:
return 4;
case SpellID::Flash:
//case SpellID::StoneCurse:
// Page 3
case SpellID::Phasing:
return 1;
case SpellID::ManaShield:
return 0;
case SpellID::Elemental:
case SpellID::Fireball:
return 1;
case SpellID::FlameWave:
case SpellID::ChainLightning:
return 0;
Expand All @@ -337,22 +333,18 @@ int GetSpellSkippedFrames(SpellID spl)
case SpellID::Apocalypse:
return 0;
case SpellID::BoneSpirit:
return 1;
return 0;
case SpellID::BloodStar:
return 2;
return 0;
// Page 5
case SpellID::LightningWall:
case SpellID::Immolation:
return 0;
case SpellID::Warp:
return 4;
case SpellID::Reflect:
//case SpellID::Berserk:
case SpellID::RingOfFire:
//case SpellID::Search:
// Extra
//case SpellID::Infravision:
//case SpellID::Identify:
case SpellID::Jester:
case SpellID::Magi:
case SpellID::Mana:
Expand Down

0 comments on commit d68327a

Please sign in to comment.