Welcome Guest [Log In] [Register]
Welcome to the home of Viral's Modifications. We hope you enjoy your visit.

This forum is used for support and feedback purposes only. All modifications can also be found on the official site.

Username:   Password:
mQuote [-] mQuote [+]
Add Reply
Questions to Calculations
Topic Started: Mar 30 2015, 05:47 PM (980 Views)
Scribbyz
Member Avatar

I need a BBC code that has a button in Posting New Reply, that ask questions to plug in numbers for a damage formula.




Damage = (2 * L / 7) * A * P / D ) / 50) * X * Z


L = Level value, is the level of the attacking Pokemon.
( What is the Level of the attacking Pokemon? ) [ Enter Level Value ]

A = AttackStat value, is the attack or special attack stat of the attacking Pokemon, depending on the attack. A Physical Attack uses the attack stat, and a Special Attack uses the special attack stat.
( What is the Attack/Special Attack Stat of the Pokemon using the attack? ) [ Enter Attack/Special Attack Value of Pokemon being used ]

P = AttackPower value, is the attack power of the attack being used.
( What is the Base Power (BP) of the attack used? ) [ Enter Base Power Value of Attack ]

D = DefenseStat value, is the defending Pokemon's defense or special defense stat. This value is also determined by attack type, Physical Attacks using the defense stat and Special Attacks using the special defense stat.
( What is the Defense/Special Defense Stat of the Pokemon defending the attack? ) [ Enter Opposing Pokemons Defense/Special Defense Value ]

X = STAB value, is the bonus given for using the same type attack as the attacking Pokemon's type. This value is 1.5
( Is the attack the same type as the Pokemon attacking? ) [ Yes or No Multiple Choice ]

Z = Weakness value, is how effective the attack was, this value is either 0, .5, 1, 2, or 4. This value is based upon the type weaknesses and resistances of the defending Pokemon to the incoming attack. A comprehensive type chart may be found Here!
( How effective is the attack to its opponent? ) [ No Effect, Not Very Effective, Normal, Super Effective, or Extremely Effective. Multiple Choice ]

0 = No Effect
.5 = Not Very Effective
1 = Normal
2 = Super Effective
4 = Extremely Effective (This only happens to dual types, if their types are both weak to the type of attack used.)




So a series of questions, when the BBC code button is pressed. It will then place the final value where ever the text marker is in the reply.
Edited by Viral, Apr 28 2015, 07:41 PM.
Posted Image
[ Koang RPG ]
Offline Profile Quote Post Goto Top
 
Kankuro
Member Avatar
ぱ ぺっと ますたあ
Viral you may want to look into fixing the overlapping issue ZB has...I had to edit 2 of my posts today and now this one has it as well.

http://prntscr.com/6nj3ok
Offline Profile Quote Post Goto Top
 
Viral
Member Avatar
Administrator
Scribbyz, I'll PM you.

Kankuro, thanks. Once I get the chance... !
Viral
ZetaBoard's Dynamo Developer
MEng Aeronautical Engineering @ Imperial College London


>> CULTURAL JETTISON <<
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Modification Requests · Next Topic »
Add Reply

Theme by Symbiote & Foxx of Outline