Help configuring Mana Shield

Started by knowledge1st, Sep 06, 2026, 07:55 PM

Buenos dias/tardes.

Im configuring my server, with files from Louis - UP43, and im having some troubles with Mana Shield Effect, it either doesn't work at all or im missing something at configuration:

At GameServer/Data/GameServerInfo - Skill.dat i modified this lines:

[GameServerInfo]
;==================================================
; Mana Shield Skill Settings
; Supuesta formula Def%: ConstA + (PlayerDex / ConstB) + (PlayerEne / ConstC)
; 10 + (32767 / 50) + (32767 / 200) = 829%
; Supuesta formula tiempo: TimeConstA + (PlayerEne / TimeConstB)
; 60 + (32767 / 40) = 880s
;==================================================
ManaShieldConstA = 30
ManaShieldConstB = 50
ManaShieldConstC = 200
ManaShieldRateDW = 100
ManaShieldRateDK = 85
ManaShieldRateFE = 95
ManaShieldRateMG = 90
ManaShieldRateDL = 85
ManaShieldRateSU = 95
ManaShieldRateRF = 85
ManaShieldTimeConstA = 60
ManaShieldTimeConstB = 40

In "tooltip" the skill shows the stats correctly, as the formule explains:
https://ibb.co/qL6NhdTg

But when you use the power in game, it really only gives you what is configured in the "Value1" at Data/Effect/Effect.txt
https://ibb.co/4gt9SNrN

//Index   Group   ItemIndex   Name                                 Save   Type   Flag   Count   Value1   Value2   Value3   Value4
1         1       *           "Greater Damage"                     1      0      0      *       *        *        *        *
2         2       *           "Greater Defense"                    1      0      0      *       *        *        *        *
3         3       *           "Elf Buffer"                         1      0      0      *       *        *        *        *
4         4       *           "Mana Shield"                        1      0      0      *       65        *        *        *


Anyone knows the correct way to configure this on this files? Tested a lot of options in file 1, but doesnt change anything, it only changes behavior when chaning the "Value1" at Effect.txt

Thanks a lot in advance.
  •  

#1
Hi, so what kind of setup are you trying to achieve?
Try putting an asterisk in the "value1" field of `effect.txt`; that should make it pick up the settings from `gameserverinfo-skill.dat` for the tooltip.
The info displayed on the skill bar and the actual effect calculation are drawn directly from that latter file, whereas in `effect.txt` you apply limits to achieve different mechanics—if that's what you want, of course—and it will only show that limit value when the buff is active.
But it all really comes down to that first question. xD
Cheers.

SPA:

Hola, que configuración deseas lograr entonces?
Ponle asterisco al "value1" del effect.txt, te deberia tomar (en tooltip) la configuracion del "gameserverinfo-skill.dat"
La info de en la barra de skilles y el calculo del efecto la toma directo desde ese ultimo nombrado, por otro lado en effect.txt le aplicas los limites para lograr otras dinamicas, si lo deseas asi obvio y solo va a mostar el valor de ese limite cuando es aplicado el buff.
Pero todo se resume a la primer pregunta xD.
Saludos.
  •  

Hola @Asqueroso , gracias por la respuesta.

La verdad es que la idea que el porcentaje se genere dinamicamente con la formula del arhcivo skill.dat como marcas... Pero siempre quedaba en 0 y no hacia ningun efecto darse Mana Shield, a menos que lo seteara en un valor duro desde Value1 en Effect.txt... No se si me explique esta vez.
  •  

#3
Okay, so from what I can see, to make it use the formula exclusively, you should disable "effect.txt" by replacing "value 1" with an asterisk (*).
Also, check "skill.dat" to ensure it contains these lines regarding Mana Shield.

/SPA:
Bien, entonces por lo que estoy viendo, para que te tome puramente formula, deberías dejar sin efecto el "effect.txt" reemplazando "value 1" del por el símbolo asterisco ( * ).
Por otro lado, chequea el skill.dat que tenga estás líneas referidas al mana shield.
ManaShieldConstA = 10
ManaShieldConstB = 10
ManaShieldConstC = 10
ManaShieldRateDW = 65
ManaShieldRateDK = 25
ManaShieldRateFE = 23
ManaShieldRateMG = 30
ManaShieldRateDL = 25
ManaShieldRateSU = 23
ManaShieldRateRF = 25
ManaShieldTimeConstA = 60
ManaShieldTimeConstB = 40
ManaShieldMaxRateDW = 10
ManaShieldMaxRateDK = 10
ManaShieldMaxRateFE = 10
ManaShieldMaxRateMG = 10
ManaShieldMaxRateDL = 10
ManaShieldMaxRateSU = 10
ManaShieldMaxRateRF = 10

Y ahí debería funcionar.
Muchas suerte
  •