This commit is contained in:
ntr 2019-01-05 15:47:26 +11:00
parent 008bc71527
commit f359332cf4
2 changed files with 6 additions and 12 deletions

View File

@ -10,17 +10,12 @@ strangle
## NOW ## NOW
* zones * order cryps based on id
* differnt game types based on tag * reduce inventory
* open w/ item?
## SOON ## SOON
* aoe skills * aoe skills
* hash cryp name for avatar
* order cryps based on id
* keep track of games joined * keep track of games joined
* concede game on leave * concede game on leave
* ko all cryps on team, check status * ko all cryps on team, check status

View File

@ -708,7 +708,7 @@ impl Skill {
Skill::Blast => blast(cryp, target, resolution), Skill::Blast => blast(cryp, target, resolution),
Skill::Amplify => amplify(cryp, target, resolution), // increase magic dmg Skill::Amplify => amplify(cryp, target, resolution), // increase magic dmg
Skill::Decay => decay(cryp, target, resolution), // dot Skill::Decay => decay(cryp, target, resolution), // dot
Skill::DecayTick => decay_tick(cryp, target, resolution), // hot Skill::DecayTick => decay_tick(cryp, target, resolution), // dot
Skill::Drain => drain(cryp, target, resolution), Skill::Drain => drain(cryp, target, resolution),
Skill::DrainTick => drain_tick(cryp, target, resolution), // hot Skill::DrainTick => drain_tick(cryp, target, resolution), // hot
Skill::Curse => curse(cryp, target, resolution), Skill::Curse => curse(cryp, target, resolution),
@ -818,11 +818,10 @@ fn empower(_cryp: &mut Cryp, target: &mut Cryp, mut resolution: Resolution) -> R
return resolution; return resolution;
} }
// TODO put overhealing back fn heal(cryp: &mut Cryp, target: &mut Cryp, mut resolution: Resolution) -> Resolution {
fn heal(cryp: &mut Cryp, _target: &mut Cryp, resolution: Resolution) -> Resolution { let amount = cryp.spell_dmg();
let _amount = cryp.phys_dmg(); resolution.results.push(target.heal(Skill::Heal, amount));
return resolution; return resolution;
} }
fn triage(cryp: &mut Cryp, target: &mut Cryp, mut resolution: Resolution) -> Resolution { fn triage(cryp: &mut Cryp, target: &mut Cryp, mut resolution: Resolution) -> Resolution {