Fix #100 effect message
This commit is contained in:
@@ -811,9 +811,11 @@ export class PegasusActor extends Actor {
|
||||
ChatMessage.create({ content: "Effects of this type cannot be applied while Immunity is applied" })
|
||||
return
|
||||
}
|
||||
if ( item.system.droptext && item.system.droptext.length > 0) {
|
||||
ChatMessage.create( { content: `Effect ${item.name} message : ${item.system.droptext}`})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (item.type == 'race') {
|
||||
this.applyRace(item)
|
||||
} else if (item.type == 'role') {
|
||||
@@ -2304,6 +2306,9 @@ export class PegasusActor extends Actor {
|
||||
return
|
||||
}
|
||||
|
||||
if ( item.type == "effect" && item.system.droptext && item.system.droptext.length > 0) {
|
||||
ChatMessage.create( { content: `Effect ${item.name} message : ${item.system.droptext}`})
|
||||
}
|
||||
//console.log(">>>>> item", item.type, __isVehicleUnique[item.type])
|
||||
if (__isVehicleUnique[item.type]) {
|
||||
let toDelList = []
|
||||
|
Reference in New Issue
Block a user