Jump to content
Rpg²S Forum
  • 0

K.O. ma un HP rimane.


PrinceEndymion88
 Share

Question

Ciao! Praticamente il problema di base è che se un eroe viene sconfitto in battaglia e rimane nel party, se va di nuovo in battaglia ha 0hp quindi appare K.O e non si può usare... Io cerco uno script che permetta di curare un solo HP alla fine della battaglia solo agli eroi che durante la battaglia sono andati KO in modo che se quell'eroe va di nuovo in battaglia avrà almeno un HP a disposizione e no che già appare morto! E' possibile?
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Non mi sembra particolarmente utile, comunque . . .

 

class Scene_Battle#  alias giver_deadsto1hp_scnbttl_bttlend battle_end#  def battle_end(result)	for actor in $game_party.actors	  if actor.dead?		actor.hp = 1		actor.remove_state(1)	  end	end	giver_deadsto1hp_scnbttl_bttlend(result)  endend

Con il BS di default funziona, con altri non lo so . . .

Prova.

 


SCRIPT RGSS (RPG Maker XP) VINTAGE LIBRARY [2018+]


Breaking (in ogni senso) News: "Treno deraglia per via del seno di Sakurai Aoi . . ." - Info nello spoiler !!

 


http://afantasymachine.altervista.org/_altervista_ht/NOOOOOOOOOilMIOtreninooooo_500.gif


Non riesco a smettere di essere affascinato da immagini come questa . . .

http://anime.vl-vostok.ru/art/photos2011/17/78049800/wall_VladAnime_WWA_1885-1680x1050.jpg


Alcuni wallpapers che faccio ruotare sul mio vecchio PC . . .


http://afantasymachine.altervista.org/_altervista_ht/gits_window.jpg

http://afantasymachine.altervista.org/_altervista_ht/madoka_group01.jpg
http://afantasymachine.altervista.org/_altervista_ht/arisu_picipici_01.jpg
http://afantasymachine.altervista.org/_altervista_ht/phantom_wp01_einzwei.jpg


La parte più spassosa della mia vita è quando gli altri cercano di spiegarmi i miei pensieri . . .


BBCode Testing


Typeface & Size



Link to comment
Share on other sites

  • 0

Altrimenti puoi mettere un evento comune così:

Processo parallelo

 

>Condizione se: Eroe 1 status K.O.

>Cambia Hp Eroe 1: +tutti (quelli che vuoi)

>Cambia Hp Eroe 1: -9999 facenod attenzione a non settare l'opzione per ucciderlo, così resta con 1 Hp.

>Aspetta 1 frame

 

Fai lo stesso per tutti quelli che ti interessano.... volendo si possono anche creare personaggi particolari con l'abilità di resuscitare a fine battaglia... good

Link to comment
Share on other sites

  • 0
oppure mettere semplicemete che dopo la battaglia, la status Morte non deve continuare ad esserci. Questa opzione la da il tool stesso! -_-' Edited by tidus00

http://i46.tinypic.com/260qs1l.jpghttp://i48.tinypic.com/21owyt0.jpghttp://i45.tinypic.com/oj12x5.jpg

http://i45.tinypic.com/oj12x5.jpghttp://i48.tinypic.com/2qanw9v.jpghttp://i45.tinypic.com/oj12x5.jpg

http://i49.tinypic.com/2cpdkb8.jpg

 

http://i47.tinypic.com/vpyfix.jpg http://i45.tinypic.com/jago40.jpg http://img231.imageshack.us/img231/8504/tidus1.png

 

non esco l'ora che veda

Un gioco così ben fatto da farti sballare la testa! XD

 

 

 

 

http://img27.imageshack.us/img27/8540/dsbar.png

http://img294.imageshack.us/img294/6876/nostalebar.png

http://img90.imageshack.us/img90/2158/tbars.png

http://i40.tinypic.com/soqvb8.jpg

http://i45.tinypic.com/29duu1l.jpg

http://img237.imageshack.us/img237/2482/30275.png

http://img182.imageshack.us/img182/8/rpgxpbarrpgmzv1.png

http://img195.imageshack.us/img195/6998/userbarannette.png

http://i48.tinypic.com/awdylh.jpg

Link to comment
Share on other sites

  • 0
oppure mettere semplicemete che dopo la battaglia, la status Morte non deve continuare ad esserci. Questa opzione la da il tool stesso! -_-'

 

 

Io trovo assurdo ricontrollare tutti gli eventi di battaglai del gioco per aggiungere questo, molto meglio seguire l'aggiunta di giver o quello che ho scritto io come evento comune per averlo solo su alcuni pg :wink: .

Link to comment
Share on other sites

  • 0

ma non è ad eventi, è un opzione della zona "Condizioni" del database... non ci vogliono eventi secondo me... u.u

Ma tanto, sta a Prince scegliere il medoto. :wink:

http://i46.tinypic.com/260qs1l.jpghttp://i48.tinypic.com/21owyt0.jpghttp://i45.tinypic.com/oj12x5.jpg

http://i45.tinypic.com/oj12x5.jpghttp://i48.tinypic.com/2qanw9v.jpghttp://i45.tinypic.com/oj12x5.jpg

http://i49.tinypic.com/2cpdkb8.jpg

 

http://i47.tinypic.com/vpyfix.jpg http://i45.tinypic.com/jago40.jpg http://img231.imageshack.us/img231/8504/tidus1.png

 

non esco l'ora che veda

Un gioco così ben fatto da farti sballare la testa! XD

 

 

 

 

http://img27.imageshack.us/img27/8540/dsbar.png

http://img294.imageshack.us/img294/6876/nostalebar.png

http://img90.imageshack.us/img90/2158/tbars.png

http://i40.tinypic.com/soqvb8.jpg

http://i45.tinypic.com/29duu1l.jpg

http://img237.imageshack.us/img237/2482/30275.png

http://img182.imageshack.us/img182/8/rpgxpbarrpgmzv1.png

http://img195.imageshack.us/img195/6998/userbarannette.png

http://i48.tinypic.com/awdylh.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...