vbGore Free Online RPG Engine

Revolutionizing Visual Basic ORPG Development
It is currently Sat May 25, 2013 3:54 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Final Fantasy Materia
PostPosted: Thu Dec 27, 2007 11:08 am 
Richardf's Evil Minion

Joined: Thu Oct 04, 2007 1:36 pm
Posts: 123
ALL finalfantasy Materia Skills difined

I will put the rest of the code as I programing one by one. :P
Its going to take some time :P

Give me some feedback if you have Ideia of how to do better. thx :)

Quote:
Public Type GreenMateria
Fire As Byte
Ice As Byte
Lightning As Byte
Wind As Byte
Wather As Byte
Earth As Byte
Restore As Byte
Poison As Byte
Heal As Byte
Revive As Byte
Seal As Byte
Transform As Byte
Mystify As Byte
Time As Byte
Gravity As Byte
Destruct As Byte
Barrier As Byte
Exit As Byte
Comet As Byte
Full_Cure As Byte
Contain As Byte
Ultima As Byte
Shield As Byte
Master_Magic As Byte
End Type

Public Type PurpleMateria
Cover As Byte 'Cover Increases defense and protects another character from an attack
Chocobo_Lure As Byte 'Lures Chocobos to appear in random battles
Long_Range As Byte 'Attack Front and back row have same attack strength; also allows short
Counter_Attack As Byte 'Counters when hit
Enemy_Lure As Byte 'Increases random battle rate
Speed_Plus As Byte 'Increases Speed
MP_Plus As Byte 'Increases MP
HP_Plus As Byte 'Increases HP
Luck_Plus As Byte 'Increases Luck
Magic_Plus As Byte 'Increases Magic
Gil_Plus As Byte 'Increases Gil earned after battle
Pre_Emptive As Byte 'Increases chance of First Strike
Exp_Plus As Byte 'Increases Experience
Enemy_Away As Byte 'Decreases random battle rate
HP_MP_Switch As Byte 'Switches HP and MP values
Mega_All As Byte 'Commands and Spells target all enemies
Underwater As Byte 'Removes the time limit from the Emerald Weapon battle
End Type

Public Type BlueMateria
All As Byte 'All effects are placed on paired Materia 35,000 Beginner's Shop in Sector 7
Elemental As Byte 'Add element of attached materia to equipped weapons or armor 80,000 SHINRA Corporate HQ Floor 62
Added_Effect As Byte 'Add status of attached materia to equipped weapons or armor 100,000 Cave of the Gi
MP_Absorb As Byte 'Drains MP of enemies if the attached materia can inflict damage 100,000 Wutai Item Shop, Treasure Chest
HP_Absorb As Byte 'Drains HP of enemies if the attached materia can inflict damage 100,000 Wutai Cat House
Added_Cut As Byte 'Attacks when using attached materia 200,000 Great Glacier
MP_Turbo As Byte 'Gives extra MP and strengthens paired Materia 120,000 Whirlwind Maze
Steal As Byte 'As Well Steal and use attached materia 200,000 Whirlwind Mountains
Magic As Byte 'Counter ?Counter with attached green/red materia 300,000 Chocobo Racing Gift
Final_Attack As Byte 'Attached materia is used if character is defeated 160,000 Chocobo Racing Gift
Quadra_Magic As Byte 'Attached materia will randomly attack 4 times 200,000 Cave South of Wutai (Green or Gold Chocobo Needed
Sneak_Attack As Byte 'Chance the attached materia will be cast at the beginning of battle 150,000 Get after Boss Fight in Battle Square
Counter As Byte 'Counter with attached command materia 200,000 Final Dungeon
End Type

Public Type Enemy_Skills

Frog_Song As Byte
'MP Cost: 5MP
'What it Does: Adds the Frog and Sleep status ailments to one enemy.
'Learned: from frogs, these are quiet common in the Temple of the Ancients and in the circular forest surrounding Gongaga village.
'How?: The frogs will most likely use this on you anyway but to be sure they do, manipulate them.

L4_Suicide As Byte
'MP Cost: 10MP
'What it Does: Enemies with an exp level that is a multiple of four will lose almost all their Hp. This skill will not (contrary to the name) kill enemies outright, at best it will leave them with 1 Hp. Enemies will also be inflicted with "Minimum Status".
'Learned: From the strange Squirrels that can be found on the Northern Continent and surrounding the Chocobo ranch.
'How?: Cannot be manipulated. Learn if they use it on you, but you may have to wait.

Magic_Hammer As Byte
'MP Cost: 3MP
'What it Does: Will hit enemies and gives you a draining effect, at times giving you 100MP (depending on the enemies MP).
'Learned: From Razor Weeds found in the Darker areas on the Northern Most point of the Western Continent.
'How?: This enemy can be manipulated, so have it use this against those with enemy skill material. Choose the third option during manipulation for this attack.

White_Wind As Byte
'MP Cost: 34MP
'What it Does: This skill will give you characters some more HP and will remove any status ailments, a sort of Cure/Esuna healing spell, this is a useful skill to have.
'Learned: From Zemzelett 's (look similar to cacti and are white and green) located near Junon, and Wind Wings that you fight at the start of the second disc (when chasing Sephiroth into the crater).
'How?: Learn this only through manipulating these enemies as they wont use it to cure your team, only themselves.

Big_Guard As Byte
'MP Cost: 20MP
'What it Does: Simultaneously casts the same effects as Haste, Barrier, and MBarrier on the whole team.
'Learned: from Beach Plugs found on the beach near Gongaga
'How?: Must be manipulated (choose the second option).

Angel_Whisper As Byte
'MP Cost: 50MP
'What it Does: An angel will appear above one party member and bring revive them if they are "dead". All Status ailments are removed and any bad effects are dispelled. HP will also be restored according to the HP of the user.
'Don 't use on enemies (to reduce their Hp to yours) as it will only heal them.
'Learned: From Polan Solitas in the Northern Crater, if you choose to take the right path when you meet the whole group.
'How?: Can either wait for them to use it or manipulate them to use it (last option)

Dragon_Force As Byte
'MP Cost: 19MP
'What it Does: Increases Physical and Magic Defence.
'Learned: from Dark Dragons in the Northern Crater.
'How?: Must be Manipulated (second option).

Death_Force As Byte
'MP Cost: 3MP
'What it Does: One party member becomes immune to instant death attack (will still die if they run out of HP).
'Learned: from Adamantaimai on the shore of the Western Continent.
'How?: Manipulation only, choose the bottom option.

Flame_Thrower As Byte
'MP Cost: 10MP
'What it Does: A jet of fire is unleashed against one enemy, do not use against the monster you learn it from itself as it will absorb HP from it.
'Learned: From the Red Dragon and the Blue Dragon (encountered at Nibleheim and in the Icicle cave before you fight Schizo. Also many other enemies use this attack in many areas.
'How?: These enemies will most likely use this on you anyway as their main attack, but the dragons can also be manipulated.

Laser As Byte
'MP Cost: 16MP
'What it Does: Reduces one enemies health to half what it was originally (like Demi 2).
'Learned: From Either Death Claws in The Dessert Prison or from Dark dragons when you go to the crater in Disc 3.
'How?: Either manipulation of the dragon (top option) or wait for it to use you.

Matra_Magic As Byte
'MP Cost: 8MP
'What it Does: Missiles are fired at all enemies; this is a non-elemental magic attack.
'Learned: from Sweeper Custom's around Midgar or the Several Sectioned robotic/tank like enemies in the underwater reactor at Junon.
'How?: Through Manipulation of the Sweeper Custom (last option).

Bad_Breath As Byte
'MP Cost: 58MP
'What it Does: A black smoke "hits" all enemies and inflicts Confusion, Frog, Minimum (Shrink), Mute, Poison, and Sleepel on them.
'Learned: From Mobors (huge green plants with Anemone like tentacles and big mouths) on the ledges outside Gaeas Cliff and in the Norther Crater if you choose the right pathway.
'How?: It will use this on you anyway so when learning the skill wear ribbons and accessories, which protect you from this attack as it can really harm your party.

Beta As Byte
'MP Cost: 35MP
'What it Does: Inflicts magic damage on all enemies. A red shape will appear and inflict the damage.
'Learned: From the Midgar Zolom.
'How?: Uses when he's riled up and standing tall, this is also his desperation attack so to make it more likely that he uses it take off heavy damage.

Aqua_Lung As Byte
'MP Cost: 34MP
'What it Does: A series a blue bubbles hit all enemies with a water based magic atttack.
'Learned: from Jenova Birth at the end of Disc One, Harpy around the Gold Saucer and the Serpent in the Sunken Plane wreckage that can be accessed in the Submarine and is located near the Gold Saucer submarine bay.
'How?: Most will use this attack on you anyway but the Harpy can be manipulated, when you do select the last choice.

Trine As Byte
'MP Cost: 20MP
'What it Does: A golden coloured pyramid hovers over all enemies and deals lightening damage. This is a very effective attack and is useful to have.
'Learned: From Godo in Wutai's Pagoda. From Stilve's living inside the frozen mountain and from the Materia Keeper that you fight through Mount Nible on your way to rocket town.
'How?: The Materia keeper is the enemy most likely to use this on you naturally. All enemies cannot be manipulated to obtain this skill so when fighting them hope for the best.

Magic_Breath As Byte
'MP Cost: 75MP
'What it Does: Bubbles (similar to aqua breath but a variety of colours) will attack all enemies and deal Fire, Ice and Lightening magic damage.
'Learned: From the Stilve in the frozen cave (the glacier on the Northern Continent) and from Parasite's in the Northern Crater.
'How?: The parasites can be manipulated which will enable you to learn this skill quickly (choose the bottom choice).

interrogation As Byte
'real name : ????
'MP Cost: 3MP
'What it Does: A weight will drop and deal damage equalling the amount that the caster has received in battle.
'Learned: From Jersey 's in Nibleheim and Purple Behemoths in Midgar (disc two).
'How?: Behemoths are rare so you're better off battling Jerseys and waiting for them to use it on you (they cannot be manipulated).

Goblin_Punch As Byte
'MP Cost: 0MP
'What it Does: One enemy is given physical damage, which is multiplied if that enemy has the same EXP level as the Puncher.
'Learned: From Goblins in the forested island located in the Northeaster section of the map.
'How?: These enemies are likely to use this attack on you anyway, if its nearing the end of the battle and they still haven't manipulate them and choose the centre option.

Chocobuckle As Byte
'MP Cost: 3MP
'What it Does: An attack that improves in strength the more you flee from battles. A bug chocobo bounces on your enemies.
'Learned: From a Chocobo In disc one learn from a chocobo outside the ranch.
'How?: Ensure you have some Mimett greens and have Learned L4 Suicide. Battle a chocobo, throw it a Mimett green then use L4 Suicide, with some luck it might use this on you. If not, try again until this works.

L5_Death As Byte
'MP Cost: 22MP
'What it Does: Attacks one enemy, if their level is a multiple of 5 they will die instantly.
'Learned: From Parasites in the Northern Crater.
'How?: Manipulate them and choose the middle option.

Death_Sentence As Byte
'MP Cost: 10MP
'What it Does: One enemy has death cast on them and a countdown will appear over their head, when this reaches 0 they will die.
'Learned: From Bound Fat's in front of the Forgotten Capital in the City Of The Ancients and from Sneaky Steps in the GI Cave.
'How?: The Bound Fats will counter attack you with this skill when they die so just kill them to learn it. The Sneaky Steps will most likely use this on you in the due course of battle.

Roulette As Byte
'MP Cost: 6MP
'What it Does: Either a party member or an Enemy is killed instantly, but this falls to chance so you will have to decide if it's worth the risk.
'Learned: From Death Dealers found all over the world map randomly.
'How?: Manipulate them and choose the second option when the ability window appears.

Shadow_Flare As Byte
'MP Cost: 100MP
'What it Does: A black Flare deals magic damage to a one opponent.
'Learned: From Ultimate Weapon in Disc Three and Dragon Zombies in the Norther Crater.
'How?: Ultimiate weapon will use it as a counter attack upon its death and the Dragon Zombies will use it on you anyway.

Pandoras_Box As Byte
'MP Cost: 110MP
'What it Does: This will deal physical damage to all enemies.
'Learned: From Dragon Zombie in the Northern Crater situated down the right path.
'How?: Unable to manipulate these so unfortunately, you'll have to wait for them to use it.

End Type

Public Type YellowMateria
Steal As Byte 'Steal/Mug Steals an enemy's item/Steals an enemy's item and inflicts damage 50,000 Midgar Sewers
Sense As Byte 'Sense Views the level, HP, MP and weakness of enemy 40,000 Sector 6 Playground
Enemy_Skill As Enemy_Skills 'E. Skill Learn an enemy's own attack 0 Shinra Corporate Headquarters Level 68
Throw As Byte 'Throw/Coin Throw items at the enemies/throw money at the enemies 60,000 Yuffie automatically equipped with it
Manipulate As Byte 'Manip. Controls an enemy 40,000 Cait Sith automatically equipped with it
Deathblow As Byte 'D.blow Hits a critical strike or misses 40,000 Road near Gongaga Reactor
Morph As Byte 'Morph Tranform an enemy into items 100,000 Temple of the Ancients
Double_Cut As Byte '2x-Cut/4x-Cut Attacks an enemy twice in one attack/Attacks an enemy four times in one attack 150,000 Sunken Shinra Air Ship
W_Summon As Byte '- Cast two Summons in one round 250,000 Gain 64,000 Battle Points at the Battle Square in the Gold Saucer
Slash_All As Byte 'Slash-All/Flash Attacks all opponents/Immediately defeats all enemies 150,000 Ancient Forest (After Shadow Beast battle)
Mime As Byte '- Mimics last command 100,000 Cave South of Wutai (Need a Green Chocobo)
W_Magic As Byte '- Cast two magic spells in a single round 250,000 Final Dungeon, Above the Command Counter
W_Item As Byte '- Use two items in a single round 250,000 Under Midgar
End Type

Public Type RedMateria
Choco_Mog As Byte 'Deathblow/Fat Chocobo 14 3,500 Chocobos at the Chocobo Farm
Shiva As Byte 'Diamond Dust 32 50,000 Priscilla in Junon
Ifrit As Byte 'Hellfire 34 60,000 Gained after Jenova-Birth battle on the Shinra Boat
Ramuh As Byte 'Judgement Bolt 40 70,000 In the Chocobo Racing Room at the Gold Saucer
Titan As Byte 'Anger of the Land 46 80,000 In the Destroyed Gongaga Reactor
Odin As Byte 'Steel Bladed Sword/Gunge Lance 80 90,000 Safe in the Shinra Mansion
Kjata As Byte 'Tetra Disaster 110 140,000 Sleeping Forest
Bahamut As Byte 'Mega Flare 110 120,000 Gained after Red Dragon fight at the Cetra Shrine
Alexander As Byte 'Judgement 120 150,000 Gained after Snow fight at the Great Glacier
Neo_Bahamut As Byte 'Giga Flare 140 200,000 Whirlwind Maze
Leviathan As Byte 'Tidal Wave 78 100,000 Gained after Godo fight in Wutai Pagoda
Phoenix As Byte 'Phoenix Flame 180 180,000 Fort Condor
Hades As Byte 'Black Cauldron 150 250,000 From the down Shinra Plane
Bahamut_ZERO As Byte 'Terra Flare 180 250,000 From the Big Blue Materia
Typoon As Byte 'Disintegration 160 250,000 Ancient Forest after defeating the Ultimate Weapon
Knights_of_the_Round As Byte 'Ultimate End 250 500,000 Northeast Island Cave (Need Gold Chocobo)
Master_Summon As Byte 'Equips All Summon Materia - - Either get it from the Huge Red Materia at Cosmo Canyon or defeat the Emerald Weapon and trade the Earth Harp to the Kalm Traveler
End Type

Public Type Materia
YellowMateria As YellowMateria
GreenMateria As GreenMateria
PurpleMateria As PurpleMateria
BlueMateria As BlueMateria
RedMateria As RedMateria
End Type

Public Type SkillID
Bless As Byte
Protection As Byte
Strengthen As Byte
Warcry As Byte
Heal As Byte
IronSkin As Byte
SpikeField As Byte
SummonBandit As Byte
'Materia
Materia As Materia
End Type


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 10:35 pm 
Third Cho Aniki Brother

Joined: Mon Aug 06, 2007 10:02 am
Posts: 449
I don't understand the way you are implementing the stuff, if you're gonna have materia the way it is in ff (where they basically are items you equip on items), I cant think of any sensible way to add it in as a skill? An object would be better.. Also, why are you adding all the materias together as a UDT? It will use alot more memory than what is actually needed.

And you wouldn't want to add ALL of the values as bytes, HP for example, since you may want some materias to add more than 255 HP.

If you haven't finished implementing the materia yet, I would suggest that you either make a new type of object called materia and add a new mysql table and a way for the server to read and store it, or add new variables to the exisiting object class, with a flag that tells the server it is materia. Then you could add all the different materias to the object/materia table. Also, when you tell the server what skill the materia gives, just add a new variable called "give_skill" or something, and assign each skill to a numeric value. If you don't know what I mean, check the quest table in the vbgore DB to see the way it gives skills to the user.

Nice work with adding the materias from FF7 though.. And I'm sorry if I misunderstood you, I'm pretty tired right now ;)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 11:52 pm 
Bytewise Operator

Joined: Mon Jun 04, 2007 4:23 pm
Posts: 145
Location: Huh, I wish I knew
Pretty amazing, I'm actually amazed that there wasn't as many blue magics as I thought.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 28, 2007 3:14 am 
Richardf's Evil Minion

Joined: Thu Oct 04, 2007 1:36 pm
Posts: 123
Nemesis156 wrote:
I don't understand the way you are implementing the stuff, if you're gonna have materia the way it is in ff (where they basically are items you equip on items), I cant think of any sensible way to add it in as a skill? An object would be better..


You are right Im going to do that way its better.

Quote:
Also, why are you adding all the materias together as a UDT? It will use alot more memory than what is actually needed.

I was doing this way for the server tell to the client what Materia and skill he was using but with an object its more simple :P thx for the tip :)

Quote:
And you wouldn't want to add ALL of the values as bytes, HP for example, since you may want some materias to add more than 255 HP.

If you haven't finished implementing the materia yet, I would suggest that you either make a new type of object called materia and add a new mysql table and a way for the server to read and store it, or add new variables to the exisiting object class, with a flag that tells the server it is materia. Then you could add all the different materias to the object/materia table. Also, when you tell the server what skill the materia gives, just add a new variable called "give_skill" or something, and assign each skill to a numeric value. If you don't know what I mean, check the quest table in the vbgore DB to see the way it gives skills to the user.


You are right again :P and thats what im going to do, whit mysql I can add stats affected more easy. thx :)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 28, 2007 10:08 am 
Third Cho Aniki Brother

Joined: Mon Aug 06, 2007 10:02 am
Posts: 449
Np, just give me a shout if there is something you need some advice on how to do.. Sorry if my post seemed whiny, that was not the intention ;)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 28, 2007 10:37 am 
Richardf's Evil Minion

Joined: Thu Oct 04, 2007 1:36 pm
Posts: 123
np its ok :)

Atm Im trying to make a timebar calculated from the spell exaustion
Like in final fantasy you have one that give some sence to the hast spell and stop spell etc. ...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group