>>3851017
(forgot screenshot)
I guess I'll explain an example.
1) You can read it yourself and determine in this case: Skill 58, damage should be self.matk * 2 + 400.
2) You can run code to check this (again this can get complex.
Note: you're more interested in what gets reduced from this number. The defense of the opponent.
---
Prep a list of what you need to 'correct' from the total damage to get raw damage. (why correct? because randomness is involved)
next... determine what is being used. ->
item.is_a?(RPG::Skill) or item.is_a?(RPG::Item)
determine the id -> item.id
Check your list to see what you need to remove.
then do: (next post)