![]() |
my battle hack
I'm looking for suggestions for an algorithm to use for battling.
I've already finished the challenge system, and I've installed that, just haven't enabled it, because it's kinda useless without the battle hack. I've planned out the coding for the battle hack, it's probably 70% done with planning, I'm integrating the Itemshop and the different classes. I'm thinking of integrating a points system, which won't be hard, just time consuming to code. Itemshop stuff will be used, people can choose different items to go in different "slots". Any suggestions? |
Hit points?
The More you post, the higher your Hit points go with each Level you climb... Magical Ability? The More you post, the more Magical ability you get with each level you climb... Stuff like that... Satan |
i was thinking that, but it might be harder.
what im doing now is that as you post, you get points in the item shop, you get items which will be used. you can equip the items. im also adding a skill tree, you get different points depending on which class, and every x amount of posts, you get x amount of points to spend on skill |
Hmmm...
So what are you doing for a Hit Points system? Surely your members arent Invincible? Satan |
well ive setup teh basic skill points system, now i need to modify the values for the different classes.
so far ive come up with attack, defense, speed, agility, and they'll all play roles in the algorithm. ive also finished the little thing for every 50 posts, add 3 skill points which they can distribute wherever they want hit points, itll depen on their attack rating, and the weapons their using (fists, sword, dagger etc) |
Hmmm I see...
It sounds very good! Are you going to need BETA testers? *Grins:p* Satan |
hehe...ive got a few accounts setup for testing...but you can lend me ideas :p
|
Hmmm...
I got one! How about a healing algorithm? Your members surely have to be able to heal...When they buy Elixirs, or other Healing potions, why not have an option where, if they click on the item, a link appears saying "Heal myself!"...It then replaces some or all of the lost HP! Satan |
yeah thats what i was thinking off too.
ill have a character page where you can set your "loadout", and then use potions and stuff. cool. almost done with the default skill points, the thing is if you change your class, then the poitns will be reset. i like how that worked out :) |
ok heres where i need help
i have 5 variables: attack, defense, magic, speed, agility i help with making an alorithm that uses the 5 to work out something like: while(challenger_health != 0 || challenged_chealth !=0{ challenger goes: choose first item calculate probabilty of hitting hit calculate probabilty of challenged moving get damage taken by challenged (hit - defense) chellenged goes: same thing } that hard thing would be what kinda of hit....physical or magical. blah, it could be chosen by random then experience would be calculated, the results but into the challenege table, and status updated |
Hmmm...
Im not sure how I can help without knowing more about the coding itself... For instance - What are your 5 variables set to do? Satan |
woohoo! almost done with the stats system, just need the distributing code, which is almost done
|
well i have a huge if/elseif changing the stat points for each of the different classes.
actually ill just post it, its easier: PHP Code:
i think ill also release the stats hack, but the think is im not good with the templates, i just put the code in need into my own page template, i dont bother with the vB templates...so if you can help with that satan, thatd be cool |
Cool...
Any inclining as to what you will be able to do with the hack? Satan |
That coding is very big lol!
Satan |
lol
umm well with every 50 posts (you can change it), you user gets 3 skill points(you can change that too), and they can be applied towards the skills. i dunno what you could use it for, but im using it for the battle stuff |
I could help with Templating if you need:)
Satan |
ok cool.
what do you need for it/how does it work? |
alrighti finished 90% of it, im gonna make the instructions for what i have so far, what do you need for the template? im going to start coding that in a few
|
actually thinking about it..i might not release it..bah
|
Lol...
:(:cry::suicidal: <- :( No smiley for that...Oh wait! :dead::D Satan |
|
Maybe sell it?
|
:)
I may just do that;) Satan |
hehe cool
sell it? i dunno, maybe one day. who would buy it though? |
MEEEEEEEEE!
Satan |
All times are GMT. The time now is 09:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|