Bonaccorso

Member
Is it possible to create a mobile's cs file where it's equipped not with just some, say, longsword or plate chest, but by magical armor or weapon? I tried to find examples of code but I didn't yet.
 
Sure. Just pick the item you want them to be equipped with and put it into the script. For example, instead of adding a simple sword to a mobile:

Code:
AddItem(new Katana());

you replace it with the name of the sword you want them to have.

Code:
AddItem(new BladeOfInsanity());

If you want magical items with varying strengths, script one with ranges for each property you want to be different and call that in the script instead.

Code:
AddItem(new NewNiftyWeaponHere());
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back