Package morph.common.ability

Examples of morph.common.ability.AbilityPotionEffect


            {
                for(Ability ab : info.morphAbilities)
                {
                    if(ab instanceof AbilityPotionEffect)
                    {
                        AbilityPotionEffect abPot = (AbilityPotionEffect)ab;
                        event.entityLiving.addPotionEffect(new PotionEffect(abPot.potionId, abPot.duration, abPot.amplifier, abPot.ambient));
                    }
                }
            }
        }
View Full Code Here

TOP

Related Classes of morph.common.ability.AbilityPotionEffect

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.