TUTO modifier les buffs de pang

    Publicités

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

florimax

Nouveau Marchand
Aug 28, 2010
116
1
934
Bonjour,

J'ai donc décidé de faire un tutoriel sur "comment modifier les buffs".
Alors c'est parti !

I - Requis
propSkillAdd.csv
propSkill.txt.txt
defineAttribute.h
Un éditeur de texte (notepad,...)

II - Tutoriel

Pour commencer, ouvrez propSkillAdd.csv avec un éditeur de texte.
Disons que vous voulez changer les stats du buff 'patience' donc on cherche la ligne qui correspond :

SA_PATIENCE_L01,SI_ASS_HEAL_PATIENCE,1,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,40,=,=,=,=,=,=,=,=,=,20,=,=,1000,=,=,=,180000,=,1,4,600
SA_PATIENCE_L02,SI_ASS_HEAL_PATIENCE,2,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,45,=,=,=,=,=,=,=,=,=,20,=,=,1000,=,=,=,240000,=,1,4,600
SA_PATIENCE_L03,SI_ASS_HEAL_PATIENCE,3,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,50,=,=,=,=,=,=,=,=,=,22,=,=,1000,=,=,=,180000,=,1,4,600
SA_PATIENCE_L04,SI_ASS_HEAL_PATIENCE,4,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,55,=,=,=,=,=,=,=,=,=,22,=,=,1000,=,=,=,240000,=,1,4,600
SA_PATIENCE_L05,SI_ASS_HEAL_PATIENCE,5,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,70,=,=,=,=,=,=,=,=,=,22,=,=,1000,=,=,=,180000,=,1,5,600
SA_PATIENCE_L06,SI_ASS_HEAL_PATIENCE,6,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,75,=,=,=,=,=,=,=,=,=,22,=,=,1000,=,=,=,240000,=,1,5,600
SA_PATIENCE_L07,SI_ASS_HEAL_PATIENCE,7,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,80,=,=,=,=,=,=,=,=,=,25,=,=,1000,=,=,=,180000,=,1,6,600
SA_PATIENCE_L08,SI_ASS_HEAL_PATIENCE,8,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,85,=,=,=,=,=,=,=,=,=,25,=,=,1000,=,=,=,240000,=,1,6,600
SA_PATIENCE_L09,SI_ASS_HEAL_PATIENCE,9,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,90,=,=,=,=,=,=,=,=,=,28,=,=,1000,=,=,=,180000,=,1,6,600
SA_PATIENCE_L10,SI_ASS_HEAL_PATIENCE,10,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,100,=,=,=,=,=,=,=,=,=,28,=,=,1000,=,=,=,240000,=,1,6,600
SA_PATIENCE_L11,SI_ASS_HEAL_PATIENCE,11,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,105,=,=,=,=,=,=,=,=,=,29,=,=,1000,=,=,=,180000,=,1,8,600
SA_PATIENCE_L12,SI_ASS_HEAL_PATIENCE,12,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,110,=,=,=,=,=,=,=,=,=,29,=,=,1000,=,=,=,240000,=,1,8,600
SA_PATIENCE_L13,SI_ASS_HEAL_PATIENCE,13,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,115,=,=,=,=,=,=,=,=,=,33,=,=,1000,=,=,=,180000,=,1,8,600
SA_PATIENCE_L14,SI_ASS_HEAL_PATIENCE,14,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,120,=,=,=,=,=,=,=,=,=,33,=,=,1000,=,=,=,240000,=,1,8,600
SA_PATIENCE_L15,SI_ASS_HEAL_PATIENCE,15,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,130,=,=,=,=,=,=,=,=,=,35,=,=,1000,=,=,=,180000,=,1,10,600
SA_PATIENCE_L16,SI_ASS_HEAL_PATIENCE,16,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,135,=,=,=,=,=,=,=,=,=,35,=,=,1000,=,=,=,240000,=,1,10,600
SA_PATIENCE_L17,SI_ASS_HEAL_PATIENCE,17,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,140,=,=,=,=,=,=,=,=,=,37,=,=,1000,=,=,=,180000,=,1,11,600
SA_PATIENCE_L18,SI_ASS_HEAL_PATIENCE,18,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,145,=,=,=,=,=,=,=,=,=,37,=,=,1000,=,=,=,240000,=,1,11,600
SA_PATIENCE_L19,SI_ASS_HEAL_PATIENCE,19,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,150,=,=,=,=,=,=,=,=,=,44,=,=,1000,=,=,=,180000,=,1,12,600
SA_PATIENCE_L20,SI_ASS_HEAL_PATIENCE,20,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,210,=,=,=,=,=,=,=,=,=,45,=,=,1000,=,=,=,300000,=,1,18,600
SA_PATIENCE_L01 : Le nom du buff.
SI_ASS_HEAL_PATIENCE : Sa fonction.
1 : Level du buff
DST_HP_MAX : Sa statistique.
40 : Sa valeur.

Se qui donne : Patience est un buff qui va ajouter comme statistique HP max + 40 au level 1.
Je veux que celui-ci donne HP + 20% au level max. (donc level 20), voici la ligne qui m'intéresse :

SA_PATIENCE_L20,SI_ASS_HEAL_PATIENCE,20,=,=,=,=,=,=,=,=,=,DST_HP_MAX,=,210,=,=,=,=,=,=,=,=,=,45,=,=,1000,=,=,=,300000,=,1,18,600
Mais comment savoir quel attribut donne HP + % ?
Il vous suffit de regarder votre defineAttribute.h :
(ligne 315 pour moi) : #define DST_HP_MAX_RATE = Ajoute des HP's en pourcentage. (RATE = %)

Se qui va donner :

SA_PATIENCE_L20,SI_ASS_HEAL_PATIENCE,20,=,=,=,=,=,=,=,=,=,DST_HP_MAX_RATE,=,20,=,=,=,=,=,=,=,=,=,45,=,=,1000,=,=,=,300000,=,1,18,600
Je vous explique la ligne : Patience est un buff qui va ajouter comme statistique HP max + 20% au level 20.

Si besoin vous pouvez changer le nom ainsi que la description du buff dans votre propSkill.txt.txt

Vous voulez maintenant que se buff ajoute HP max+20% ET défense+15% au level 20.
On reprend la ligne précédemment modifier :
SA_PATIENCE_L20,SI_ASS_HEAL_PATIENCE,20,=,=,=,=,=,=,=,=,=,DST_HP_MAX_RATE,=,20,=,=,=,=,=,=,=,=,=,45,=,=,1000,=,=,=,300000,=,1,18,600
Et on doit cette fois si ajouter défense+15%, rien de plus simple on re-ouvre defineAttribute.h pour cherche la valeur Defense+?% :
(ligne 336 pour moi) #define DST_ADJDEF_RATE = Ajoute de la défense en pourcentage. (comme dit plus haut RATE = %)
Se qui donne donc :
SA_PATIENCE_L20,SI_ASS_HEAL_PATIENCE,20,=,=,=,=,=,=,=,=,=,DST_HP_MAX_RATE,DST_ADJDEF_RATE,=,20,15,=,=,=,=,=,=,=,45,=,=,1000,=,=,=,300000,=,1,18,600
Je vous explique la ligne : Patience est un buff qui va ajouter comme statistique HP max + 20% et défense + 15% au level 20.

Ce lien n'est pas visible, veuillez vous connecter pour l'afficher. Je m'inscris!


Et voilà j’espère que vous avez compris, j'ai mis des couleur pour que vous vous y retrouvez.
IMPORTANT : n'oubliez pas de mettre vos fichier modifier dans vos .res !
 
Last edited: