Jump to content
  • entries
    52
  • comments
    148
  • views
    52,148

TSBS Dev Journal #4 Timed Bomb?

TheoAllen

1,126 views

Hello folks! Welcome to the 4th development journal of TSBS.

 

Have you ever thought a state which acts like a bomb? Today I tested out Szyu Timed States with my battle system. I looked at his script and I like the structure. The state apply acts like a force action in eventing. The good news about that if you combined with mine, you could make your own "explosion" sequence since it's similar as use item.

 

Here is the video I recorded

 

So, how I set them up?

First, I made two type of skills. The actual skill and the "dummy skill".

 

DUpemrL.png

 

 

Then, setup the state as well

 

 

cdcCN7N.png

 

 

And for the last, The action sequence itself.

  "SelfBomb" => [  [],  [:action, "Target Damage"],  [:check_collapse],  [:wait, 60],  ],    "AreaBomb" => [  [],  [:action, "Target Damage"],  [:check_collapse],  [:wait, 15],  [:change_target, 6],  [:target_damage, 0.45],  [:show_anim, 30],  [:check_collapse],  [:wait, 60],  ],

As you can see, for Area Bomb. At first it will damage self and then it changes the target to all allies except self. It deal damage to all allies with lesser damage value (45%). Just as you can see in the video.

 

Since it acts like force action like I just said, you could define the "explosion" sequence as you want! Like... it will float and then explodes in the mid air, your choice, and your imagination :D

 

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

On side note part. This day is my birth day indeed. And thank you very much to all of you who wish for my birthday! :3

  • Like 1

×
Top ArrowTop Arrow Highlighted