Sphereserver / Source-X

Ultima Online server emulator
Apache License 2.0
57 stars 45 forks source link

can_i_damageable and ItemHitpointsUpdate, do not update status #1248

Closed GladieUO closed 1 month ago

GladieUO commented 4 months ago

Hi,

so i find out that if u have item with can_i_damageable, and you set as GM .xhits 10, it will update the status instantly.

But if you do it via script like hits -=10 it will take hits, but not update the status bar. If you try use damage , it will trigger the @damage trig, but not give any dmg. Is it fixable or client issue?

image

edit: if you change dispid or for example target that item with something, it will update the status, but update doesnt work edit2: chaging something on the item works too, for example immediately add +1 to more2

Jhobean commented 2 months ago

What if you do Update on damage trigger?

GladieUO commented 2 months ago

What if you do Update on damage trigger?

Seems like its not possible to pass damage to the item with this flag to fire @damage trigger on it. If I tried to bypass it and then fire update in there it didnt help.

By using damage XY,dmg type,source to trigger @damage it doesnt do damage

Its all weird 😁

Btw. to understand better, im trying to hit the crystal and damage it by a special weapon.