aleph075 Posted April 13 Group: Members Topic Count: 21 Topics Per Day: 0.95 Content Count: 46 Reputation: 0 Joined: 04/10/24 Last Seen: 29 minutes ago Share Posted April 13 ¿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 Group: Forum Moderator Topic Count: 44 Topics Per Day: 0.01 Content Count: 898 Reputation: 119 Joined: 05/23/12 Last Seen: 13 hours ago Share Posted April 13 (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 by Rynbef 1 Quote Link to comment Share on other sites More sharing options...
WhiteEagle Posted April 13 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 461 Reputation: 61 Joined: 08/28/12 Last Seen: Tuesday at 03:22 PM Share Posted April 13 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 Group: Members Topic Count: 21 Topics Per Day: 0.95 Content Count: 46 Reputation: 0 Joined: 04/10/24 Last Seen: 29 minutes ago Author Share Posted April 13 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 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 461 Reputation: 61 Joined: 08/28/12 Last Seen: Tuesday at 03:22 PM Share Posted April 14 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 Group: Members Topic Count: 21 Topics Per Day: 0.95 Content Count: 46 Reputation: 0 Joined: 04/10/24 Last Seen: 29 minutes ago Author Share Posted April 15 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 Group: Forum Moderator Topic Count: 44 Topics Per Day: 0.01 Content Count: 898 Reputation: 119 Joined: 05/23/12 Last Seen: 13 hours ago Share Posted April 15 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 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 155 Reputation: 51 Joined: 07/15/13 Last Seen: 50 minutes ago Share Posted April 15 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.