123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518 |
- # enemy
- !Calculation of the enemy''s attack
- if $ARGS[0] = 'start':
- cla
- !This block is selected on the basis of the variable program enemy attacks
- if program = 0:
- !Programme of Action of simple attackers fizuhoy
- xgt'enemy','fighter'
- elseif program = 1:
- !Action Programme fizuha and knives
- xgt'enemy','fighter2'
- elseif program = 2:
- !Action Programme fizuha, Knives, fog
- xgt'enemy','fighter3'
- elseif program = 3:
- !Action Programme fizuha, Knives, fog, Clones
- xgt'enemy','fighter4'
- elseif program = 4:
- !Action Programme fizuha, Knives, fog, Clones, paralysis
- xgt'enemy','fighter5'
- elseif program = 5:
- !Action Programme kisame
- xgt'enemy','kisame'
- elseif program = 6:
- !Action Programme Toby
- xgt'enemy','tobi'
- elseif program = 7:
- !Action Programme Toby
- xgt'enemy','gedomazo'
- elseif program = 8:
- !Action Programme firearms
- xgt'enemy','gun'
- elseif program = 9:
- !Action Programme Sasori
- xgt'enemy','sasori'
- elseif program = 10:
- !Action Programme Conan
- xgt'enemy','konan'
- elseif program = 11:
- !Action Programme Hidan
- xgt'enemy','hidan'
- end
- end
- if $ARGS[0] = 'hidan':
- cla
- if zerkaloV > 0:barierV = 0
- if zerkaloV <= 0:barierV = 5500
- if healthV < vitalV*10 + strenV*5:healthV = vitalV*10 + strenV*5
- if zerkaloV > 0:
- healthV = vitalV*10 + strenV*5
- mannaV = intelV*magikV + magikV*100 + vitalV*10
- willpowerV = willV*10
- health = health - 400
- manna = manna - 500
- '<b><font color = red><<$boy>> shouts "RITUAL BEGINS!" and stands in a circle inscribed in blood on the ground.</font></b>'
- '<b><font color = red>He stabs himself and you feel, pain pierces the body.</font></b>'
- xgt'fight','sta'
- exit
- elseif zerkaloV <= 0 and defence > 0:
- damTipV = 5000
- bonusShV = 100
- hidanAtk = 1
- '<b><font color = red><<$boy>> shouts "Your existence offends my God DZHASHINA!" and throws you into a plait trehlezviynuyu driving it with the help of a rope.</font></b>'
- if klon > 0:klon = klon/2 & '<b><font color = red><<$boy>> shouts "Crud! I''m like a pig slaughter YOU!"</font></b>'
- xgt'atakA1','atak'
- exit
- elseif zerkaloV <= 0 and defence <= 0:
- damTipV = 300
- bonusShV = 100
- hidanAtk = 1
- '<b><font color = red><<$boy>> shouts "You will die a blasphemer!" and throws you into a plait trehlezviynuyu driving it with the help of a rope.</font></b>'
- if klon > 0:klon = 0 & '<b><font color = red>Your clones turned into steam by hitting braids. <<$boy>> shouts "I IMMORTAL Ravager! And YOU SHIT!"</font></b>'
- if tuman > 0:tuman = 0 & '<b><font color = red><<$boy>> shouts "You''re pathetic in their vain attempt to spryatatsya FROM ME!"</font></b>'
- xgt'atakA1','atak'
- exit
- end
- end
- if $ARGS[0] = 'konan':
- cla
- if round < 6:
- mannaV = mannaV - 10
- damTipV = 500
- '<b><font color = red><<$boy>> fold marks in his hands and you are flying sheets of paper.</font></b>'
- if klon > 0:klon = 0 & '<b><font color = red>Your clones turned into steam by hitting paper.</font></b>'
- xgt'atakA1','atak'
- exit
- elseif round >= 6:
- if unmaterialV > 5 and defence > 0:
- mannaV = mannaV - 250
- damTipV = 15000
- bonusShV = 100
- '<b><font color = red><<$boy>> He takes to the air on the white wings and breaking out of its paper wings falls on you in a flood of flying with terrible speed paper swords.</font></b>'
- if klon > 0:klon = 0 & '<b><font color = red>Your clones turned into steam by hitting paper.</font></b>'
- xgt'atakA1','atak'
- exit
- elseif unmaterialV > 5 and defence <= 0:
- mannaV = mannaV - 20
- damTipV = 450
- '<b><font color = red><<$boy>> creates paper boomerangs that fly in your direction.</font></b>'
- xgt'atakA1','atak'
- exit
- elseif defenceV <= 0 and unmaterialV <= 5:
- mannaV = mannaV - 250
- defenceV = defenceV + 3000
- defenceMV = defenceMV + 3000
- defenceWV = defenceWV + 3000
- '<b><font color = red>Conan shoots up on its paper wings like an angel. Around it starts spinning paper creating her protection.</font></b>'
- xgt'fight','sta'
- exit
- elseif unmaterialV <= 2 and konanD < 3:
- mannaV = mannaV - 150
- konanD = konanD + 1
- '<b><font color = red>Conan stops meditating in the air.</font></b>'
- xgt'fight','sta'
- exit
- elseif konanD >= 3:
- mannaV = mannaV - 250
- konanD = 0
- unmaterialV = 20
- '<b><font color = red>Conan disintegrates in the air into thousands of sheets of paper.</font></b>'
- xgt'fight','sta'
- exit
- end
- end
- end
- if $ARGS[0] = 'sasori':
- cla
- if SasoriBody > 1:damTipV = 1000
- if SasoriBody = 1:damTipV = 2000
- poisonAV = 1
- defenceV = defenceV + 10
- defenceMV = defenceMV + 20
- defenceWV = defenceWV + 50
- mannaV = mannaV - 10
- if SasoriBody = 1 and defence > 0:
- defSasori = defence*20/100
- defence = defence - defSasori
- '<b><font color = red>On top of falling rain of steel needles greatly weakening your defense.</font></b>'
- end
- '<b><font color = red><<$boy>> It is shooting at you by a cloud of poisonous spines.</font></b>'
- if klon > 0:klon = 0 & '<b><font color = red>Your clones turned into steam from the blow needle.</font></b>'
- xgt'atakA1','atak'
- end
- if $ARGS[0] = 'gedomazo':
- cla
- if klon <= 0 and tuman <= 0:
- magweapbonusV = 5000
- '<b><font color = red><<$boy>> with a furious roar of effort on you for its huge stone fist.</font></b>'
- xgt'atak','enemy'
- exit
- elseif klon > 0 or tuman > 0:
- klon = 0
- tuman = 0
- mannaV = mannaV - 500
- '<b><font color = red><<$boy>> issue a terrible roar and shock wave sweeps the air over the battlefield.</font></b>'
- xgt'fight','sta'
- exit
- end
- end
- if $ARGS[0] = 'tobi':
- cla
- !Toby software attacks
- if unmaterialV <= 0 and IzanagiV = 0 and GedoMazo = 0:
- *clr
- '<b><font color = red><<$boy>> put his fingers to his lips and said quietly, "KUCHIE SAINT BUT JITSU".</font></b>'
- '<b><font color = red>You will see a giant stone statue of a demon and threw herself at you in attack.</font></b>'
- GedoMazo = 1
- $boy = 'Gedo Mazo'
- !The stats
- strenV = 1000
- speedV = 100
- agilV = 90
- reactV = 100
- vitalV = 5000
- intelV = 50
- willV = 50
- !Skills
- magikV = 1
- boxingV = 100
- shootV = 100
- !Parameters
- healthV = vitalV*10 + strenV*5
- mannaV = intelV*magikV + magikV*100 + vitalV*10
- willpowerV = willV*10
- BonusAtakV = 0
- BonusDefV = 0
- !Action Programme
- barierV = 1500
- program = 7
- xgt'fight','start'
- exit
- elseif unmaterialV <= 2 and IzanagiV = 0 and GedoMazo > 0 and TobiStena = 0:
- mannaV = mannaV - 500
- TobiStena = 1
- defenceV = defenceV + 25000
- '<b><font color = red><<$boy>> Arcanum makes his skin blackens solidifying his body and creating protection 25000 units.</font></b>'
- barierV = 2000
- xgt'fight','sta'
- exit
- elseif unmaterialV <= 2 and IzanagiV = 0 and GedoMazo > 0 and TobiStena = 1:
- mannaV = mannaV + 6000
- TobiStena = 2
- '<b><font color = red><<$boy>> Arcanum and makes you feel like its magical energy increases sharply.</font></b>'
- xgt'fight','sta'
- exit
- elseif stun > 0:
- magweapbonusV = 2000
- '<b><font color = red><<$boy>> said triumphantly, "NOW you''re dead".</font></b>'
- '<b><font color = red>It grabs you by the throat and raises his hand in the air.</font></b>'
- '<b><font color = red>His fingers were like steel and they squeeze your throat with terrible force.</font></b>'
- xgt'atak','enemy'
- exit
- elseif defence >= 5000:
- defence = 0
- defenceM = 0
- defenceActPar = 0
- defenceActParM = 0
- defenceAct = 0
- defenceActM = 0
- defAtk = 0
- mannaV = mannaV - 100
- stunV = 1
- '<b><font color = red><<$boy>> Close your eyes and you will see, of it as a tear ran down a drop of blood.</font></b>'
- '<b><font color = red>He opened his eyes became completely red with black streaks and said Amaterasu</font></b>'
- '<b><font color = red>In your face black devouring flames rushed to destroy your lightning protection.</font></b>'
- xgt'fight','sta'
- exit
- elseif tuman > 0:
- tumanV = tumanV + tuman
- tuman = 0
- '<b><font color = red><<$boy>> adds magic signs hands and your fog coming under his control enveloping you review.</font></b>'
- '<b><font color = red>He attacks you.</font></b>'
- xgt'atak','enemy'
- exit
- elseif unmaterialV > 0 and klon <= 0:
- stunnerV = 1
- mannaV = mannaV - 20
- magweapbonusV = 800
- '<b><font color = red><<$boy>> attacks have gathered manna in the arm.</font></b>'
- xgt'atak','enemy'
- exit
- elseif unmaterialV > 0 and klon > 0:
- klon = 0
- stunV = 1
- '<b><font color = red><<$boy>> adds signs hands and all your clones simply turn into steam.</font></b>'
- xgt'atak','enemy'
- exit
- elseif unmaterialV <= 0 and tobizanagi < 2:
- mannaV = mannaV - 250
- tobizanagi = tobizanagi + 1
- !unmaterialV = 10
- '<b><font color = red><<$boy>> adds signs hands.</font></b>'
- xgt'fight','sta'
- exit
- elseif unmaterialV <= 0 and tobizanagi = 2:
- mannaV = mannaV - 250
- tobizanagi = 0
- unmaterialV = 20
- stunV = 1
- '<b><font color = red><<$boy>> signs and puts his hands around his eyes twisted vortex.</font></b>'
- xgt'fight','sta'
- exit
- end
- end
- if $ARGS[0] = 'kisame':
- cla
- !software attacks Kisame
- if defenceV <= 0 and kisamePro = 0:
- kisamePro = 1
- mannaV = mannaV - 150
- defenceV = defenceV + 1500
- defenceMV = defenceMV + 1500
- defenceWV = defenceWV + 1500
- defenceActParV = 500
- defenceActParMV = 500
- defenceActV = 10
- defenceActMV = 10
- '<b><font color = red><<$boy>> fold marks around his hands and formed a water sphere of protecting it from damage.</font></b>'
- xgt'fight','sta'
- exit
- elseif defenceV <= 1000 and kisamePro > 0:
- mannaV = mannaV - 500
- defenceV = defenceV + 5000
- defenceMV = defenceMV + 5000
- defenceWV = defenceWV + 5000
- defenceActParV = 500
- defenceActParMV = 500
- defenceActV = 10
- defenceActMV = 10
- defAtkMV = 10
- '<b><font color = red><<$boy>> adds signs hands and space around it begins to sink into the water.</font></b>'
- if klon > 0:klon = 0 & '<b><font color = red>Your clones turned into steam from the impact of water.</font></b>'
- xgt'fight','sta'
- exit
- elseif defenceV > 1000:
- kisameRAND = RAND(0,3)
- if kisameRAND = 0:
- klonV = klonV + 3
- '<b><font color = red><<$boy>> adds signs hands.</font></b>'
- xgt'fight','sta'
- exit
- elseif kisameRAND > 0:
- mannaV = mannaV - 250
- damTipV = 1500
- damTipMV = 2500
- bonusShV = 50
- '<b><font color = red><<$boy>> fold marks in his hands and you are flying out of the water by a shark.</font></b>'
- if klon > 0:klon = 0 & '<b><font color = red>Your clones turned into steam from the impact of water.</font></b>'
- xgt'atakA1','atak'
- exit
- end
- end
- '<b><font color = red><<$boy>> attacks.</font></b>'
- xgt'enemy','fighter'
- end
- if $ARGS[0] = 'gun':
- cla
- !program directly attacks
- !gs'atak'
- damTipV = 1500
- '<b><font color = red><<$boy>> shooting at you.</font></b>'
- xgt'atakA1','atak'
- end
- if $ARGS[0] = 'fighter':
- cla
- !program directly attacks
- !gs'atak'
- xgt'atak','enemy'
- end
- if $ARGS[0] = 'fighter2':
- cla
- !program directly attacks
- deystrand = RAND(0,1)
- if deystrand = 0:
- xgt'atak','enemy'
- elseif deystrand = 1:
- knifeV = RAND(1,3)
- '<b><font color = red><<$boy>> throws in you <<knifeV>> knives</font></b>'
- xgt'atak','enemy'
- end
- end
- if $ARGS[0] = 'fighter3':
- cla
- !program directly attacks
- if tuman = 0 and tumanV < 5 and mannaV > 10:
- mannaV = mannaV - 10
- tumanV = tumanV + 10
- '<b><font color = red><<$boy>> produces a fog on the battlefield.</font></b>'
- xgt'fight','sta'
- exit
- end
- deystrand = RAND(0,1)
- if deystrand = 0:
- xgt'atak','enemy'
- elseif deystrand = 1:
- knifeV = RAND(1,3)
- '<b><font color = red><<$boy>> throws in you <<knifeV>> knives</font></b>'
- xgt'atak','enemy'
- end
- end
- if $ARGS[0] = 'fighter4':
- cla
- !program directly attacks
- if tuman = 0 and tumanV < 5 and mannaV > 10:
- mannaV = mannaV - 10
- tumanV = tumanV + 10
- '<b><font color = red><<$boy>> produces a fog on the battlefield.</font></b>'
- xgt'fight','sta'
- exit
- elseif klonV < 1 and mannaV > 15:
- mannaV = mannaV - 15
- klonV = klonV + 1
- '<b><font color = green>LOST</font></b>'
- xgt'fight','sta'
- exit
- end
- deystrand = RAND(0,1)
- if deystrand = 0:
- xgt'atak','enemy'
- elseif deystrand = 1:
- knifeV = RAND(1,3)
- '<b><font color = red><<$boy>> throws in you <<knifeV>> knives</font></b>'
- xgt'atak','enemy'
- end
- end
- if $ARGS[0] = 'fighter5':
- cla
- !program directly attacks
- if tuman = 0 and tumanV < 5 and mannaV > 10:
- mannaV = mannaV - 10
- tumanV = tumanV + 10
- '<b><font color = red><<$boy>> produces a fog on the battlefield.</font></b>'
- xgt'fight','sta'
- exit
- elseif klonV < 1 and mannaV > 15:
- mannaV = mannaV - 15
- klonV = klonV + 1
- '<b><font color = green>LOST</font></b>'
- xgt'fight','sta'
- exit
- elseif stun < 1 and manna > 20:
- stunnerV = 1
- mannaV = mannaV - 20
- '<b><font color = red><<$boy>> attacks you Gouge.</font></b>'
- xgt'atak','enemy'
- end
- deystrand = RAND(0,1)
- if deystrand = 0:
- xgt'atak','enemy'
- elseif deystrand = 1:
- knifeV = RAND(1,3)
- '<b><font color = red><<$boy>> throws in you <<knifeV>> knives</font></b>'
- xgt'atak','enemy'
- end
- end
- --- enemy ---------------------------------
|