I'm currently writing the code for the function which will calculate the life/magic/stat changes when an attack is made, spell cast, etc. Well, I'm wanting it to return all the stats in an array.
Is there any way to do this?
If you don't understand, this is how I'm hoping to code it.
Code: Select all
function battle_system_function(arg1, arg2, etc . . . ) {
//
// All calculations take place here
//
return array_here;
}
arrayї] = battle_system_function;Name-Less,
Administrator of GvE