aleph075 Posted April 13, 2024 Group: Members Topic Count: 23 Topics Per Day: 0.06 Content Count: 49 Reputation: 0 Joined: 04/10/24 Last Seen: May 21, 2024 Share Posted April 13, 2024 ¿De que puedo editar el script de first aid para que altere su curacion segun el nivel por ejemplo? Otra cosa... de que manera se pueden enceontrar facilmente los skills para poder editarlos. Tarde muchisimo tiempo en encontrar donde estaba definido el script.... y me pasara con otras habilidades. Gracias! Quote Link to comment Share on other sites More sharing options...
Rynbef Posted April 13, 2024 Group: Forum Moderator Topic Count: 48 Topics Per Day: 0.01 Content Count: 941 Reputation: 125 Joined: 05/23/12 Last Seen: Yesterday at 06:19 AM Share Posted April 13, 2024 (edited) Skill_db or source modification. It's depends on the skill. Skill_db o modificación de source. Depende del skill. Rynbef~ Edited April 13, 2024 by Rynbef 1 Quote Link to comment Share on other sites More sharing options...
WhiteEagle Posted April 13, 2024 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 6 hours ago Share Posted April 13, 2024 6 hours ago, aleph075 said: ¿De que puedo editar el script de first aid para que altere su curacion segun el nivel por ejemplo? src/skill.cpp case NV_FIRSTAID: clif_skill_nodamage(src,bl,skill_id,5,1); status_heal(bl,5,0,0); <---- just change 5 to your wished amount break; 1 Quote Link to comment Share on other sites More sharing options...
aleph075 Posted April 13, 2024 Group: Members Topic Count: 23 Topics Per Day: 0.06 Content Count: 49 Reputation: 0 Joined: 04/10/24 Last Seen: May 21, 2024 Author Share Posted April 13, 2024 1 hour ago, WhiteEagle said: src/skill.cpp case NV_FIRSTAID: clif_skill_nodamage(src,bl,skill_id,5,1); status_heal(bl,5,0,0); <---- just change 5 to your wished amount break; Como hago si quiero que la curacion siga una FORMULA? Es decir, no quiero que cure por 5 o por 7. Por ejemplo, quiero que cure 5 + (La mitad de tu nivel base). Es correcto editar asi? case NV_FIRSTAID: clif_skill_nodamage(src,bl,skill_id,5,1); status_heal(bl,5 + (BaseLevel/2),0,0); <---- just change 5 to your wished amount break; Quote Link to comment Share on other sites More sharing options...
WhiteEagle Posted April 14, 2024 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 6 hours ago Share Posted April 14, 2024 13 hours ago, aleph075 said: Como hago si quiero que la curacion siga una FORMULA? Es decir, no quiero que cure por 5 o por 7. Por ejemplo, quiero que cure 5 + (La mitad de tu nivel base). Es correcto editar asi? case NV_FIRSTAID: clif_skill_nodamage(src,bl,skill_id,5,1); status_heal(bl,5 + (BaseLevel/2),0,0); <---- just change 5 to your wished amount break; Sí, debería estar bien. Quote Link to comment Share on other sites More sharing options...
aleph075 Posted April 15, 2024 Group: Members Topic Count: 23 Topics Per Day: 0.06 Content Count: 49 Reputation: 0 Joined: 04/10/24 Last Seen: May 21, 2024 Author Share Posted April 15, 2024 12 hours ago, WhiteEagle said: Sí, debería estar bien. No funciona. Me dice que BaseLevel no es un identificadore declarado. Por lo tanto no está leyendo el nivel del personaje Quote Link to comment Share on other sites More sharing options...
Rynbef Posted April 15, 2024 Group: Forum Moderator Topic Count: 48 Topics Per Day: 0.01 Content Count: 941 Reputation: 125 Joined: 05/23/12 Last Seen: Yesterday at 06:19 AM Share Posted April 15, 2024 BaseLevel is a pre defined script variable not on source Rynbef~ Quote Link to comment Share on other sites More sharing options...
_Terra Posted April 15, 2024 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 170 Reputation: 55 Joined: 07/15/13 Last Seen: 23 hours ago Share Posted April 15, 2024 Prueba cambiando (BaseLevel/2) por status_get_lv(src) 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.