View previous topic :: View next topic |
TheKing2
Level 5: Sabre Wolf
Joined: 25 Feb 2008
Posts: 65
434
|
TheKing2 Posted: Thu May 07, 2009 7:00 pm Post subject: [Need Help]Terranigma - Damage Calculation |
|
|
Hey there,
I need the help of someone who has plenty time and may be also good in maths...
I am now at a point in my Projekt Terranigma 2 - The Continuance where I cannot use my old Damage-Formula anymore... so, my question now is, can anyone figuring out the formula used in Terranigma (1) to calculate the deald damage?
It should just contain the Strenght/Atk, Def-Stats and, I quess, Level (becaue the taken/dealt damage decreases/increases rapidly at a new level, even with small stat-changes). I do not need Luck in the formula at all.
Okay, I hope someone can figure it out (well, I don't need a 100% similar one... just one that is some kind of the one in Terranigma). I would give credits in my game. You may write it however you want, I will put it into maker-code. However, here it the code I use now:
Quote: |
atk = [attacker.atk - self.pdef / 2, 0].max
self.damage = (atk^2)/2 * (20 + (attacker.str^2)/3) / 10*rand(2) |
self.damage is the damage-output. I really do hope that someone can do this, but if you don't think this is possible or would take to much time, please tell me, I prefer a declining to no answer.
Greetings
The King _________________ Terranigma 2 - The Continuance... Demo available... |
|
Back to top |
|
|
eFlare
Level 12: Soul Knight Rank: Administrator
Joined: 29 Nov 2004
Posts: 453
5,813
Location: the Netherlands
|
eFlare Posted: Thu May 07, 2009 8:25 pm Post subject: |
|
|
Moved your topic to our new Fan Made Games and Sequels board. Especially devoted to these kind of questions. _________________ ... "If you doubt, you question. If you question, you understand. If you understand, you know. If you know, you want to know more. And if you want to know more... you are alive." |
|
Back to top |
|
|
Azure Phoenix
Also Known as Arashi or Gemini
Level 13: Blood Skeleton
Joined: 04 Jan 2009
Posts: 634
500
Location: another world
|
Azure Phoenix Posted: Thu May 07, 2009 8:41 pm Post subject: |
|
|
normally i'd have a lot of free time but my exams are starting next week so i can't help at present but i'll see what i can do when i have the time |
|
Back to top |
|
|
TheKing2
Level 5: Sabre Wolf
Joined: 25 Feb 2008
Posts: 65
434
|
TheKing2 Posted: Thu May 07, 2009 8:44 pm Post subject: |
|
|
Thanks, that would be great, I do not need it right now, it may also take up tot the FV, only that its done... yes, I would thank you very much if you could do this when your exames are over and you have enough time. _________________ Terranigma 2 - The Continuance... Demo available... |
|
Back to top |
|
|
|