summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-02-20 18:54:05 -0300
committerJesusaves <cpntb1@ymail.com>2023-02-20 18:54:05 -0300
commit6f8e1b116532ddb70d1eb9a0d28f181a15453983 (patch)
tree6a845b264d2cdeb9d208d983acd1853abdea72de
parent53240cf7208a6a066004118fb0064212a9139bba (diff)
downloadserverdata-6f8e1b116532ddb70d1eb9a0d28f181a15453983.tar.gz
serverdata-6f8e1b116532ddb70d1eb9a0d28f181a15453983.tar.bz2
serverdata-6f8e1b116532ddb70d1eb9a0d28f181a15453983.tar.xz
serverdata-6f8e1b116532ddb70d1eb9a0d28f181a15453983.zip
Trim the initially available traits to only: ATK, DEF, EVA, ACC, HP, MP
They are self-explanatory. This closes serverdata#83 PS. Evasion is techinically better than defense, but when you pick the trait, the tutorial probably already covered this. Some other options like max weight or all stats or attack speed could also be added but they impact the game in a way different from the basic boost traits which is what I left behind.
-rw-r--r--npc/functions/rebirth.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/functions/rebirth.txt b/npc/functions/rebirth.txt
index 9a6d4cc41..0b486610c 100644
--- a/npc/functions/rebirth.txt
+++ b/npc/functions/rebirth.txt
@@ -11,19 +11,19 @@ function script ChooseTrait {
menuint
l("Cancel"), 0,
rif(!(PCBONUS & PCB_ATKBONUS), l("Atk +25")), PCB_ATKBONUS,
- rif(!(PCBONUS & PCB_MATKBONUS), l("Matk +25")), PCB_MATKBONUS,
rif(!(PCBONUS & PCB_DEFBONUS), l("Def +20")), PCB_DEFBONUS,
- rif(!(PCBONUS & PCB_MDEFBONUS), l("MDEF +10")), PCB_MDEFBONUS,
rif(!(PCBONUS & PCB_EVDBONUS), l("Evasion +20")), PCB_EVDBONUS,
rif(!(PCBONUS & PCB_HITBONUS), l("Accuracy +25")), PCB_HITBONUS,
- rif(!(PCBONUS & PCB_CRITBONUS), l("Crit +5%")), PCB_CRITBONUS,
- rif(!(PCBONUS & PCB_DOUBLEATK), l("Double Attack +5%")), PCB_DOUBLEATK,
- rif(!(PCBONUS & PCB_ALLSTATS), l("All Stats +1")), PCB_ALLSTATS,
rif(!(PCBONUS & PCB_HPBONUS), l("HP +500")), PCB_HPBONUS,
rif(!(PCBONUS & PCB_MPBONUS), l("MP +200")), PCB_MPBONUS,
- rif(!(PCBONUS & PCB_ASPDBONUS), l("Atk. Speed +10")), PCB_ASPDBONUS,
- rif(!(PCBONUS & PCB_WSPDBONUS), l("Walk +5%")), PCB_WSPDBONUS,
- rif(!(PCBONUS & PCB_WEIGHTBONUS), l("Max Weight +1kg")), PCB_WEIGHTBONUS,
+ rif(#TUTORIAL_DONE && !(PCBONUS & PCB_MATKBONUS), l("Matk +25")), PCB_MATKBONUS,
+ rif(#TUTORIAL_DONE && !(PCBONUS & PCB_MDEFBONUS), l("MDEF +10")), PCB_MDEFBONUS,
+ rif(#TUTORIAL_DONE && !(PCBONUS & PCB_CRITBONUS), l("Crit +5%")), PCB_CRITBONUS,
+ rif(#TUTORIAL_DONE && !(PCBONUS & PCB_DOUBLEATK), l("Double Attack +5%")), PCB_DOUBLEATK,
+ rif(#TUTORIAL_DONE && !(PCBONUS & PCB_ALLSTATS), l("All Stats +1")), PCB_ALLSTATS,
+ rif(#TUTORIAL_DONE && !(PCBONUS & PCB_ASPDBONUS), l("Atk. Speed +10")), PCB_ASPDBONUS,
+ rif(#TUTORIAL_DONE && !(PCBONUS & PCB_WSPDBONUS), l("Walk +5%")), PCB_WSPDBONUS,
+ rif(#TUTORIAL_DONE && !(PCBONUS & PCB_WEIGHTBONUS), l("Max Weight +1kg")), PCB_WEIGHTBONUS,
rif(#TUTORIAL_DONE && !(PCBONUS & PCB_EXPBONUS), l("EXP Gain +10%")), PCB_EXPBONUS,
rif(#TUTORIAL_DONE && !(PCBONUS & PCB_NOKNOCKBACK), l("Knockback Immunity")), PCB_NOKNOCKBACK,
rif(REBIRTH && !(PCBONUS & PCB_SPLASHMASTER), l("AoE (not stackable)")), PCB_SPLASHMASTER,