Author Topic: [XP] Luck  (Read 7587 times)

Offline Falcon

  • Trained Member
  • *
  • Posts: 43
  • LV: 7
    • View Profile
[XP] Luck
« on: September 07, 2008, 06:24:19 PM »
Luck
Authors: Falcon
Version: 1.0
Type: Actor/Battle Add-on
Key Term: Misc System

Introduction

This Script allows each actor to have luck, a hidden stat which affect critical hit chance, item gained chance, and gold gained chance.

Features

  • The party's average luck effects the percent of getting an item in battle
  • The party's average luck effects the amount of gold gained in battle
  • Each actor's luck effects their critical hit chance

Demo

http://www.mediafire.com/?32b2dylwemj

Script
http://falcon.rmrk.net/luck.txt
(click to show/hide)

Instructions

As long as you've defined the actor's luck around line 64, put this above main, below the default scripts, and it should work fine.

Compatibility

Probably incompatible with SDK and most other Battle Systems, I rewrite too many methods.

Credits and Thanks

Give credit to Falcon.
Thanks to DragoonNouman and Ancient Algebra for the testing.

« Last Edit: February 21, 2009, 12:57:35 PM by Blizzard »

Offline shdwlink1993

  • Ethereal Devastator
  • ****
  • Posts: 435
  • LV: 63
  • Gender: Male
    • View Profile
    • YouTube Profile
Re: [XP] Luck
« Reply #1 on: September 07, 2008, 08:12:32 PM »
Databased. Nice script, Falcon.

In case anyone wonders, the first post was modified because of something stupid I did while moving it... Sorry...
Stuff I've made:

(click to show/hide)

"Never think you're perfect or else you'll stop improving yourself."

"Some people say the glass is half full... some half empty... I just wanna know who's been drinking my beer."

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Luck
« Reply #2 on: September 08, 2008, 02:39:47 PM »
Nice. ^_^

Hm, I'm just not sure about the Key Term. Would you say that "Actor Add-on" might be more suitable? But it IS a misc system after... IDK, what do you think?
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 Falcon

  • Trained Member
  • *
  • Posts: 43
  • LV: 7
    • View Profile
Re: [XP] Luck
« Reply #3 on: September 08, 2008, 11:13:14 PM »
While it adds the variable to the actor class, the luck only factors in battle. So it really would go in neither.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Luck
« Reply #4 on: September 09, 2008, 03:06:06 PM »
Let's leave it as misc system then since it has more to do with the battle. But then it could be a "Battle Add-on". :O.o:
« Last Edit: September 09, 2008, 03:08:30 PM by Blizzard »
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 Falcon

  • Trained Member
  • *
  • Posts: 43
  • LV: 7
    • View Profile
Re: [XP] Luck
« Reply #5 on: September 09, 2008, 09:30:07 PM »
Ah, but the gold from battle affects the party :D

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Luck
« Reply #6 on: September 10, 2008, 10:51:40 AM »
Let's leave it a Misc System then. :xD:
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.