erkro1 Posted January 26, 2011 Author Share Posted January 26, 2011 Hey,I've found a bug.When you attack an NPC, the NPC will kill you imidately, even is he isn't strong.Someone fix? Link to comment Share on other sites More sharing options...
Robin Posted January 26, 2011 Share Posted January 26, 2011 Do you have any health? Link to comment Share on other sites More sharing options...
erkro1 Posted January 26, 2011 Author Share Posted January 26, 2011 Yes, health = 15, damage = 1, level = 2 and exp = 25PS : I've attached the NPC file :embarrassed: Link to comment Share on other sites More sharing options...
Skillzalot Posted January 26, 2011 Share Posted January 26, 2011 Hes talking about your char not the npc cause it works fine for me Link to comment Share on other sites More sharing options...
xsdsdds Posted January 26, 2011 Share Posted January 26, 2011 I have the same problem, the two starter classes work fine - but the the other two I made get killed in one hit.Classes:>! [INIT]MaxClasses=4>! [CLASS1]Name=KnightMaleSprite=1FemaleSprite=1Strength=4Endurance=3Intelligence=1Agility=2Willpower=2>! StartItemCount=3StartItem1=1StartValue1=20StartItem2=2StartValue2=1StartItem3=7StartValue3=1>! StartSpellCount=1StartSpell1=1>! [CLASS2]Name=WizardMaleSprite=2FemaleSprite=4Strength=2Endurance=3Intelligence=6Agility=3Willpower=2>! StartItemCount=4StartItem1=1StartValue1=20StartItem2=2StartValue2=1StartItem3=5StartValue3=1StartItem4=7StartValue4=1>! StartSpellCount=1StartSpell1=1>! [CLASS3]Name=thiefMaleSprite=3FemaleSprite=3Strength=2Endurance=3Intelligence=1Agility=5Willpower=2>! StartItemCount=3StartItem1=1StartValue1=20StartItem2=2StartValue2=1StartItem3=7StartValue3=1>! StartSpellCount=1StartSpell1=1>! [CLASS4]Name=WarlockMaleSprite=5FemaleSprite=5Strength=2Endurance=2Intelligence=5Agility=3Willpower=3>! StartItemCount=4StartItem1=1StartValue1=20StartItem2=2StartValue2=1StartItem3=5StartValue3=1StartItem4=7StartValue4=1>! StartSpellCount=1StartSpell1=2 Link to comment Share on other sites More sharing options...
Robin Posted January 26, 2011 Share Posted January 26, 2011 That's because you haven't programmed the new classes in to the vital calculations. Link to comment Share on other sites More sharing options...
erkro1 Posted January 27, 2011 Author Share Posted January 27, 2011 @Robin:> That's because you haven't programmed the new classes in to the vital calculations.Ah, that's the problem, thanks :DEDIT : were you need to add it :embarrassed: Link to comment Share on other sites More sharing options...
Guest Posted January 27, 2011 Share Posted January 27, 2011 @erkro1:> Ah, that's the problem, thanks :D> > EDIT : were you need to add it :embarrassed:Function GetPlayerMaxVital(ByVal Index As Long, ByVal Vital As Vitals) As Long(Server Side). Link to comment Share on other sites More sharing options...
xsdsdds Posted January 27, 2011 Share Posted January 27, 2011 What file do i edit? Link to comment Share on other sites More sharing options...
erkro1 Posted January 27, 2011 Author Share Posted January 27, 2011 Problem Solved, thanks :D Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now