View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002208SphereServernew feature requestpublic19-09-13 21:5103-12-13 20:05
ReporterCoruja 
Assigned ToXuN 
PrioritynormalSeverityminorReproducibilityN/A
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002208: Support for the new OSI item durability style
Descriptionon sphere, the durability property uses the old style (legacy) where the item is destroyed when MORE1L (current durability) reach 0, no matter the MORE1H (max durability) value

OSI doesnt use this style anymore, the new method allow MORE1L reach 0, then keep it 0 and start decreasing MORE1H. And I cant remember if sphere have an internal repair engine, but using the new repair style the MORE1L got maxed to MORE1H and then MORE1H got decreased. Something like this:

[FUNCTION RepairItem]
MORE1H -= 5
MORE1L = <MORE1H>

So the idea is make sphere support this new style. It could replace the old style, or if someone prefer it would be great switch between these 2 styles using a .ini setting
Additional Informationhttp://www.uoguide.com/Durability [^]
TagsNo tags attached.
Nightly VersionNot Available
Experimental FlagsNone
Option FlagsNone
Internal Build Number
Attached Files

- Relationships

-  Notes
(0001802)
XuN (developer)
03-12-13 20:04

Sphere already support this new Durability Style

ON=@Damage
if (<more1l>>0)//If Hits greater than 0
 more1l -- //We take 1 Hitpoint
else //If Hits !greater than 0
 more1h -- //we take 1 Maxhits
 if (<more1h><=0) // if Maxhits Equal or less than 0
  destroy //we destroy the item
 endif
endif


Just add this to any generic typedef for items and you got it working

- Issue History
Date Modified Username Field Change
19-09-13 21:51 Coruja New Issue
03-12-13 20:04 XuN Note Added: 0001802
03-12-13 20:05 XuN Status new => resolved
03-12-13 20:05 XuN Resolution open => fixed
03-12-13 20:05 XuN Assigned To => XuN


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker