forked from MagicBane/Server
PVE flag
This commit is contained in:
@@ -239,6 +239,7 @@ public class ActionsBase {
|
||||
|
||||
//Add blocked types here
|
||||
public boolean blocked(AbstractWorldObject awo, PowersBase pb, int trains, AbstractCharacter source) {
|
||||
|
||||
if (AbstractWorldObject.IsAbstractCharacter(awo)) {
|
||||
AbstractCharacter target = (AbstractCharacter) awo;
|
||||
if(source.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)){
|
||||
@@ -250,6 +251,7 @@ public class ActionsBase {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(pb.isChant)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user