Author Topic: [XP] Rain of Add-ons  (Read 11856 times)

Offline Xelias

  • Awakened Visionist
  • **
  • Posts: 69
  • LV: 9
  • Gender: Male
    • View Profile
[XP] Rain of Add-ons
« on: November 26, 2009, 09:44:06 PM »
Rain of Add-Ons
Authors: Xelias
Version: 1.00
Type: Add-on Collection Control Script
Key Term: Add-on Collection

Introduction

Basically, it is me messing up with some of Tons of Add-Ons scripts. Now, it just features status effect scripts, but more to come.

Features

  • Oil Status
  • Shell Status
  • Protect Status
  • Virus Status
  • MP Shield Status
  • Spikes Status

Screenshots

No screens. How can you screenshot a status effect ?  

Demo

No demo.

Script


(click to show/hide)

Instructions

Paste it above main.

Compatibility

As it works like Blizzard's tons, I'd say it is "90% compatible with SDK v1.x. 80% compatible with SDK v2.x." to quote Blizzard. Also should work in Blizz-ABS... May cause problem with exotic CBS

Credits and Thanks

  • Xelias, for modifying Blizzard's scripts
  • Blizzard, for making his marvelous Tons of Add-Ons  

Author's Notes

  • Will add more... when I feel like it.
  • Due to the small number of add-ons, the title doesn't fit... It was just a tribute/parody to Blizzard's Tons... Hehehe... Sorry, Blizz...
« Last Edit: December 23, 2012, 08:35:13 AM by KK20 »


My sprites
Kuja Tales of the World style :

Offline Aqua

  • Lexima Warrior
  • *******
  • Posts: 2554
  • LV: 118
  • Gender: Female
  • Quack!
    • View Profile
Re: Rain of Add-ons
« Reply #1 on: November 26, 2009, 09:47:52 PM »
:o
Looks awwweeessssoooommmmeeee!

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Rain of Add-ons
« Reply #2 on: November 26, 2009, 10:03:50 PM »
I think you're kinda taking the wrong approach here.

Shell Status - Just make a normal status effect with double MDEF.
Protect Status - Just make a normal status effect with double PDEF.
Virus Status - Not a bad idea, but can be done through Elemental Status effects. *points to end of this post* Also, you forgot that Virus should have decreased max HP and that it doesn't allow to gain EXP (can both be done through the status database rather than scripting).
Spike Status - Basically a counter effect. I simply can't find the time to add one to Tons. xD

As for Oil Status, it's a good idea, but you should expand it. Better you make something like "Elemental Status Effects" that allow you to change the elemental alignment of a character if he has a specific status effect. i.e. Oil Status would simple be an Elemental Status that doubles fire effectiveness. That way you can also easily make armors with autostates that allow you to absorb elements.

MP Shield is a cool idea, though.

Besides the technical stuff, I'm flattered. xD

BTW, if make the Elemental Status Effect work, I can add it along with MP Shield to Tons.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Xelias

  • Awakened Visionist
  • **
  • Posts: 69
  • LV: 9
  • Gender: Male
    • View Profile
Re: Rain of Add-ons
« Reply #3 on: November 27, 2009, 07:12:21 AM »
@Aqua : Thanks
@Blizzard :
Quote
Protect Status - Just make a normal status effect with double PDEF.

Code: [Select]
atk = [attacker.atk - self.pdef / 2, 0].max
      self.damage = atk * (20 + attacker.str) / 20

If I apply this formula to an attack of 100, a strength of 100 and a PDEF of 50...

atk = (100 - 25) = 75
self.damage = 75 + (120/20) = 81

And is the PDef is doubled, it should halve damage taken ? So it would be 40,5... Let's just test...

atk = (100 - 50) = 50
self.damage = 50 + (120/20) = 56

Not exactly the half, and that's why I use it. And it's the same for MDEF and Shell. Plus you can put animations.

And Virus has more than one effect. I was looking at FF Wiki for scripting ideas...

For "Elemental Status", there is already a XRXS script that does all of that. And you can attach it to weapons, states and armors ! So it's useless for me to make one. And I just can't make one...

« Last Edit: November 27, 2009, 07:08:01 PM by Xelias »


My sprites
Kuja Tales of the World style :

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP]Rain of Add-ons
« Reply #4 on: November 27, 2009, 10:58:08 AM »
Right, there was no way to halve the damage besides this. >.< In any case, if you make a configuration to be able to set multiple status effects and up how much damage each status effect reduces, I can add them to Tons anyway. BTW, you shouldn't use Intelligence to check if a skill is a magic skill, but rather check if pdef_f and mdef_f are greater than 0.

Even if XRXS made a script doesn't mean it's compatible with a wide range of scripts. I bet it wouldn't work with Blizz-ABS. It still has a point to be made.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: Rain of Add-ons
« Reply #5 on: November 27, 2009, 04:18:01 PM »
Quote
Protect Status - Just make a normal status effect with double PDEF.

Code: [Select]
atk = [attacker.atk - self.pdef / 2, 0].max
      self.damage = atk * (20 + attacker.str) / 20

If I apply this formula to an attack of 100, a strength of 100 and a PDEF of 50...

atk = (100 - 25) = 75
self.damage = 75 + (120/20) = 81

And is the PDef is doubled, it should halve damage taken ? So it would be 40,5... Let's just test...

atk = (100 - 50) = 50
self.damage = 50 + (120/20) = 56

Not exactly the half, and that's why I use it. And it's the same for MDEF and Shell. Plus you can put animations.

And Virus has more than one effect. I was looking at FF Wiki for scripting ideas...

For "Elemental Status", there is already a XRXS script that does all of that. And you can attach it to weapons, states and armors ! So it's useless for me to make one. And I just can't make one...



You're not plugging those numbers in to the right formula, you're supposed to multiply atk, not add. So yes, it is halved if you use the formula you showed in the code box.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Rain of Add-ons
« Reply #6 on: November 27, 2009, 06:19:01 PM »
You're right, he did mess up with the calculation. But I remember how in CP once an enemy did normal damage (2000-3000) when PDEF was at 100% and very little (under 100) when it was 200%. It's atk - pdef, not atk / pdef after all.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Xelias

  • Awakened Visionist
  • **
  • Posts: 69
  • LV: 9
  • Gender: Male
    • View Profile
Re: [XP] Rain of Add-ons
« Reply #7 on: November 27, 2009, 07:02:04 PM »
@Longfellow : Shame on me, I messed up, but it doesn't change...

75*6 is equal to 450
50*6 is equal to 300
And 300 is the 2/3 of 450, not the half.


My sprites
Kuja Tales of the World style :

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4506
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: [XP] Rain of Add-ons
« Reply #8 on: November 27, 2009, 07:04:24 PM »
@Longfellow : Shame on me, I messed up, but it doesn't change...

75*6 is equal to 450
50*6 is equal to 300
And 300 is the 2/3 of 450, not the half.

that's because 50 is 2/3 of 75, not half

Offline Xelias

  • Awakened Visionist
  • **
  • Posts: 69
  • LV: 9
  • Gender: Male
    • View Profile
Re: [XP] Rain of Add-ons
« Reply #9 on: November 27, 2009, 07:14:57 PM »
That's quite logical :haha: ...But I don't see what's the point.


My sprites
Kuja Tales of the World style :

Offline Shining Riku

  • Ethereal Devastator
  • ****
  • Posts: 266
  • LV: 7
  • Gender: Male
    • View Profile
Re: [XP] Rain of Add-ons
« Reply #10 on: November 29, 2009, 10:12:15 PM »
Lol, I tried editing Blizz's Zombie state to make elemental absorption, and it actually works too but normal healing moves deal damage afterwards XD

I'd be glad to show it to others, but it kinda defeats the purpose of it HELPING people! XD I mean, it'd be handy when somebody goes into a cave full of fire-using monsters with a suit of fire absorbing armor....but that'd be the only time. :p

I'm KINDA getting the hang of scripting, but only with stuff that I KNOW what it's supposed to do. at best i'm just a script editor as well

Offline Aqua

  • Lexima Warrior
  • *******
  • Posts: 2554
  • LV: 118
  • Gender: Female
  • Quack!
    • View Profile
Re: [XP] Rain of Add-ons
« Reply #11 on: November 29, 2009, 11:19:27 PM »
Um... elemental resistances already have absorption... o.o

Grade F

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Rain of Add-ons
« Reply #12 on: November 29, 2009, 11:33:21 PM »
But it's permanent.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Aqua

  • Lexima Warrior
  • *******
  • Posts: 2554
  • LV: 118
  • Gender: Female
  • Quack!
    • View Profile
Re: [XP] Rain of Add-ons
« Reply #13 on: November 29, 2009, 11:38:53 PM »
Ah right...
Just remembered that states only remove other states and add some elemental defense...

Thought it could change elemental resistance, too.
My bad XD

Offline Agckuu Coceg

  • Transcended Spirit
  • ***
  • Posts: 154
  • LV: 0
  • Gender: Male
  • Hail to the Gin, baby!!!
    • View Profile
    • RMK-Space
Re: [XP] Rain of Add-ons
« Reply #14 on: March 01, 2010, 08:14:16 AM »
Xelias, I became interested in this script as a base for addons. Did you write me a couple of add-ons to your script?
I'm not retarded, but I'm busy. Sorry for patience.


Offline Starrodkirby86

  • Kirby de Varita Estelar
  • Guardian of Chaos
  • ********
  • Posts: 3282
  • LV: 194
  • Gender: Male
  • ~!
    • View Profile
    • The Archive of Starrodkirby86
Re: [XP] Rain of Add-ons
« Reply #15 on: March 01, 2010, 08:26:07 AM »
Xelias, I became interested in this script as a base for addons. Did you write me a couple of add-ons to your script?
It doesn't look like Xelias has been coming here in recent days. >: He was last active during December.

...Or prove me wrong, Xelias! Come to our bosoms now!

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).



Offline Agckuu Coceg

  • Transcended Spirit
  • ***
  • Posts: 154
  • LV: 0
  • Gender: Male
  • Hail to the Gin, baby!!!
    • View Profile
    • RMK-Space
Re: [XP] Rain of Add-ons
« Reply #16 on: March 01, 2010, 10:16:27 AM »
 :^_^':
Nothing, I can always wait. If he suddenly appear, I'll ask him.
I'm not retarded, but I'm busy. Sorry for patience.