i was thinking about this, but its kinda same stupid as checking for just one.Can you make the check insist on both aggrorange AND aggroamount be == -1?
update mob set aggrorange = -1 where aggrorange = 0;/// <summary>
/// Aggressive Level in % 0..100, 0 means not Aggressive
/// </summary>
int AggroLevel { get; set; }

This is doable, just make the server property readonly (I think) ... the way almost all of them used to be before I changed them so I could update settings on the fly.If it ought to be user-configurable at all, I think a server property is the way to go (even if it shouldn't be changed while the server's running).
If it need not be user-configurable, then why not just define it as a constant in GlobalConstants.cs? What's the need for the new class Constants?
this is NOT the default aggrorange it is the value used to trigger autoconfigure. nothing that needs to be customizedServerProperties are similar to an xml or an ini file. The DoL choice is to gather configurables items in SP, and typically, the default aggro range worths to be in
show me howIf it ought to be user-configurable at all, I think a server property is the way to go (even if it shouldn't be changed while the server's running).
If it need not be user-configurable, then why not just define it as a constant in GlobalConstants.cs? What's the need for the new class Constants?
effectively.this is NOT the default aggrorange it is the value used to trigger autoconfigure. nothing that needs to be customizedServerProperties are similar to an xml or an ini file. The DoL choice is to gather configurables items in SP, and typically, the default aggro range worths to be in

Return to “%s” DOL SVN Commits
Users browsing this forum: No registered users and 0 guests