Ok so I got the transformation potion from christmas events to work now I have a small problem, I don't know how to correctly transform a player into a morph (My handler is working all fine).
This will transform them into the random morph but it will not put up that small icon at the top right that lets them easily cancel it by right clicking it. Does anyon know how to do that?PHP Code:List<Pair<MapleBuffStat, Integer>> list = new ArrayList<>();
int morph = randomMorph();
list.add(new Pair<>(MapleBuffStat.MORPH, morph));
victim.setBuffedValue(MapleBuffStat.MORPH, morph);
victim.announce(MaplePacketCreator.giveBuff(0, 0, list));
victim.getMap().broadcastMessage(victim, MaplePacketCreator.giveForeignBuff(victim.getId(), list));


Reply With Quote


