Anonymous | Login | Signup for a new account | 24-04-24 17:46 CEST |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
ID | Project | Category | View Status | Date Submitted | Last Update | |
0002208 | SphereServer | new feature request | public | 19-09-13 21:51 | 03-12-13 20:05 | |
Reporter | Coruja | |||||
Assigned To | XuN | |||||
Priority | normal | Severity | minor | Reproducibility | N/A | |
Status | resolved | Resolution | fixed | |||
Platform | OS | OS Version | ||||
Product Version | ||||||
Target Version | Fixed in Version | |||||
Summary | 0002208: Support for the new OSI item durability style | |||||
Description | on 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 Information | http://www.uoguide.com/Durability [^] | |||||
Tags | No tags attached. | |||||
Nightly Version | Not Available | |||||
Experimental Flags | None | |||||
Option Flags | None | |||||
Internal Build Number | ||||||
Attached Files | ||||||
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 |