1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[ServUO] BaseCreature Virtual Damage Method

Discussion in 'Script Support' started by Lucian, Jan 8, 2019.

  1. Lucian
    Offline

    Lucian Member

    Joined:
    Jul 2, 2016
    Messages:
    60
    Likes Received:
    0
    In Runuo there was a method (which Xanthos Evo System used) called Damage(int amonut , mobile defender) like that:
    Code (C#):
    1. public virtual void Damage( int amount, Mobile defender )
    2.         {
    3.             content
    4.         }
    But I couldn't find it in ServUO there is only 4 damage functions which is returning damage amount as integers.
    Which function should I use for calling it when the creature hits in game?
     
Similar Threads: [ServUO] BaseCreature
Forum Title Date
Archived Bug Reports Basecreature setskill bug May 20, 2018
Script Support Can you cast Targeted into Basecreature? May 12, 2018
Archived Bug Reports BaseCreature AI Issue Apr 4, 2018
Archived Bug Reports SA artifact drop issues - Unused method in BaseCreature Jan 14, 2018
Script Support Using PlayerMobile instead of BaseCreature for NPC Oct 31, 2017
ServUO Discussion BaseCreature DoHarmful commented out Sep 2, 2017
Script Support Adding in a race check for loot in BaseCreature Aug 31, 2017