RPG Maker Forums

 After a bit of a vanishing spell, I've come back and am trying out a different project. I've picked up Yanfly's Lunatic Damage Script and am learning how to use it. It helps since my damage scripts tent to hit or even exceed the 100 character limit.

 I have a skill called Sirrocco that deals damage based on the heat in the surrounding area (represented by variable 6). When cast on a creature that is vulnerable to withering (such as water creatures or plant creatures), the spell auto crits. I have a state (state 51) that represents this vulnerability.

here is the damage formula I have plugged into the script.

when /Wither/I

@result.critical=true if b.state(51).true;

value += c = (((a.mat/3) *$game_variables[6]) * 2) - b.mdf; end;

 it gives me the error:

------------------------

unexpected keyword_when, expecting keyword_end

when /FINALIZATION/I

--------------------------

that is the next line of the script and is not mine (I haven't edited it). I have an end keyword on the end of my script so I'm not sure what's wrong.

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,547
Members
137,835
Latest member
yetisteven
Top