|
||
|
|||||||
| FAQ Forum A place to find answers to the most frequently asked questions, and a place to post said answers. Do NOT use this forum to ask questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) | ||
|
Lurker
Join Date: Nov 2009
Age: 18
Posts: 18
|
Server default resistance for a player character is 70, here's how to change it.
Open your Playermobile.cs path = ....\Scripts\Mobiles\Playermobiles.cs CTRL+F and search the following word : Elf This should take you around these lines Quote:
To change resistance cap, for regular players (assuming they are human) change the part where it says Race.Elf to Race.Human and where it says max+= 5; put whatever you want to add to the current 70 cap. Here's an exemple i made for my server Quote:
I searched and have'nt found anyone that explain how to change max resistance cap without complication and going into the core n stuff, so here it is. Tadah, no need to modify the core !Edit : Also if you want to reduce the resistance cap i suppose you could use the value 10 and write max-= insteand. You might aslo want to edit the curse spell if you still want to drop all resists to 60, since the script add +10 to max, and curse spell put the max at 60 it does 60 +10, in my case i modifyed the curse spell max resist at 50 so my 50+10 gives me the default value for the curse spell reduction. Please post if it helped you !Last edited by Loyd123; 11-23-2009 at 12:00 AM. |
||
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|