[DIS] Phylactery
This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.
Its current use is for the continued development of the server and game it has always served: TMW Classic.
[DIS] Phylactery
I privated the announcement because I thought it was premature and there hadn't been enough discussion. I think that fixing broken stats is so simple that anyone could do it (including myself) and there's no reason to delay the decision when I know people would be willing to contribute and do something.
It would be helpful to first gather some opinions from experienced players. My initial instinct is to cut all the stats to zero for now because: Based on that, it seems it was broken by allowing its use outside of the intended area. To avoid placing location restrictions on the item I think it makes sense to simply replace the attack speed bonus with something like a reasonable health bonus which also makes sense with the item. It's a simple quick fix and means the item can also remain as a prize for the Hungry Fluffies event.
Developer: Source of Mana, TMW Classic
SPI Liaison (Donate to The Mana World)
Forum Admin
TMW Team member
Re: [DIS] Phylactery
Well, there could be an item which allows bows to not use ammo, but this probably would just break the balance even further, so I don't think it'll have any support... But it's probably an option too
https://messworld.tmw2.org/items/5130
(PS. My assessment is a statement, the Phylactery was never meant to be used outside the crypt. It's not a suggestion nor a statement we should bring back location restrictions — which only work in Evolved by the way)
Jesusalva (aka. Jesusaves)
Donate to the project! ─ (Note: If you want to support me instead, Buy me a coffee!)
Former system administrator, project lead and developer.
Do not contact me regarding The Mana World inquiries.
Re: [DIS] Phylactery
Developer: Source of Mana, TMW Classic
SPI Liaison (Donate to The Mana World)
Forum Admin
TMW Team member
Re: [DIS] Phylactery
Phylactery main worry is what Moubootaur Legends mitigated but no other server did — after a certain point, extra aspd bonuses simply don't work but weapons have different aspd growths, so in ML when aspd falls below 300ms it switches to an alternative formula. This allowed ML to work even with more agi and aspd bonus and faster weapons, without breaking the slow ones.
As a positive side effect, using a haste potion on a slow weapon is more effective than in a fast weapon, which is important as ML has three different kinds of haste bonuses.
(The ideal fix would be replacing aspd with an exponential formula where you need infinite aspd to reach the minimum of 190)
Jesusalva (aka. Jesusaves)
Donate to the project! ─ (Note: If you want to support me instead, Buy me a coffee!)
Former system administrator, project lead and developer.
Do not contact me regarding The Mana World inquiries.
Re: [DIS] Phylactery
Developer: Source of Mana, TMW Classic
SPI Liaison (Donate to The Mana World)
Forum Admin
TMW Team member
Re: [DIS] Phylactery
I do have the tendency to mix up crypt items. Phylactery issue is that with max agi and a high speed weapon e.g. Setzer, it goes straight in a "red zone" which originally is not meant to be reachable, while for low speed weapons like bows it will be comfortable.
So if we just tweak back the attack speed bonus, it'll break the Setzer speed (and I know most players like their weapons at the fastest speed possible ─ 190ms ─ but it is not good balance-wise, and was one with the issues for Banshee which was fixed as well).
TL;DR It is a small hack on tmwa source code which when your attack speed bonuses would drop your attack below 300ms, it nerfs the effect of your bonuses. So the gap between 300ms ("red zone") and 190ms ("absolute minimum") is of 220 aspd points instead of 110.
Which means powerful ASPD items like the Phylactery would be very effective on e.g. bows, but when used on already fast builds e.g. Setzer, it would hit this "red zone" and have the effectiveness reduced.
Or more technically...
Instead of continuing the charade of buff-nerf-buff-nerf-buff-nerf which went on for a while, I would rather hear other opinions or see if after HoraK finish the more relevant issue we have, he is up to going to git.themanaworld.org/legacy/tmwa/src/map/pc.cpp:1403-1406 (or the equivalent in battle.cpp:730,758,790) and porting git.themanaworld.org/ml/hercules/src/map/status.c:6133-6135 ─ or improving the hack fix.
Which is my proposed solution and even I could do it
Code: Select all
sd->aspd = std::max(sd->aspd, battle_config.max_aspd);
A simple
Code: Select all
if (sd->aspd < 300)
sd->aspd += (sd->aspd / 2);
sd->aspd = std::max(sd->aspd, battle_config.max_aspd);
Code: Select all
if (sd->aspd < (battle_config.max_aspd * 1.6))
sd->aspd += (sd->aspd / 2);
sd->aspd = std::max(sd->aspd, battle_config.max_aspd);
So even if the Phylactery gains more ASPD bonus, under the same rules which Moubootaur Legends use (described above), it will end up having a flattening effect, so a Beheader + Phylactery will be more effective than a Setzer + Phylactery, and players aiming for the maximum speed won't be able to hit it as easily as before (so Setzer + max agi + max level + dark conc potion will no longer
hit the cap ─ you'll also need another attack speed or agility boosting item to do the trick, while being barely noticeable in gameplay, yet easily reflected on the game stats windows)
And yes, I know the proto code has a bug ─ refer to the linked code in C to see what exactly I meant.
Jesusalva (aka. Jesusaves)
Donate to the project! ─ (Note: If you want to support me instead, Buy me a coffee!)
Former system administrator, project lead and developer.
Do not contact me regarding The Mana World inquiries.
Re: [DIS] Phylactery
The green line is the behavior TMWA currently have: It linearly goes all the way down to 190ms, when it hits the absolute minimum.
The red line is the formula Moubootaur Legends currently use: Once you hit 300ms, computation switches to a secondary formula which forces you have even more ASPD bonus to reach the minimum.
The proposal is either the red line formula, or a linear line to reach the same cutting point.
Jesusalva (aka. Jesusaves)
Donate to the project! ─ (Note: If you want to support me instead, Buy me a coffee!)
Former system administrator, project lead and developer.
Do not contact me regarding The Mana World inquiries.
Re: [DIS] Phylactery
Developer: Source of Mana, TMW Classic
SPI Liaison (Donate to The Mana World)
Forum Admin
TMW Team member
Re: [DIS] Phylactery
(No issue with just swapping the bonus, just would prefer if at least every dev voiced their opinion first; as it changes a bit what the item does)
Jesusalva (aka. Jesusaves)
Donate to the project! ─ (Note: If you want to support me instead, Buy me a coffee!)
Former system administrator, project lead and developer.
Do not contact me regarding The Mana World inquiries.
Re: [DIS] Phylactery
Re: [DIS] Phylactery
1. It does not affect magic. Magic never reads sd->aspd because in fact, TMWA does not support neither getunitdata(), nor readbattleparam() ─ the later isn't supported by Hercules either FTR. It is calculated along haste potions, after all.Hello=) wrote: ↑17 Oct 2022, 18:57 On side note I wonder how this item interacts with magic (on TMWA). I got impression it can be quite useless in this regard, doubly so if it only works in crypt. Have I got it right? Are these computations applied to magic? And what slot it uses? Furthermore, is it bow that is most worrysome part now? I got impression most "aggressive" players gone assasin/rager melee setup at this point, clearly hinting most advantageous setup, at least on TMWA. That's where idea about melee gets its point. But once again what counts as melee? E.g. does #chiza or #upmarmu still counts as melee?
2. The bow is exactly what I refer about: Bows are slow by definition, so adding ASPD bonuses to them will make them quick, maybe as quick as swords, but not broken quick like the old Banshee.
However, swords are fast by definition, so high ASPD bonuses will just run in the minimum limit making them as quick as the old banshee and... You know what happens.
3. I don't think chiza and upmarmu are affected by this item and potions either, but I might be wrong, overrideattack() can be a bit confusing at times.
Jesusalva (aka. Jesusaves)
Donate to the project! ─ (Note: If you want to support me instead, Buy me a coffee!)
Former system administrator, project lead and developer.
Do not contact me regarding The Mana World inquiries.
Re: [DIS] Phylactery
Re: [DIS] Phylactery
Developer: Source of Mana, TMW Classic
SPI Liaison (Donate to The Mana World)
Forum Admin
TMW Team member
Re: [DIS] Phylactery
See also: Attack Speed (Evol2/Renewal)
PS. The "300" is a magic number because I'm handling ASPD after the graph from above link (so when the value was already converted to ms). In the link it probably would be somewhere between 152 and 172.
The ultimate issue is exactly that normally, a full aspd-focused gear is not supposed to go past the 152 mark, but we want to keep adding attack speed bonuses on items e.g. Phylactery, which can do that quite easily for items which already have high aspd like the setzer.
While we could swap the attack speed bonus for an HP one as WildX suggested, the underlying problem that we do not honor this 152 soft limit is still there, and imo, we should just add some extra calculation code which make the interval between 152 and 190 to be larger ─ so we can keep adding attack speed bonuses on items, without running in the risk of breaking the (somewhat broken) game balance.
PPS. It can be any value between 152 and 172 actually, I'm using 152 as a reference.
Jesusalva (aka. Jesusaves)
Donate to the project! ─ (Note: If you want to support me instead, Buy me a coffee!)
Former system administrator, project lead and developer.
Do not contact me regarding The Mana World inquiries.
Re: [DIS] Phylactery
2. As for melee I got impression it already what I'd call OP on TMWA, in at least some setups, its a bit annoying when "aggressive" players (those obsessed on XP rate/DPS) use only 1-2 particular setups. Though these setups are known to be quite fragile so maybe some def malus to "discourage" that further could be an option? E.g. if someone really wants to play berserk, maybe its fine at expense of they die easily? But I'm still concerned it could make OP melee even worse. And then when it comes to balancing I'd say mages have lowest DPS at levels >90. So maybe it makes sense to make some items useful for magic once we're on it? This item isn't any worse than others I guess. Just some random ideas tho.
3. Um ye, this attack replacement is a bit tricky to understand, that's why I asked. On side note I also wonder if DEX haves any effect vs offensive spells (e.g. atk delay). Actually its interesting on both ranged and "melee" spells like mentioned ones.