Xen

Member
Friends,
I need a advice: i'm going to rewrite the Combat System for my shard.
I want to use ServUO (ForkUO) but i don't want to "rape" BaseWeapon.cs, any suggestion?
 
Create a BaseCustomWeapon.cs and just set all your default stuff there, You'll have to then create all your sub-bases, like CustomMelee, CustomRanged, CustomAxe etc. and correct all of the derivations in your weapons.
 
Yea...thats probably a better initial approach >.>
 

Attachments

  • ai22.photobucket.com_albums_b347_Praxiiz_captcha1.png
    ai22.photobucket.com_albums_b347_Praxiiz_captcha1.png
    14.4 KB · Views: 18
  • ai22.photobucket.com_albums_b347_Praxiiz_captcha2.png
    ai22.photobucket.com_albums_b347_Praxiiz_captcha2.png
    14.5 KB · Views: 12
  • ai22.photobucket.com_albums_b347_Praxiiz_captcha3.png
    ai22.photobucket.com_albums_b347_Praxiiz_captcha3.png
    14.3 KB · Views: 10
  • ai22.photobucket.com_albums_b347_Praxiiz_captcha_font_editor2.png
    ai22.photobucket.com_albums_b347_Praxiiz_captcha_font_editor2.png
    82.3 KB · Views: 14
  • ai22.photobucket.com_albums_b347_Praxiiz_captcha_font_editor1.png
    ai22.photobucket.com_albums_b347_Praxiiz_captcha_font_editor1.png
    82.7 KB · Views: 10
the first person who putted the combat system in baseweapon should be killed in a public square.

Could we change this?

However i've done as suggested by Insanity, all seems to "work".
 
sorry i meant m309

However... i'm just trying to change

ComputeDamage
Delay
OnHit
OnSwing
AbsorbDamage
CheckHit

All those methods that are about "fight" system so i'll be able to calculate damage, time dalay and damage in a different way than OSI .

Is it so strange? °°

about publich square i meant that the first person that putted those methods in "BaseWeapon" should be punished in a square.
 

Donations

Total amount
$50.00
Goal
$500.00

Shards

Back