]> git.localhorst.tv Git - l2e.git/commitdiff
added Guy's and Dekar's IP attacks
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 10 Aug 2012 15:41:43 +0000 (17:41 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 10 Aug 2012 15:41:43 +0000 (17:41 +0200)
src/main.cpp

index d9769de270a3a9f37447e9ed611e33aa7ee9fc83..960f1c5d78a995239acc353d3ed9b8bad144b6fd 100644 (file)
@@ -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.";