Super015 Posted January 20, 2015 Share Posted January 20, 2015 Buonsalvegiorno a tutti, esiste uno script che ti permetta di trasferite tutte le statistiche da un eroe ad un mostro?Mi serve per poter sconfiggere un membro del party in un combattimento! Link to comment Share on other sites More sharing options...
0 Retrolexip Posted January 20, 2015 Share Posted January 20, 2015 Ciao! Le statistiche di un nemico possono essere cambiate con questo comando script: $data_enemies[NUM1].params[NUM2] = VALORENUM1 è l'id del nemico nel database. NUM2 è il parametro (0 = HP, 1 = MP, 2 = ATK, 3 = DEF, 4 = MAT, 5 = MDF, 6 = AGI, 7 = LUK) VALORE è il valore da assegnarci. Per ottenere il valore di un parametro di un eroe, invece, esiste quest'altro comando: $game_actors[NUM1].STATdove stat indica la statistica, che può essere: mhp, mmp, atk, def, mat, mdf, agi, luk (e molte molte altre) Per assegnare il parametro di un eroe ad un nemico non devi fare altro che unire le due cose. ESEMPIO: Se voglio assegnare al nemico 12 il valore di difesa dell'eroe 7, userò un call script su mappa con questo codice: $data_enemies[12].params[3] = $game_actors[7].defSpero di esserti stato utile. :) ~ Retrolexip ~ Lex, l'amichevole omino pixelloso di quartiere! Link to comment Share on other sites More sharing options...
0 Super015 Posted January 20, 2015 Author Share Posted January 20, 2015 Grandissimo, non solo è una spiegazione chiara e circoincisa ma posso fare a meno di installare uno script ;)Ancora grazie :D Link to comment Share on other sites More sharing options...
0 Retrolexip Posted January 20, 2015 Share Posted January 20, 2015 Di niente! :) Solo un appunto però: le variabili $data non vengono salvate quando si salva il gioco, perchè vengono caricate ogni volta dai file del database. Per cui assicurati di scambiare i parametri ogni volta che avrai un incontro con quel mostro! ~ Retrolexip ~ Lex, l'amichevole omino pixelloso di quartiere! Link to comment Share on other sites More sharing options...
0 Super015 Posted January 21, 2015 Author Share Posted January 21, 2015 Yep :) Link to comment Share on other sites More sharing options...
0 Super015 Posted January 21, 2015 Author Share Posted January 21, 2015 Domanda molto domanda, per le abilità? Si può fare tramite eventi?Potrei provare io stesso ma per un po' non avrò modo di usare il pc... :( Ps. Dove posso trovare un elenco di tutte quelle utilissime righe di script? :P Link to comment Share on other sites More sharing options...
0 Retrolexip Posted January 21, 2015 Share Posted January 21, 2015 Tutto quello che ti ho detto io l'ho imparato leggendomi l'help file e spulciandomi gli script di base, quindi... XD Per le skill non mi viene in mente niente di rapido, anche perché il nemico le gesitsce differentemente (ed è anche una cosa a cui non ho mai pensato :P). Possi dirti però che per leggere le skill che un eroe ha imparato puoi usare questo: $game_actors[NUMERO_EROE].skills~ Retrolexip ~ Lex, l'amichevole omino pixelloso di quartiere! Link to comment Share on other sites More sharing options...
0 Super015 Posted January 21, 2015 Author Share Posted January 21, 2015 Avevo provato a leggere il file di aiuto ma era tutto in giapponese :PGrazie ancora :) Link to comment Share on other sites More sharing options...
Question
Super015
Buonsalvegiorno a tutti, esiste uno script che ti permetta di trasferite tutte le statistiche da un eroe ad un mostro?
Mi serve per poter sconfiggere un membro del party in un combattimento!
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now