aleph075 Posted April 30, 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 30, 2024 Quisiera editar las skills de REGEN de HP y SP para que esten activas SIEMPRE. Por ejemplo, SM_Recovery, solo se activa si estas quieto. Similar a MG_SRecovery. Como puedo editarlas para que siempre den esa regeneracion? I guess the most of pasive regen skills are here.... but dunno wich one is the variable that controls the "sit/not moving" stat to active regen. Aqui esta una parte del codigo // Only players have skill/sitting skill regen for now. sregen = regen->sregen; val = 0; if( (skill=pc_checkskill(sd,SM_RECOVERY)) > 0 ) val += skill*5 + skill*status->max_hp/500; if (sc && sc->count) { if (sc->data[SC_INCREASE_MAXHP]) val += val * sc->data[SC_INCREASE_MAXHP]->val2 / 100; } Luego, tengo otra duda, creo que mucho mas dificil de hacer, pero quisiera ver si hay algun video o explicacion de como hacerlo. En el futuro me gustaria hacer que estas skills sean ACTIVAS, en vez de pasivas... definirlas como si fuera un improve concentration. Se que no es facil definir una hueva habilidad, pero solo encontre ejemplos de como crear skills que hacen DAÑO. Pero es muy distinto crear una habilidad NO DAMAGE, que es un "auto buff". Alguna ayudita? 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.