Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
Dr.Weavil

[XP/Solved]Enemy hp/sp 'breaks'

Question

I've been working on a game, and I'm trying to have bosses with +9999 sp, or +99,999 hp.

I know I can do the latter by simply holding the up arrow, but it's being a nuisance with the sp. Anyone know how to do this easier/ easily?

 

And yes, I have little to no knowledge of scripting, but even I can just type stuff in

Share this post


Link to post
Share on other sites

20 answers to this question

Recommended Posts

  • 0

I know there's a way. Im trying to mess around with the scripts ATM to see if i can find a way but no luck yet.

Share this post


Link to post
Share on other sites
  • 0

if it helps, I've tried increasing the max sp/hp in the script area Game_Battler 1, it didn't work in the editor itself, I don't know about an event, but I'd have to do the same thing ot increase it's hp...

Share this post


Link to post
Share on other sites
  • 0

I can change the name using this

$data_enemies[1].name = "Lopo"

 

This is how it should be done but it dont work

$data_enemies[1].maxhp = "1000"

 

I dont see why. I tried doing this before and didnt get anywhere. Where are you Leon?

Share this post


Link to post
Share on other sites
  • 0

I checked a few sites, including RMXP.org, all they have are scripts involving Character max hp/sp. And just now I kind of realized what my question is about.

 

I'm asking to change the maximum inside the database.

 

......I don't know if this helps or not...

Share this post


Link to post
Share on other sites
  • 0

The only way in the database is to use the up key. Other than that you will have to use scripts.

Just thought of something. Try using a variable in battle to set the hp of the enemy.

Share this post


Link to post
Share on other sites
  • 0

Thanks. I found another too, that works with all enemy stats

 

First you need to change the max hp in the script

 

then you can use an event in a troop group to increase the enemy's hp by 1,000,000 (999,999 to be exact)

and increase his hp to 99,999 (by adding 90,000 sp in an event)

 

thanks for trying, I know this isn't an easy one to solve.

 

 

I found this out getting the hp for one of my last bosses (who has 550,000 hp O.O)

 

I REALLY didn't want to hold the up arrow down that long...

Share this post


Link to post
Share on other sites
  • 0

No one really wants to hold the up arrow for that long :P Question, where did you find the script for this?

Share this post


Link to post
Share on other sites
  • 0
No one really wants to hold the up arrow for that long :P Question, where did you find the script for this?

 

Well, go into Game_Battler 1

 

scroll down a little bit to a heading that says

*Get Maximum Hp

 

Then change

 

def maxhp

n = [[base_maxhp + @maxhp_plus, 1].max, 99999].min

for i in @states

n *= $data_states.maxhp_rate / 100.0

end

n = [[integer(n), 1].max, 99999].min

return n

end

 

to

 

def maxhp

n = [[base_maxhp + @maxhp_plus, 1].max, <Insert Wanted Number here>].min

for i in @states

n *= $data_states.maxhp_rate / 100.0

end

n = [[integer(n), 1].max, <Here too>].min

return n

end

Share this post


Link to post
Share on other sites
  • 0

Ah ok, but how do you set it up in the Enemy Troup Group to make an enemy have high HP (like say 200,456 Max HP) without holding the up arrow? I've tried and all I've done was make them recover every turn.

Share this post


Link to post
Share on other sites
  • 0
Ah ok, but how do you set it up in the Enemy Troup Group to make an enemy have high HP (like say 200,456 Max HP) without holding the up arrow? I've tried and all I've done was make them recover every turn.

 

ok, set the condition to turn 1

 

make an event

 

Go to the third page

 

Find Change Enemy HP

 

increase HP <insert #>

 

ok

 

Then use enemy recover all event

 

 

then you're all set

Share this post


Link to post
Share on other sites
  • 0
ok, set the condition to turn 1

 

make an event

 

Go to the third page

 

Find Change Enemy HP

 

add <insert #>

 

ok

 

Then use enemy recover all event

 

 

then you're all set

Ok, I did all that, now let's test it out. Uh.... nope, the Ghost's Max HP is still 540. I don't get it, I did everything you said.

Share this post


Link to post
Share on other sites
  • 0
Ok, I did all that, now let's test it out. Uh.... nope, the Ghost's Max HP is still 540. I don't get it, I did everything you said.

 

Well, I'm not sure it works either, actually :S

 

I'm testing it currently

 

and, It WILL NOT change the number in the database..In case that's the problem

Share this post


Link to post
Share on other sites
  • 0

I think I might know the problem (maybe). It's probably the skill I'm using, it might be putting the HP back to what it has in the Database. I'll have to try without the skill.

Share this post


Link to post
Share on other sites
  • 0
I think I might know the problem (maybe). It's probably the skill I'm using, it might be putting the HP back to what it has in the Database. I'll have to try without the skill.

 

YES, this is NOT a skill, but an animation-less event

 

And you also need to change the max hp in Game_Battler 1 in both

 

Get Maximum HP

 

AND

 

Set Maximum HP

Share this post


Link to post
Share on other sites
  • 0

I see that this is solved, but I want to ask, what do you mean hp/sp breaks? That doesn't make sense to me.

 

 

Thanks..

Share this post


Link to post
Share on other sites
  • 0
I see that this is solved, but I want to ask, what do you mean hp/sp breaks? That doesn't make sense to me.

 

 

Thanks..

 

 

Ah, someone else 'defined' it for me

 

Simply put, it means an easier way to make an enemy's hp over 99,999 or higher for other stats etc.

Share this post


Link to post
Share on other sites
  • 0

And, before I forget, you need to change the script and THEN add an event in the troop area for said monster and use the event I had before

 

ok, set the condition to turn 1

 

make an event

 

Go to the third page

 

Find Change Enemy HP

 

increase HP <insert #>

 

ok

 

Then use enemy recover all event

 

 

then you're all set

 

So, I'm sorry if that confused anyone

 

and yes, It worked.

Share this post


Link to post
Share on other sites
  • 0

Please next time edit your posts so you don't double post. It's like an excuse to bump something. I know you didn't mean to bump, I'm just saying. Its just better that way ;).

 

 

Thanks for the information though!

Share this post


Link to post
Share on other sites
  • 0

The editing? Did you click complete edit?

 

The the underlined text is edited into this post.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...