Recent posts

Pages 1 2 3 4 ... 10
11
Script Requests / Re: [RMXP] DEX to HP
Last post by PrinceEndymion88 - November 19, 2021, 07:36:07 am
Thanks, it works. But is it also possible to add the hp/sp parameters in the standard scene_Equip menu?
In the left screen I have ATK, DEF and MDEF but it would be great to add also
HP old -> new
SP old -> new

12
Script Requests / Re: [RMXP] DEX to HP
Last post by KK20 - November 18, 2021, 10:11:44 pm
Alright, how about I just remove the script's dependency on needing all of Tons of add-ons?
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
# Weapon/Armor HP/SP Plus by Blizzard
# Version: 2.1b
# Type: Weapon/Armor Attribute Alteration
# Date: 18.8.2006
# Date v1.01b: 12.3.2007
# Date v2.0: 15.5.2007
# Date v2.0b: 30.7.2007
# Date v2.1b: 11.6.2009
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#
# Compatibility:
#
#   95% compatible with SDK v1.x. 50% compatible with SDK v2.x. May cause
#   slight incompatibility issues with CBS-es, but can be made compatible
#   easily. Can cause imcompatibility issues with other weapon/armor changing
#   scripts and custom equipments scripts.
#
#
# Features:
#
#   - uses static (i.e. 500 HP more) or dynamic (i.e. 30% HP more) increasements
#   - easy to set up
#   - does NOT change any rxdata files
#   - this script comes UNDER SDK SCRIPTS if you use any
#
# new in v2.0:
#   - completely overworked and changed code for better compatibility
#
# new in v2.0b:
#   - fixed a bug that appeared because of a typing mistake
#
# new in v2.1b:
#   - improve coding
#
#
# Instructions:
#
# - Explanation:
#
#   This script will add the option for Weapons/Armors to have HP/SP pluses
#   while equipped just like the usual STR, DEX, INT etc. pluses.
#
# - Configuration
#
#   Find the phrase saying "START" (CTRL+F) to find the database parts. Use the
#   following template to configure your database:
#
#     when ID then return [EXPR, VAL]
#
#   ID   - Weapon/Armor ID in the normal database
#   EXPR - set to false if you want "static" increasement or true if you want
#          "dynamic" increasement
#   VAL  - if you use static increasement, set this value to any integer you
#          want (i.e. 100, -500, 831 etc.) to increase the HP/SP, otherwise set
#          it to any decimal value of the final HP/SP (i.e. 1.2 = 20% more,
#          2.3 = 130% more, 0.7 = 30% less)
#
#   VAL can be a signed integer (static increasement) OR a decimal number
#   greater than 0 (dynamic increasement). Change MAX_HP and MAX_SP to
#   different values if you use another max HP and/or max SP limit than 9999.
#
#
# Side Note:
#
#   It took more to write the instructions than to write and test script
#   itself.
#
#
# If you find any bugs, please report them here:
# http://forum.chaos-project.com
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=

MAX_HP = 9999 # change if needed, 9999 is standard
MAX_SP = 9999 # change if needed, 9999 is standard

#==============================================================================
# module BlizzCFG
#==============================================================================

module BlizzCFG
 
  def self.weapon_hp_plus(id)
    case id
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# START Weapon HP plus Configuration
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    when 1 then return [false, 350]
    when 5 then return [true, 1.2]
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# END Weapon HP plus Configuration
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    else
      return [false, 0]
    end
  end
 
  def self.weapon_sp_plus(id)
    case id
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# START Weapon SP plus Configuration
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    when 25 then return [false, 500]
    when 29 then return [true, 1.5]
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# END Weapon SP plus Configuration
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    else
      return [false, 0]
    end
  end
 
  def self.armor_hp_plus(id)
    case id
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# START Armor HP plus Configuration
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    when 1 then return [true, 1.1]
    when 5 then return [true, 0.5]
    when 13 then return [false, 90]
    when 17 then return [false, -450]
    when 9 then return [true, 1.3]
    when 21 then return [true, 1.3]
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# END Armor HP plus Configuration
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    else
      return [false, 0]
    end
  end
 
  def self.armor_sp_plus(id)
    case id
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# START Armor SP plus Configuration
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    when 9 then return [true, 1.3]
    when 21 then return [true, 1.3]
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# END Armor SP plus Configuration
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    else
      return [false, 0]
    end
  end
 
end

#==============================================================================
# Game_Battler
#==============================================================================

class Game_Battler
 
  alias maxsp_hpsp_add_on_later maxsp
  def maxsp
    val = [MAX_SP, maxsp_hpsp_add_on_later].min
    @sp = val if @sp > val
    return val
  end
 
end

#==============================================================================
# Game_Actor
#==============================================================================

class Game_Actor
 
  alias maxhp_hpsp_add_on_later maxhp
  def maxhp
    val = [MAX_HP, maxhp_hpsp_add_on_later].min
    @hp = val if @hp > val
    return val
  end
 
  alias base_maxhp_hpsp_add_on_later base_maxhp
  def base_maxhp
    plus, multi = 0, 1.0
    if @weapon_id != 0
      result = BlizzCFG.weapon_hp_plus(@weapon_id)
      result[0] ? (multi *= result[1]) : (plus += result[1])
    end
    [@armor1_id, @armor2_id, @armor3_id, @armor4_id].each {|id|
        if id != 0
          result = BlizzCFG.armor_hp_plus(id)
          result[0] ? (multi *= result[1]) : (plus += result[1])
        end}
    return (multi * (plus + base_maxhp_hpsp_add_on_later)).to_i
  end
 
  alias base_maxsp_hpsp_add_on_later base_maxsp
  def base_maxsp
    plus, multi = 0, 1.0
    if @weapon_id != 0
      result = BlizzCFG.weapon_sp_plus(@weapon_id)
      result[0] ? (multi *= result[1]) : (plus += result[1])
    end
    [@armor1_id, @armor2_id, @armor3_id, @armor4_id].each {|id|
        if id != 0
          result = BlizzCFG.armor_sp_plus(id)
          result[0] ? (multi *= result[1]) : (plus += result[1])
        end}
    return (multi * (plus + base_maxsp_hpsp_add_on_later)).to_i
  end
 
end
13
Script Requests / Re: [RMXP] DEX to HP
Last post by PrinceEndymion88 - November 18, 2021, 06:07:51 pm
Oh, I see... but is not what I'm searching for... it has a lot of script and it seems not to work with an already saved game.

It also generate an error with the caterpillar system I used (HERETIC's CATERPILLAR)...

So, I'll try to find something more "simple"

Thanks
14
Script Requests / Re: [RMXP] DEX to HP
Last post by KK20 - November 18, 2021, 12:15:29 pm
I told you already that Tons of add-ons has this. It's called Weapon/Armor HP/SP Plus by Blizzard
15
Script Requests / Re: [RMXP] DEX to HP
Last post by PrinceEndymion88 - November 18, 2021, 06:54:06 am
Hi, thanks for you reply.
I don't use the DEX so I want to use this value in other way and, since the max HP can't be increased  by default when a weapon is equipped, this would be a valid alternative.

I would prefer a simple script where the MAX HP is of each actor is replaced with MAX HP + DEX WEAPON EQUIPPED.

If not faisable, is there already a script where I can specify an HP value for each weapon?

Always thanks for your support :)
16
Script Requests / Re: [RMXP] DEX to HP
Last post by KK20 - November 17, 2021, 09:19:17 pm
Is there any reason why you don't just use a script that allows equips to raise other stats that the database does not allow? Tons of Add-ons has this.
17
Script Requests / [RMXP] DEX to HP
Last post by PrinceEndymion88 - November 17, 2021, 05:44:58 am
Is it possible to convert DEX value to HP?

E.g.
I have an hero at level 10 with 100HP and I equip him/her with a Weapon with a "DEX +" value of "5".
Then the MAX HP will be increased of 5 and the final HP of my hero will be 105

Thanks :)
18
New Projects / Re: Creas
Last post by Ti-Max - October 28, 2021, 08:10:27 pm
Hi all,

I am here to announce a first update of Act 1 of my game Creas.

To see in detail the changes made, go to one of its links:

https://ti-max02.itch.io/creas/devlog/308647/majupdate-11
https://store.steampowered.com/news/app/1530040/view/3063004249982920351

That's not all. I'm also announcing a 10% discount during the Halloween sale 2021. Take the opportunity to get the game at a discount.

Project links to Steam: https://store.steampowered.com/app/1530040/Creas/
Project links to Itch.io: https://ti-max02.itch.io/creas

I also invite you to the official Discord of the game. You can come there to discuss the project, give your impressions / comments and also report any bugs.

The discord link: https://discord.gg/MaeJTr76Br

We hope to see many of you there to discuss the project with you.
19
RMXP Script Database / Re: [XP] MRMX-OS SYSTEM - Mult...
Last post by KK20 - October 20, 2021, 10:28:30 pm
You best quit now because it only gets harder from there. This script is super old and no longer maintained, and the authors haven't been seen in years, so it's doubtful it even works, especially since Essentials has had many updates. In fact, it seems odd that they wouldn't have their own solution for this already.

Frankly, I think this topic should be locked.
20
RMXP Script Database / Re: [XP] MRMX-OS SYSTEM - Mult...
Last post by pak020531 - October 20, 2021, 12:15:12 am
Quote from: Blizzard on October 19, 2021, 05:17:45 pmI'm not sure I understand what you're asking. All the files are in there.

https://gyazo.com/122c5c382c89697861efda1e4fcbd4c2
https://gyazo.com/ec762e9a5a4f4fb5a4bc04813fc10f8e
The Database folder: https://gyazo.com/9b612ec5f342e39e4fe66814c7b66577
I want to open the pvp server. How can I run the pvp server? It's too difficult for me..
Pages 1 2 3 4 ... 10