Commit 020307d6 authored by bozimmerman's avatar bozimmerman

decreased song depth

git-svn-id: svn://192.168.1.10/public/CoffeeMud@15445 0d6f1817-ed0e-0410-87c9-987e46238f29
parent c62ee237
......@@ -376,7 +376,7 @@ public class Shipwright extends CraftingSkill implements ItemCraftor, MendingSki
CMLib.lister().fixColWidth(8,mob.session())
};
final StringBuffer buf=new StringBuffer(L("@x1 @x2 @x3 Wood required\n\r",CMStrings.padRight(L("Item"),cols[0]),CMStrings.padRight(L("Level"),cols[1]),CMStrings.padRight(L("Capacity"),cols[2])));
recipes.sort(new Comparator<List<String>>(){
Collections.sort(recipes,new Comparator<List<String>>(){
@Override
public int compare(List<String> o1, List<String> o2)
{
......
......@@ -248,7 +248,7 @@ public class Dance extends StdAbility
return new XVector<Room>(backupMob.location());
return new Vector<Room>();
}
final int depth=super.getXMAXRANGELevel(invoker());
final int depth=super.getXMAXRANGELevel(invoker()) / 2; // decreased because fireball
if(depth==0)
return new XVector(invoker().location());
final Vector<Room> rooms=new Vector<Room>();
......
......@@ -398,7 +398,7 @@ public class Play extends StdAbility
return new XVector<Room>(backupMob.location());
return new Vector<Room>();
}
final int depth=super.getXMAXRANGELevel(invoker());
final int depth=super.getXMAXRANGELevel(invoker()) / 2; // decreased because fireball
if(depth==0)
return new XVector<Room>(invoker().location());
final Vector<Room> rooms=new Vector<Room>();
......
......@@ -363,7 +363,7 @@ public class Song extends StdAbility
return new XVector<Room>(backupMob.location());
return new Vector<Room>();
}
final int depth=getXMAXRANGELevel(invoker());
final int depth=getXMAXRANGELevel(invoker()) / 2; // decreased because fireball
if(depth==0)
return new XVector<Room>(invoker().location());
final Vector<Room> rooms=new Vector<Room>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment