From: Daniel Karbach Date: Fri, 10 Aug 2012 15:41:43 +0000 (+0200) Subject: added Guy's and Dekar's IP attacks X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=24fe1e3e6064e42e70f07056ef3aebcbb451ddb0;p=l2e.git added Guy's and Dekar's IP attacks --- diff --git a/src/main.cpp b/src/main.cpp index d9769de..960f1c5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -437,19 +437,39 @@ int main(int argc, char **argv) { Item zircoAx; zircoAx.SetName("Zirco ax"); zircoAx.SetMenuIcon(&axIcon); + Ikari torrent; + torrent.SetName("Torrent"); + torrent.SetCost(88); + torrent.GetTargetingMode().TargetAllEnemies(); + zircoAx.SetIkari(&torrent); guy.SetWeapon(&zircoAx); guy.SetArmor(&zirconArmor); Item megaShield; megaShield.SetName("Mega shield"); megaShield.SetMenuIcon(&shieldIcon); + Ikari ironBarrier; + ironBarrier.SetName("Iron barrier"); + ironBarrier.SetCost(100); + ironBarrier.GetTargetingMode().TargetAllAllies(); // FIXME: actually only targets self + megaShield.SetIkari(&ironBarrier); guy.SetShield(&megaShield); Item zircoHelmet; zircoHelmet.SetName("Zirco helmet"); zircoHelmet.SetMenuIcon(&helmetIcon); + Ikari slow; + slow.SetName("Slow"); + slow.SetCost(77); + slow.GetTargetingMode().TargetAllEnemies(); + zircoHelmet.SetIkari(&slow); guy.SetHelmet(&zircoHelmet); Item powerRing; powerRing.SetName("Power ring"); powerRing.SetMenuIcon(&ringIcon); + Ikari trick; + trick.SetName("Trick"); + trick.SetCost(13); + trick.GetTargetingMode().TargetAllEnemies(); + zircoHelmet.SetIkari(&trick); guy.SetRing(&powerRing); guy.SetJewel(&evilJewel); @@ -457,20 +477,40 @@ int main(int argc, char **argv) { Item lizardBlow; lizardBlow.SetName("Lizard blow"); lizardBlow.SetMenuIcon(&swordIcon); + Ikari dragonRush; + dragonRush.SetName("Dragon rush"); + dragonRush.SetCost(65); + dragonRush.GetTargetingMode().TargetSingleEnemy(); + lizardBlow.SetIkari(&dragonRush); dekar.SetWeapon(&lizardBlow); Item holyRobe; holyRobe.SetName("Holy robe"); holyRobe.SetMenuIcon(&armorIcon); + Ikari crisisCure; + crisisCure.SetName("Crisis cure"); + crisisCure.SetCost(65); + crisisCure.GetTargetingMode().TargetAllAllies(); + holyRobe.SetIkari(&crisisCure); dekar.SetArmor(&holyRobe); dekar.SetShield(&zircoGloves); dekar.SetHelmet(&holyCap); Item rocketRing; rocketRing.SetName("Rocket ring"); rocketRing.SetMenuIcon(&ringIcon); + Ikari fake; + fake.SetName("Fake"); + fake.SetCost(13); + fake.GetTargetingMode().TargetSingleAlly(); + rocketRing.SetIkari(&fake); dekar.SetRing(&rocketRing); Item krakenRock; krakenRock.SetName("Kraken rock"); krakenRock.SetMenuIcon(&jewelIcon); + Ikari tenLegger; + tenLegger.SetName("Ten-legger"); + tenLegger.SetCost(65); + tenLegger.GetTargetingMode().TargetAllEnemies(); + rocketRing.SetIkari(&tenLegger); dekar.SetJewel(&krakenRock); battleRes.ikariMenuHeadline = "Please choose equipment.";