Skip to content

Commit

Permalink
adicionado checagem de zeny na macro rebornarAgora
Browse files Browse the repository at this point in the history
  • Loading branch information
Nipodemos committed Sep 19, 2018
1 parent 2f10027 commit f4e3520
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions comum/utilidades.pm
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,19 @@ macro rebornarAgora {
]
stop
}

if ($.zeny = 1285000) {
log = tenho o zeny exato necessário pra rebornar
} elsif (($.zeny = 0 && $.map ~ yuno_in_02, yuno_in_05 ) || ($.zeny = 0 && &questStatus(1000))) {
log = já paguei a taxa pro livro
} else {
[
log ===================================
log = não estou com a quantidade certa de zenys
log = impossivel rebornar desse jeito
log ===================================
]
}
log ==========================

#se chegou até aqui é porque está tudo certinho
Expand Down

0 comments on commit f4e3520

Please sign in to comment.