darksiam

Member
hello all friends I have a request for some time on the web runuo.com but nobody could help me ... now I'll ask the same question here in this forum ... I understand and I hope you can help me ... I use 2.2 RunUO and has 2 races, humans and elves ... my question is: is there any way to make those 2 races are enemy default ...

--------------------------------------------------------------------------------------------------------------------------------------------

hola a todos amigos tengo una peticion desde hace tiempo en la web runuo.com pero nadie pudo ayudarme... ahora voy hacer la misma pregunta aqui en este foro... espero me entiendan y me puedan ayudar... yo uso runuo 2.2 y tiene 2 razas, humanos y elfos... mi pregunta es la siguiente: hay alguna manera de hacer que esas 2 razas sean enemigas por defecto...
 
That would probably require doing an OppositionGroup for them in either Race.cs (core file) or RaceDefinitions.cs, or both. Something similiar to what you'd find in Unicorn.cs
Code:
        public override OppositionGroup OppositionGroup
        {
            get{ return OppositionGroup.FeyAndUndead; }
        }
Would probably also need to be in PlayerMobile.cs.
 
there might also be a way to make it so human and elvish players can attack eachother, regardless of being blue or not, and without being flagged a criminal
 
how about check misc/Notoriety.cs ?
if you add some codes, you can make a war between elf and human players.
[doublepost=1476800276][/doublepost]add some codes which check race definitions.
 

Active Shards

Donations

Total amount
$50.00
Goal
$1,000.00
Back